mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-13 02:14:53 +00:00
imx6: use DTS_DIR at image build code
Use "$(DTS_DIR)", defined at include/image.mk, instead of "$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts" in order to generalize and allow a better Device/* device-tree parameterization (i.e. DEVICE_DTS_DIR and DTS_DIR). Signed-off-by: Adrià Llaudet <adria.llaudet@gmail.com>
This commit is contained in:
parent
2fca8aa73e
commit
90ceb0aeb1
@ -22,7 +22,7 @@ define Build/boot-overlay
|
|||||||
|
|
||||||
$(foreach dts,$(DEVICE_DTS), \
|
$(foreach dts,$(DEVICE_DTS), \
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(LINUX_DIR)/arch/$(ARCH)/boot/dts/$(dts).dtb \
|
$(DTS_DIR)/$(dts).dtb \
|
||||||
$@.boot/$(IMG_PREFIX)-$(dts).dtb; \
|
$@.boot/$(IMG_PREFIX)-$(dts).dtb; \
|
||||||
ln -sf \
|
ln -sf \
|
||||||
$(IMG_PREFIX)-$(dts).dtb \
|
$(IMG_PREFIX)-$(dts).dtb \
|
||||||
|
Loading…
Reference in New Issue
Block a user