mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-11 13:20:06 +00:00
move limits.h dependency into modules/linux
This commit is contained in:
parent
e03f375bfd
commit
f712d7aefe
@ -34,6 +34,16 @@ linux_configure := \
|
||||
|
||||
linux_output += arch/x86/boot/bzImage
|
||||
|
||||
# Once we have extracted the kernel tar file, install the headers
|
||||
# so that other submodules can make use of them.
|
||||
$(INSTALL)/include/linux/limits.h: $(build)/$(linux_base_dir)/.canary
|
||||
$(MAKE) \
|
||||
-C "$(build)/$(linux_base_dir)" \
|
||||
INSTALL_HDR_PATH="$(INSTALL)" \
|
||||
O="$(linux_dir)" \
|
||||
KCONFIG_CONFIG="$(pwd)/$(linux_kconfig)" \
|
||||
headers_install
|
||||
|
||||
|
||||
# qemu
|
||||
linux_modules-$(CONFIG_LINUX_E1000) += drivers/net/ethernet/intel/e1000/e1000.ko
|
||||
|
@ -39,12 +39,3 @@ musl_depends := musl-cross
|
||||
# Fake a target so that musl will force a header install by the
|
||||
# Linux kernel sources.
|
||||
$(build)/$(musl_dir)/.build: $(INSTALL)/include/linux/limits.h
|
||||
|
||||
$(INSTALL)/include/linux/limits.h: $(build)/$(linux_base_dir)/.canary
|
||||
$(MAKE) \
|
||||
-C "$(build)/$(linux_base_dir)" \
|
||||
INSTALL_HDR_PATH="$(INSTALL)" \
|
||||
O="$(linux_dir)" \
|
||||
KCONFIG_CONFIG="$(pwd)/$(linux_kconfig)" \
|
||||
headers_install
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user