Skip to content

Commit

Permalink
merged to source
Browse files Browse the repository at this point in the history
  • Loading branch information
glblduh committed Nov 21, 2022
2 parents 0b8cefa + 011e6a4 commit 3b46071
Show file tree
Hide file tree
Showing 25 changed files with 6,008 additions and 6,727 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,12 @@ KBUILD_CFLAGS += -O2
endif
endif

ifeq ($(cc-name),clang)
KBUILD_CFLAGS += -mcpu=cortex-a55 -mtune=cortex-a55
else
KBUILD_CFLAGS += -mcpu=cortex-a75.cortex-a55 -mtune=cortex-a75.cortex-a55
endif

ifdef CONFIG_CC_WERROR
KBUILD_CFLAGS += -Werror
endif
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ KBUILD_AFLAGS += $(lseinstr) $(vdso32)
KBUILD_CFLAGS += $(call cc-option,-mabi=lp64)
KBUILD_AFLAGS += $(call cc-option,-mabi=lp64)

ifeq ($(cc-name),clang)
KBUILD_CFLAGS += -DCONFIG_ARCH_SUPPORTS_INT128
else
KBUILD_CFLAGS += $(call cc-ifversion, -ge, 0500, -DCONFIG_ARCH_SUPPORTS_INT128)
endif

ifeq ($(CONFIG_CPU_BIG_ENDIAN), y)
KBUILD_CPPFLAGS += -mbig-endian
# Prefer the baremetal ELF build target, but not all toolchains include
Expand Down
Loading

0 comments on commit 3b46071

Please sign in to comment.