LinuxBoot/targets/linux.mk: refactor kernel compilation
Refactor the linux kernel compilation. Change-Id: Iea2e2c8a22a91bdd2e3f83cd3058426acec3eaba Signed-off-by: Marcello Sylvester Bauer <info@marcellobauer.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/30053 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
committed by
Philipp Deppenwiese
parent
59a407349b
commit
79f92910eb
4
payloads/external/LinuxBoot/Makefile
vendored
4
payloads/external/LinuxBoot/Makefile
vendored
@@ -45,6 +45,10 @@ endif
|
||||
ifeq ($(CONFIG_LINUXBOOT_COMPILE_KERNEL),y)
|
||||
ifeq ($(CONFIG_LINUXBOOT_ARCH),arm64)
|
||||
kernel: initramfs
|
||||
if [[ ! -f "$(top)/$(CONFIG_LINUXBOOT_DTB_FILE)" ]]; then \
|
||||
echo "<< Linux kernel devicetree is missing. >>"; \
|
||||
exit 1; \
|
||||
fi
|
||||
$(MAKE) -f targets/linux.mk
|
||||
else
|
||||
kernel:
|
||||
|
Reference in New Issue
Block a user