mirror of
https://git.openwrt.org/openwrt/openwrt.git/
synced 2025-10-06 03:12:40 +02:00
rockchip: make use of OpenWrt compiled dtbs
OpenWrt buildroot will compile all dtbs defined in target to $(KDIR)/image-$(DEVICE_DTS).dtb, so make use of it to allow us debug and use external dtbs easier without patching kernel Makefile. This also fixes commit5c724939c3
which forgot to update DTS_DIR in KERNEL variable. Fixes:5c724939c3
("rockchip: add DEVICE_DTS_DIR definition") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/20286 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
committed by
Hauke Mehrtens
parent
eea52f3a82
commit
b81b576556
@@ -46,7 +46,7 @@ endef
|
||||
### Devices ###
|
||||
define Device/Default
|
||||
PROFILES := Default
|
||||
KERNEL = kernel-bin | lzma | fit lzma $$(DTS_DIR)/$$(DEVICE_DTS).dtb
|
||||
KERNEL = kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||
BOOT_SCRIPT :=
|
||||
IMAGES := sysupgrade.img.gz
|
||||
IMAGE/sysupgrade.img.gz = boot-common | boot-script $$(BOOT_SCRIPT) | pine64-img | gzip | append-metadata
|
||||
|
Reference in New Issue
Block a user