Skip to content

Commit

Permalink
makefile: Add SoC-specific compile target
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiLux committed May 11, 2015
1 parent 77d0a2e commit 73163d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,9 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-Werror-implicit-function-declaration \
-Wno-format-security \
-fno-delete-null-pointer-checks \
-fdiagnostics-show-option -Werror
-fdiagnostics-show-option -Werror \
-march=armv8-a+crc \
-mtune=cortex-a57.cortex-a53
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
KBUILD_AFLAGS := -D__ASSEMBLY__
Expand Down Expand Up @@ -584,7 +586,7 @@ all: vmlinux
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
else
KBUILD_CFLAGS += -O2
KBUILD_CFLAGS += -O3
endif

include $(srctree)/arch/$(SRCARCH)/Makefile
Expand Down

0 comments on commit 73163d3

Please sign in to comment.