synx-devicetree: fix synx devicetree compile can not find sun_le.mk

add sun_le.mk to compile synx-devicetree

Change-Id: Id2d90d45b1efed41ad6e44598d469c5fbc34f5a2
This commit is contained in:
yulong li
2025-03-30 14:14:48 +08:00
committed by Yulong Li
parent dd07b1d6e5
commit 3099b0c2ee
2 changed files with 7 additions and 4 deletions

View File

@@ -1,9 +1,8 @@
SYNX_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
SYNX_DEVICETREE_ROOT=$(shell pwd)
SYNX_KERNEL_ROOT=$(SYNX_DEVICETREE_ROOT)/../../opensource/synx-kernel
KBUILD_OPTIONS += SYNX_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE=$(SYNX_KERNEL_ROOT)
KBUILD_OPTIONS += SYNX_DEVICETREE_ROOT=$(shell pwd)
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE+=$(SYNX_KERNEL_ROOT)
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
KBUILD_OPTIONS += MODNAME=synx-devicetree

4
config/sun_le.mk Normal file
View File

@@ -0,0 +1,4 @@
dtbo-y := synx/sun-synx.dtbo
ifneq (, $(filter y, $(CONFIG_ARCH_TUNA) $(CONFIG_ARCH_KERA)))
dtbo-y += synx/tuna-synx.dtbo
endif