LinuxBoot: fix custom defconfig override
The default ARCH defconfig should not override a custom defconfig. Change-Id: I9de24497ef6296029c66a94124bc11a0bb4d0107 Signed-off-by: Marcello Sylvester Bauer <info@marcellobauer.com> Reviewed-on: https://review.coreboot.org/29424 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
parent
d385624ee6
commit
159656b661
|
@ -52,8 +52,7 @@ config: $(kernel_dir)/.config
|
||||||
echo " CONFIG Linux $(CONFIG_LINUXBOOT_KERNEL_VERSION)"
|
echo " CONFIG Linux $(CONFIG_LINUXBOOT_KERNEL_VERSION)"
|
||||||
ifneq ($(CONFIG_LINUXBOOT_KERNEL_CONFIGFILE),)
|
ifneq ($(CONFIG_LINUXBOOT_KERNEL_CONFIGFILE),)
|
||||||
cp $(CONFIG_LINUXBOOT_KERNEL_CONFIGFILE) $(kernel_dir)/.config
|
cp $(CONFIG_LINUXBOOT_KERNEL_CONFIGFILE) $(kernel_dir)/.config
|
||||||
endif
|
else ifeq ($(CONFIG_LINUXBOOT_ARCH),386)
|
||||||
ifeq ($(CONFIG_LINUXBOOT_ARCH),386)
|
|
||||||
cp x86/defconfig $(kernel_dir)/.config
|
cp x86/defconfig $(kernel_dir)/.config
|
||||||
else ifeq ($(CONFIG_LINUXBOOT_ARCH),amd64)
|
else ifeq ($(CONFIG_LINUXBOOT_ARCH),amd64)
|
||||||
cp x86_64/defconfig $(kernel_dir)/.config
|
cp x86_64/defconfig $(kernel_dir)/.config
|
||||||
|
|
Loading…
Reference in New Issue