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)
25 lines
700 B
Makefile
25 lines
700 B
Makefile
# arch/arm/mach-exynos/Makefile
|
|
#
|
|
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
|
|
# http://www.samsung.com/
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
|
|
|
|
# Core
|
|
|
|
obj-$(CONFIG_ARCH_EXYNOS) += exynos.o exynos-smc.o firmware.o
|
|
|
|
obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o
|
|
obj-$(CONFIG_PM_SLEEP) += suspend.o
|
|
|
|
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
|
|
|
|
plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
|
AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec)
|
|
AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
|
|
|
|
obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o
|
|
CFLAGS_mcpm-exynos.o += -march=armv7-a
|