From e88700d0d9c72faf72533b360e3a63d0a6d603be Mon Sep 17 00:00:00 2001 From: Trammell hudson Date: Mon, 26 Feb 2018 11:42:07 -0500 Subject: [PATCH] add inteltool build instructions (not included by default) --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index a371f182..e9671bf7 100644 --- a/Makefile +++ b/Makefile @@ -86,6 +86,7 @@ musl_dep := musl heads_cc := $(INSTALL)/bin/musl-gcc \ -fdebug-prefix-map=$(pwd)=heads \ -gno-record-gcc-switches \ + -D__MUSL__ \ CROSS := $(build)/../crossgcc/x86_64-linux-musl/bin/x86_64-musl-linux- CROSS_TOOLS_NOCC := \ @@ -333,6 +334,7 @@ bin_modules-$(CONFIG_GPG) += gpg bin_modules-$(CONFIG_LVM2) += lvm2 bin_modules-$(CONFIG_XEN) += xen bin_modules-$(CONFIG_DROPBEAR) += dropbear +bin_modules-$(CONFIG_FLASHTOOLS) += flashtools $(foreach m, $(bin_modules-y), \ $(call map,initrd_bin_add,$(call bins,$m)) \ @@ -365,6 +367,7 @@ $(initrd_bin_dir)/busybox: $(build)/$(busybox_dir)/busybox # ifeq ($(CONFIG_COREBOOT),y) $(eval $(call initrd_bin_add,$(build)/$(coreboot_dir)/util/cbmem/cbmem)) +#$(eval $(call initrd_bin_add,$(build)/$(coreboot_dir)/util/inteltool/inteltool)) endif $(build)/$(coreboot_dir)/util/cbmem/cbmem: \ @@ -373,6 +376,12 @@ $(build)/$(coreboot_dir)/util/cbmem/cbmem: \ $(call do,MAKE,cbmem,\ $(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