diff --git a/arch/c6x/Makefile b/arch/c6x/Makefile index 6b0be670ddfabc5c49c64320f8be1fe455ba9acf..6f6096ff05a462182797cc75587f70c7d6286a53 100644 --- a/arch/c6x/Makefile +++ b/arch/c6x/Makefile @@ -12,7 +12,7 @@ cflags-y += -mno-dsbt -msdata=none -D__linux__ cflags-$(CONFIG_C6X_BIG_KERNEL) += -mlong-calls -CFLAGS_MODULE += -mlong-calls -mno-dsbt -msdata=none +KBUILD_CFLAGS_MODULE += -mlong-calls -mno-dsbt -msdata=none CHECKFLAGS +=