Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
18 lines
490 B
Plaintext
18 lines
490 B
Plaintext
#
|
|
# NETLOGIC includes
|
|
#
|
|
cflags-$(CONFIG_NLM_COMMON) += -I$(srctree)/arch/mips/include/asm/mach-netlogic
|
|
cflags-$(CONFIG_NLM_COMMON) += -I$(srctree)/arch/mips/include/asm/netlogic
|
|
|
|
#
|
|
# use mips64 if xlr is not available
|
|
#
|
|
cflags-$(CONFIG_CPU_XLR) += $(call cc-option,-march=xlr,-march=mips64)
|
|
cflags-$(CONFIG_CPU_XLP) += $(call cc-option,-march=xlp,-march=mips64r2)
|
|
|
|
#
|
|
# NETLOGIC processor support
|
|
#
|
|
platform-$(CONFIG_NLM_COMMON) += netlogic/
|
|
load-$(CONFIG_NLM_COMMON) += 0xffffffff80100000
|