summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2021-10-20 15:55:35 +0200
committerNico Huber <nico.h@gmx.de>2021-10-26 12:05:10 +0000
commit5c538b40c29f87886f24ffade7e6f068d4e0cf22 (patch)
treea8d819f6fe197a57790140695c6a3dc26e3e49c2 /Makefile
parent694e2bf21853e9950c3fa726d21726ae13a914be (diff)
downloadflashrom-5c538b40c29f87886f24ffade7e6f068d4e0cf22.tar.gz
flashrom-5c538b40c29f87886f24ffade7e6f068d4e0cf22.tar.bz2
flashrom-5c538b40c29f87886f24ffade7e6f068d4e0cf22.zip
Makefile, ich_descriptors_tool/Makefile: unify behavior
ich_descriptors_tool/Makefile: have the same behavior as the main flashrom Makefile - only set gcc explicit on MinGW HOST_OS - don't fallback to gcc if CC was not set - set CFLAGS and EXEC_SUFFIX for TARGET_OS, not for HOST_OS Change-Id: I353c3de250167994a4aea1edfef57d839e900d78 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58468 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e8bf8fc70..b03ab7c25 100644
--- a/Makefile
+++ b/Makefile
@@ -854,7 +854,7 @@ OBJS = $(CLI_OBJS) $(LIBFLASHROM_OBJS)
all: hwlibs features $(PROGRAM)$(EXEC_SUFFIX) $(PROGRAM).8
ifeq ($(ARCH), x86)
- @+$(MAKE) -C util/ich_descriptors_tool/ TARGET_OS=$(TARGET_OS) EXEC_SUFFIX=$(EXEC_SUFFIX)
+ @+$(MAKE) -C util/ich_descriptors_tool/ HOST_OS=$(HOST_OS) TARGET_OS=$(TARGET_OS)
endif
$(PROGRAM)$(EXEC_SUFFIX): $(OBJS)