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:
7
Makefile
7
Makefile
@@ -1,9 +1,8 @@
|
|||||||
|
SYNX_DEVICETREE_ROOT=$(shell pwd)
|
||||||
SYNX_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
|
|
||||||
SYNX_KERNEL_ROOT=$(SYNX_DEVICETREE_ROOT)/../../opensource/synx-kernel
|
SYNX_KERNEL_ROOT=$(SYNX_DEVICETREE_ROOT)/../../opensource/synx-kernel
|
||||||
|
|
||||||
KBUILD_OPTIONS += SYNX_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
|
KBUILD_OPTIONS += SYNX_DEVICETREE_ROOT=$(shell pwd)
|
||||||
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE=$(SYNX_KERNEL_ROOT)
|
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE+=$(SYNX_KERNEL_ROOT)
|
||||||
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
|
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
|
||||||
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
|
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
|
||||||
KBUILD_OPTIONS += MODNAME=synx-devicetree
|
KBUILD_OPTIONS += MODNAME=synx-devicetree
|
||||||
|
4
config/sun_le.mk
Normal file
4
config/sun_le.mk
Normal 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
|
Reference in New Issue
Block a user