aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-05-05 11:19:50 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-05-05 11:19:50 +0000
commit114e7b2990cd2b64956ddb271638646ef5108d54 (patch)
tree87f4540dce2cb89e337ef6f03f82b8499f034811 /Makefile
parent80da618ab0bff7152b2f3b9ee0fb80bbfd7fa986 (diff)
downloadcoreboot-114e7b2990cd2b64956ddb271638646ef5108d54.tar.gz
coreboot-114e7b2990cd2b64956ddb271638646ef5108d54.tar.xz
coreboot-114e7b2990cd2b64956ddb271638646ef5108d54.zip
Split C code in sconfig's parser into a separate file.
Update generated parser files. Add proper include path for utils. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5523 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 05b41d123..708e3c3ea 100644
--- a/Makefile
+++ b/Makefile
@@ -170,7 +170,7 @@ $(obj)/mainboard/$(MAINBOARDDIR)/static.c: $(src)/mainboard/$(MAINBOARDDIR)/devi
$(objutil)/%.o: $(objutil)/%.c
@printf " HOSTCC $(subst $(objutil)/,,$(@))\n"
- $(HOSTCC) -MMD $(HOSTCFLAGS) -c -o $@ $<
+ $(HOSTCC) -MMD -I$(subst $(objutil)/,util/,$(dir $<)) -I$(dir $<) $(HOSTCFLAGS) -c -o $@ $<
$(obj)/%.o: $(obj)/%.c $(obj)/config.h
@printf " CC $(subst $(obj)/,,$(@))\n"