Using gcc to compile assembly files lets us use preprocessor
directives.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Index: libpayload/Makefile
===================================================================
--- libpayload.orig/Makefile	2008-10-17 14:38:33.000000000 -0600
+++ libpayload/Makefile	2008-10-17 14:38:47.000000000 -0600
@@ -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
 

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.



