[coreboot] [commit] r6603 - trunk
repository service
svn at coreboot.org
Sat May 21 00:16:49 CEST 2011
Author: oxygene
Date: Sat May 21 00:16:49 2011
New Revision: 6603
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6603
Log:
iasl still can't cope with extra "." in file paths
It's really a work around, but given how this issue seems to come
back again and again, let's work around it.
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:14:07 2011 (r6602)
+++ trunk/Makefile.inc Sat May 21 00:16:49 2011 (r6603)
@@ -64,7 +64,7 @@
$(obj)/$(1).ramstage.o: src/$(1).asl $(obj)/config.h
@printf " IASL $$(subst $(top)/,,$$(@))\n"
$(CC) -x assembler-with-cpp -E -MMD -MT $$(@) -D__ACPI__ -P -include $(abspath $(obj)/config.h) -I$(src) -I$(src)/mainboard/$(MAINBOARDDIR) $$< -o $$(basename $$@).asl
- iasl -p $$(obj)/$(1) -tc $$(basename $$@).asl
+ cd $$(dir $$@); iasl -p $$(abspath $$(obj)/$(1)) -tc $$(notdir $$(basename $$@)).asl
mv $$(obj)/$(1).hex $$(basename $$@).c
$(CC) $$(CFLAGS) $$(if $$(subst dsdt,,$$(basename $$(notdir $(1)))), -DAmlCode=AmlCode_$$(basename $$(notdir $(1)))) -c -o $$@ $$(basename $$@).c
# keep %.o: %.c rule from catching the temporary .c file after a make clean
More information about the coreboot
mailing list