|
@@ -80,7 +80,16 @@ endef
|
|
|
define Build/imx6-sdcard
|
|
define Build/imx6-sdcard
|
|
|
$(Build/imx6-combined-image-prepare)
|
|
$(Build/imx6-combined-image-prepare)
|
|
|
|
|
|
|
|
- $(CP) $(STAGING_DIR_IMAGE)/$(UBOOT)-u-boot.img [email protected]/u-boot.img
|
|
|
|
|
|
|
+ if [ -f $(STAGING_DIR_IMAGE)/$(UBOOT)-u-boot.img ]; then \
|
|
|
|
|
+ $(CP) $(STAGING_DIR_IMAGE)/$(UBOOT)-u-boot.img \
|
|
|
|
|
+ [email protected]/u-boot.img; \
|
|
|
|
|
+ fi
|
|
|
|
|
+
|
|
|
|
|
+ if [ -f $(STAGING_DIR_IMAGE)/$(UBOOT)-u-boot-dtb.img ]; then \
|
|
|
|
|
+ $(CP) $(STAGING_DIR_IMAGE)/$(UBOOT)-u-boot-dtb.img \
|
|
|
|
|
+ [email protected]/u-boot-dtb.img; \
|
|
|
|
|
+ fi
|
|
|
|
|
+
|
|
|
$(Build/imx6-combined-image)
|
|
$(Build/imx6-combined-image)
|
|
|
dd if=$(STAGING_DIR_IMAGE)/$(UBOOT)-SPL of=$@ bs=1024 seek=1 conv=notrunc
|
|
dd if=$(STAGING_DIR_IMAGE)/$(UBOOT)-SPL of=$@ bs=1024 seek=1 conv=notrunc
|
|
|
|
|
|