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)
29 lines
669 B
Makefile
29 lines
669 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-y += testcases.dtb.o
|
|
|
|
targets += testcases.dtb testcases.dtb.S
|
|
|
|
ifdef CONFIG_OF_OVERLAY
|
|
|
|
obj-y += overlay.dtb.o
|
|
obj-y += overlay_bad_phandle.dtb.o
|
|
obj-y += overlay_bad_symbol.dtb.o
|
|
obj-y += overlay_base.dtb.o
|
|
|
|
targets += overlay.dtb overlay.dtb.S
|
|
targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S
|
|
targets += overlay_bad_symbol.dtb overlay_bad_symbol.dtb.S
|
|
targets += overlay_base.dtb overlay_base.dtb.S
|
|
|
|
# enable creation of __symbols__ node
|
|
DTC_FLAGS_overlay := -@
|
|
DTC_FLAGS_overlay_bad_phandle := -@
|
|
DTC_FLAGS_overlay_bad_symbol := -@
|
|
DTC_FLAGS_overlay_base := -@
|
|
|
|
endif
|
|
|
|
.PRECIOUS: \
|
|
$(obj)/%.dtb.S \
|
|
$(obj)/%.dtb
|