Commit 60aa08c9 authored by Roman Stratiienko's avatar Roman Stratiienko Committed by Jan Kiszka

kernel: cobalt: forward SRCARCH from the scripts/prepare-kernel.sh

$SRCARCH removed since v4.18-rc1, upstream commit 104daea149c4
("kconfig: reference environment variables directly and remove 'option env='")

This will fix build with v4.18
Signed-off-by: default avatarRoman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 01c5f22c
......@@ -16,7 +16,7 @@ menuconfig XENOMAI
Please visit http://xenomai.org for more information.
if XENOMAI
source "arch/$SRCARCH/xenomai/Kconfig"
source "arch/@SRCARCH@/xenomai/Kconfig"
endif
if MIGRATION
......
......@@ -376,6 +376,7 @@ case $linux_VERSION.$linux_PATCHLEVEL in
-e "s,@VERSION_MINOR@,$version_minor,g" \
-e "s,@REVISION_LEVEL@,$revision_level,g" \
-e "s,@VERSION_STRING@,$version_string,g" \
-e "s,@SRCARCH@,$linux_arch,g" \
$xenomai_root/scripts/Kconfig.frag |
patch_append init/Kconfig
fi
......
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