[coreboot-gerrit] Change in coreboot[master]: MAKE: MOAAAAAR $$$$$$$$
Nico Huber (Code Review)
gerrit at coreboot.org
Wed Nov 14 22:07:54 CET 2018
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/29639
Change subject: MAKE: MOAAAAAR $$$$$$$$
......................................................................
MAKE: MOAAAAAR $$$$$$$$
Change-Id: I19d3016e67f8930345e0da9564abcc5e5f8ab365
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
M Makefile
M Makefile.inc
2 files changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/29639/1
diff --git a/Makefile b/Makefile
index 1d4a488..5b3724c 100644
--- a/Makefile
+++ b/Makefile
@@ -320,7 +320,8 @@
$$(call src-to-obj,$1,$$(1).$2): $$(1).$2 $(KCONFIG_AUTOHEADER) $(4)
@printf " CC $$$$(subst $$$$(obj)/,,$$$$(@))\n"
$(CC_$(1)) \
- -MMD $$$$(CPPFLAGS_$(1)) $$$$(CFLAGS_$(1)) -MT $$$$(@) \
+ -MMD $$$$(CPPFLAGS_$(1)) $$$$(CFLAGS_$(1)) \
+ -MT '$$$$(patsubst $(obj)/%,$$$$$$$$(obj)/%,$$$$(@))' \
$(3) -c -o $$$$@ $$$$<
end$(EMPTY)if
en$(EMPTY)def
diff --git a/Makefile.inc b/Makefile.inc
index aaae7bc..4f894d1 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -373,7 +373,7 @@
COREBOOT_EXPORTS += COREBOOT_EXTRA_VERSION
endif
-CPPFLAGS_common := -Isrc -Isrc/include -Isrc/commonlib/include -I$(obj)
+CPPFLAGS_common := -Isrc -Isrc/include -Isrc/commonlib/include -isystem $(obj)
CPPFLAGS_common += -Isrc/device/oprom/include
VBOOT_SOURCE ?= 3rdparty/vboot
CPPFLAGS_common += -I$(VBOOT_SOURCE)/firmware/include
--
To view, visit https://review.coreboot.org/29639
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I19d3016e67f8930345e0da9564abcc5e5f8ab365
Gerrit-Change-Number: 29639
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181114/6fb03e79/attachment.html>
More information about the coreboot-gerrit
mailing list