kbuild: enable 'make AFLAGS=...' to add additional options to AS
[deliverable/linux.git] / arch / x86 / boot / Makefile
index 646292aaf1fcebd920f9b58933fea68f158f6dbf..d6ed8e5e1ccc2bab83f49df77091043c47021645 100644 (file)
@@ -61,7 +61,7 @@ KBUILD_CFLAGS := $(LINUXINCLUDE) -g -Os -D_SETUP -D__KERNEL__ \
                        $(call cc-option, -fno-unit-at-a-time)) \
                   $(call cc-option, -fno-stack-protector) \
                   $(call cc-option, -mpreferred-stack-boundary=2)
-AFLAGS         := $(KBUILD_CFLAGS) -D__ASSEMBLY__
+KBUILD_AFLAGS  := $(KBUILD_CFLAGS) -D__ASSEMBLY__
 
 $(obj)/zImage:  IMAGE_OFFSET := 0x1000
 $(obj)/zImage:  EXTRA_AFLAGS := $(SVGA_MODE) $(RAMDISK)
This page took 0.027021 seconds and 5 git commands to generate.