diff --git a/Makefile b/Makefile index 207bec5a131b..6c427be5609c 100644 --- a/Makefile +++ b/Makefile @@ -374,10 +374,10 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -Wno-format-security \ -fno-delete-null-pointer-checks KBUILD_AFLAGS_KERNEL := -KBUILD_CFLAGS_KERNEL := +KBUILD_CFLAGS_KERNEL := -mtune=cortex-a15 -mfpu=neon-vfpv4 KBUILD_AFLAGS := -D__ASSEMBLY__ KBUILD_AFLAGS_MODULE := -DMODULE -KBUILD_CFLAGS_MODULE := -DMODULE +KBUILD_CFLAGS_MODULE := -DMODULE -mtune=cortex-a15 -mfpu=neon-vfpv4 KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds # Read KERNELRELEASE from include/config/kernel.release (if it exists)