|
@@ -21,12 +21,6 @@ else
|
|
|
endef
|
|
endef
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
-define Image/Prepare
|
|
|
|
|
- rm -rf $(KDIR)/overlays
|
|
|
|
|
- mkdir -p $(KDIR)/overlays
|
|
|
|
|
- $(CP) $(DTS_DIR)/overlays/*.dtb $(KDIR)/overlays/
|
|
|
|
|
-endef
|
|
|
|
|
-
|
|
|
|
|
### Image scripts ###
|
|
### Image scripts ###
|
|
|
define Build/gen-cfg
|
|
define Build/gen-cfg
|
|
|
cat config.txt > [email protected]
|
|
cat config.txt > [email protected]
|
|
@@ -47,7 +41,8 @@ define Build/boot-img
|
|
|
mcopy -i [email protected] [email protected] ::config.txt
|
|
mcopy -i [email protected] [email protected] ::config.txt
|
|
|
mcopy -i [email protected] $(word 1,$^) ::kernel.img
|
|
mcopy -i [email protected] $(word 1,$^) ::kernel.img
|
|
|
mcopy -i [email protected] $(DTS_DIR)/$(DEVICE_DTS).dtb ::$(DEVICE_DTS).dtb
|
|
mcopy -i [email protected] $(DTS_DIR)/$(DEVICE_DTS).dtb ::$(DEVICE_DTS).dtb
|
|
|
- mcopy -s -i [email protected] $(KDIR)/overlays ::
|
|
|
|
|
|
|
+ mmd -i [email protected] ::/overlays
|
|
|
|
|
+ mcopy -i [email protected] $(DTS_DIR)/overlays/*.dtb ::/overlays/
|
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
define Build/sdcard-img
|
|
define Build/sdcard-img
|