From da3b062e3aed29fd14de0c5831b29edbdf1adcf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Andrei=20M=C4=83ce=C8=99?= Date: Fri, 18 Sep 2015 16:29:16 -0400 Subject: [PATCH] build: Add compiler optimization flags Change-Id: I813453d1a0c7fbdbfbcd9c6843ac1c42e50e6624 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)