mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
build: add template for installing device .dtb files
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
468a9b7a77
commit
94dec60d75
@ -46,6 +46,14 @@ define Build/append-dtb
|
|||||||
cat $@.dtb >> $@
|
cat $@.dtb >> $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/install-dtb
|
||||||
|
$(foreach dts,$(DEVICE_DTS), \
|
||||||
|
$(CP) \
|
||||||
|
$(DTS_DIR)/$(dts).dtb \
|
||||||
|
$(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb; \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/fit
|
define Build/fit
|
||||||
$(TOPDIR)/scripts/mkits.sh \
|
$(TOPDIR)/scripts/mkits.sh \
|
||||||
-D $(DEVICE_NAME) -o $@.its -k $@ \
|
-D $(DEVICE_NAME) -o $@.its -k $@ \
|
||||||
|
Loading…
Reference in New Issue
Block a user