Skip to content

Commit

Permalink
build: Add compiler optimization flags
Browse files Browse the repository at this point in the history
Change-Id: I813453d1a0c7fbdbfbcd9c6843ac1c42e50e6624
  • Loading branch information
airend committed Sep 18, 2015
1 parent 0d1bba2 commit da3b062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit da3b062

Please sign in to comment.