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)
28 lines
738 B
Makefile
28 lines
738 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# SPEAr Platform specific Makefile
|
|
#
|
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
|
|
|
|
# Common support
|
|
obj-y := restart.o time.o
|
|
|
|
smp-$(CONFIG_SMP) += headsmp.o platsmp.o
|
|
smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
|
|
|
obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y)
|
|
obj-$(CONFIG_MACH_SPEAR1310) += spear1310.o
|
|
obj-$(CONFIG_MACH_SPEAR1340) += spear1340.o
|
|
|
|
obj-$(CONFIG_ARCH_SPEAR3XX) += spear3xx.o
|
|
obj-$(CONFIG_ARCH_SPEAR3XX) += pl080.o
|
|
obj-$(CONFIG_MACH_SPEAR300) += spear300.o
|
|
obj-$(CONFIG_MACH_SPEAR310) += spear310.o
|
|
obj-$(CONFIG_MACH_SPEAR320) += spear320.o
|
|
|
|
obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o
|
|
obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o
|
|
|
|
CFLAGS_hotplug.o += -march=armv7-a
|