[coreboot] r3671 - trunk/payloads/libpayload
svn at coreboot.org
svn at coreboot.org
Mon Oct 20 18:50:47 CEST 2008
Author: jcrouse
Date: 2008-10-20 18:50:47 +0200 (Mon, 20 Oct 2008)
New Revision: 3671
Modified:
trunk/payloads/libpayload/Makefile
Log:
[PATCH] libpayload: Use gcc to compile assembly files
Using gcc to compile assembly files lets us use preprocessor
directives.
Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>
Modified: trunk/payloads/libpayload/Makefile
===================================================================
--- trunk/payloads/libpayload/Makefile 2008-10-19 21:03:41 UTC (rev 3670)
+++ trunk/payloads/libpayload/Makefile 2008-10-20 16:50:47 UTC (rev 3671)
@@ -115,8 +115,8 @@
$(Q)$(CC) -m32 $(CFLAGS) -c -o $@ $<
$(obj)/%.S.o: $(src)/%.S
- $(Q)printf " AS $(subst $(shell pwd)/,,$(@))\n"
- $(Q)$(AS) --32 -o $@ $<
+ $(Q)printf " CC $(subst $(shell pwd)/,,$(@))\n"
+ $(Q)$(CC) -m32 $(CFLAGS) -c -o $@ $<
endif
More information about the coreboot
mailing list