aboutsummaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index cd8a411acc9..0353296c2c9 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -92,7 +92,7 @@ LDFLAGS += -EB
endif
KBUILD_CFLAGS += -pipe $(cflags-y)
-AFLAGS += $(cflags-y)
+KBUILD_AFLAGS += $(cflags-y)
head-y := arch/sh/kernel/head.o arch/sh/kernel/init_task.o