copying at91bootstrap and uboot binaries to sdcard image is done
based on device name instead of dts name and this avoids creating
multiple u-boot and at91bootstrap binaries.
Signed-off-by: Sandeep Sheriker Mallikarjun <[email protected]>
$(foreach dts,$(DEVICE_DTS), \
- ::$(dts).dtb; \
- $(BIN_DIR)/u-boot-$(dts:at91-%=%)_mmc/u-boot.bin \
- ::u-boot.bin; \
- $(CP) $(BIN_DIR)/at91bootstrap-$(dts:at91-%=%)sd_uboot*/*.bin \
+ ::$(dts).dtb;)
+
+ $(BIN_DIR)/u-boot-$(DEVICE_NAME:at91-%=%)_mmc/u-boot.bin \
+ ::u-boot.bin
+
+ $(CP) $(BIN_DIR)/at91bootstrap-$(DEVICE_NAME:at91-%=%)sd*/at91bootstrap.bin \
./gen_at91_sdcard_img.sh \