Commit 26cc6431 authored by Jan Kiszka's avatar Jan Kiszka Committed by Philippe Gerum
Browse files

build: Remove arch patching from Kconfig.frag



No need to patch this in during kernel preparation time. By using $ARCH,
the same kernel source tree can be used for building multiple
architectures.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent dada9594
......@@ -15,7 +15,7 @@ menuconfig XENOMAI
Please visit http://xenomai.org for more information.
if XENOMAI
source "arch/@LINUX_ARCH@/xenomai/Kconfig"
source "arch/$ARCH/xenomai/Kconfig"
endif
if APM || CPU_FREQ || ACPI_PROCESSOR || INTEL_IDLE
......
......@@ -391,8 +391,7 @@ case $linux_VERSION.$linux_PATCHLEVEL in
revision_level=`expr $version_stamp : '[[0-9]]*\.[[0-9]*]*\.\([[0-9]*]*\)' || true`
version_string=`cat $xenomai_root/config/version-label`
version_name=`cat $xenomai_root/config/version-name`
sed -e "s,@LINUX_ARCH@,$linux_arch,g" \
-e "s,@VERSION_MAJOR@,$version_major,g" \
sed -e "s,@VERSION_MAJOR@,$version_major,g" \
-e "s,@VERSION_MINOR@,$version_minor,g" \
-e "s,@REVISION_LEVEL@,$revision_level,g" \
-e "s,@VERSION_STRING@,$version_string,g" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment