kbuild: enable 'make AFLAGS=...' to add additional options to AS
[linux-2.6-block.git] / arch / arm / Makefile
index 0b82865ab5060aa735fde89db1013f02eb95213b..b762d235b81a9846e36f087958d46585c9f0d869 100644 (file)
@@ -86,7 +86,7 @@ endif
 
 # Need -Uarm for gcc < 3.x
 KBUILD_CFLAGS  +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm
-AFLAGS         +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float
+KBUILD_AFLAGS  +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float
 
 CHECKFLAGS     += -D__arm__