mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +00:00
add inteltool build instructions (not included by default)
This commit is contained in:
parent
79d121d072
commit
e88700d0d9
9
Makefile
9
Makefile
@ -86,6 +86,7 @@ musl_dep := musl
|
|||||||
heads_cc := $(INSTALL)/bin/musl-gcc \
|
heads_cc := $(INSTALL)/bin/musl-gcc \
|
||||||
-fdebug-prefix-map=$(pwd)=heads \
|
-fdebug-prefix-map=$(pwd)=heads \
|
||||||
-gno-record-gcc-switches \
|
-gno-record-gcc-switches \
|
||||||
|
-D__MUSL__ \
|
||||||
|
|
||||||
CROSS := $(build)/../crossgcc/x86_64-linux-musl/bin/x86_64-musl-linux-
|
CROSS := $(build)/../crossgcc/x86_64-linux-musl/bin/x86_64-musl-linux-
|
||||||
CROSS_TOOLS_NOCC := \
|
CROSS_TOOLS_NOCC := \
|
||||||
@ -333,6 +334,7 @@ bin_modules-$(CONFIG_GPG) += gpg
|
|||||||
bin_modules-$(CONFIG_LVM2) += lvm2
|
bin_modules-$(CONFIG_LVM2) += lvm2
|
||||||
bin_modules-$(CONFIG_XEN) += xen
|
bin_modules-$(CONFIG_XEN) += xen
|
||||||
bin_modules-$(CONFIG_DROPBEAR) += dropbear
|
bin_modules-$(CONFIG_DROPBEAR) += dropbear
|
||||||
|
bin_modules-$(CONFIG_FLASHTOOLS) += flashtools
|
||||||
|
|
||||||
$(foreach m, $(bin_modules-y), \
|
$(foreach m, $(bin_modules-y), \
|
||||||
$(call map,initrd_bin_add,$(call bins,$m)) \
|
$(call map,initrd_bin_add,$(call bins,$m)) \
|
||||||
@ -365,6 +367,7 @@ $(initrd_bin_dir)/busybox: $(build)/$(busybox_dir)/busybox
|
|||||||
#
|
#
|
||||||
ifeq ($(CONFIG_COREBOOT),y)
|
ifeq ($(CONFIG_COREBOOT),y)
|
||||||
$(eval $(call initrd_bin_add,$(build)/$(coreboot_dir)/util/cbmem/cbmem))
|
$(eval $(call initrd_bin_add,$(build)/$(coreboot_dir)/util/cbmem/cbmem))
|
||||||
|
#$(eval $(call initrd_bin_add,$(build)/$(coreboot_dir)/util/inteltool/inteltool))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(build)/$(coreboot_dir)/util/cbmem/cbmem: \
|
$(build)/$(coreboot_dir)/util/cbmem/cbmem: \
|
||||||
@ -373,6 +376,12 @@ $(build)/$(coreboot_dir)/util/cbmem/cbmem: \
|
|||||||
$(call do,MAKE,cbmem,\
|
$(call do,MAKE,cbmem,\
|
||||||
$(MAKE) -C "$(dir $@)" CC="$(heads_cc)" \
|
$(MAKE) -C "$(dir $@)" CC="$(heads_cc)" \
|
||||||
)
|
)
|
||||||
|
$(build)/$(coreboot_dir)/util/inteltool/inteltool: \
|
||||||
|
$(build)/$(coreboot_dir)/.canary \
|
||||||
|
musl.intermediate
|
||||||
|
$(call do,MAKE,inteltool,\
|
||||||
|
$(MAKE) -C "$(dir $@)" CC="$(heads_cc)" \
|
||||||
|
)
|
||||||
|
|
||||||
#
|
#
|
||||||
# initrd image creation
|
# initrd image creation
|
||||||
|
Loading…
Reference in New Issue
Block a user