From 17f6a8778817ad592a2458083a1ba46032df22f6 Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Mon, 20 Oct 2008 16:50:47 +0000 Subject: [PATCH] libpayload: Use gcc to compile assembly files Using gcc to compile assembly files lets us use preprocessor directives. Signed-off-by: Jordan Crouse Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3671 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/Makefile | 4 ++-- 1 file 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 -- cgit v1.2.3