[coreboot] [commit] r6604 - trunk
repository service
svn at coreboot.org
Sat May 21 00:17:59 CEST 2011
Author: oxygene
Date: Sat May 21 00:17:58 2011
New Revision: 6604
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6604
Log:
Fix building with relative path to object directory outside the source tree
Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
Acked-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
Modified:
trunk/Makefile.inc
Modified: trunk/Makefile.inc
==============================================================================
--- trunk/Makefile.inc Sat May 21 00:16:49 2011 (r6603)
+++ trunk/Makefile.inc Sat May 21 00:17:58 2011 (r6604)
@@ -179,7 +179,7 @@
@printf " HOSTCC $(subst $(objutil)/,,$(@))\n"
$(HOSTCC) -MMD -I$(subst $(objutil)/,util/,$(dir $<)) -I$(dir $<) $(HOSTCFLAGS) -c -o $@ $<
-$(obj)/%.ramstage.o: $(obj)/%.c $(obj)/config.h $(OPTION_TABLE_H)
+$(abspath $(obj))/%.ramstage.o: $(obj)/%.c $(obj)/config.h $(OPTION_TABLE_H)
@printf " CC $(subst $(obj)/,,$(@))\n"
$(CC) -MMD $(CFLAGS) -c -o $@ $<
More information about the coreboot
mailing list