summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2008-10-20 16:50:47 +0000
committerJordan Crouse <jordan.crouse@amd.com>2008-10-20 16:50:47 +0000
commit17f6a8778817ad592a2458083a1ba46032df22f6 (patch)
tree8ae5ffd038ab77f8a38570ba7d3636d9b69fa290 /payloads
parentc880a369de89134007477c47968cec2a852195f9 (diff)
downloadcoreboot-17f6a8778817ad592a2458083a1ba46032df22f6.tar.xz
[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@amd.com> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3671 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index d5b29e22f0..a52054cd63 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -115,8 +115,8 @@ $(obj)/%.o: $(src)/%.c
$(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