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)
49 lines
997 B
Makefile
49 lines
997 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
dts-dirs += actions
|
|
dts-dirs += al
|
|
dts-dirs += allwinner
|
|
dts-dirs += altera
|
|
dts-dirs += amd
|
|
dts-dirs += amlogic
|
|
dts-dirs += apm
|
|
dts-dirs += arm
|
|
dts-dirs += broadcom
|
|
dts-dirs += cavium
|
|
dts-dirs += exynos
|
|
dts-dirs += freescale
|
|
dts-dirs += hisilicon
|
|
dts-dirs += marvell
|
|
dts-dirs += mediatek
|
|
dts-dirs += nvidia
|
|
dts-dirs += qcom
|
|
dts-dirs += realtek
|
|
dts-dirs += renesas
|
|
dts-dirs += rockchip
|
|
dts-dirs += socionext
|
|
dts-dirs += sprd
|
|
dts-dirs += xilinx
|
|
dts-dirs += lg
|
|
dts-dirs += zte
|
|
|
|
subdir-y := $(dts-dirs)
|
|
|
|
dtstree := $(srctree)/$(src)
|
|
|
|
dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts)))
|
|
|
|
always := $(dtb-y)
|
|
|
|
targets += dtbs
|
|
|
|
DTB_NAMES := $(subst $\",,$(CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES))
|
|
ifneq ($(DTB_NAMES),)
|
|
DTB_LIST := $(addsuffix .dtb,$(DTB_NAMES))
|
|
else
|
|
DTB_LIST := $(dtb-y)
|
|
endif
|
|
targets += $(DTB_LIST)
|
|
|
|
dtbs: $(addprefix $(obj)/, $(DTB_LIST))
|
|
|
|
clean-files := dts/*.dtb *.dtb
|