From 114e7b2990cd2b64956ddb271638646ef5108d54 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 5 May 2010 11:19:50 +0000 Subject: 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 Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5523 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 05b41d123f..708e3c3ea4 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" -- cgit v1.2.3