aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-01-08 23:58:40 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-01-11 20:35:33 +0100
commit31fca075c7e06153339449ba974a99cfa2f2d747 (patch)
treedc76b9d09b54ad79a6b0d48d2c4bccc70884ad1a /target/linux/at91
parent7c7586b6d05926f2d9538dbd9fce9d31df706caa (diff)
downloadupstream-31fca075c7e06153339449ba974a99cfa2f2d747.tar.gz
upstream-31fca075c7e06153339449ba974a99cfa2f2d747.tar.bz2
upstream-31fca075c7e06153339449ba974a99cfa2f2d747.zip
at91: create device specific sdcard images
Without this patch one sdcard image with the following name is created for all devices: openwrt-at91-sama5--sdcard.img.gz This makes the build system create device specific versions like: openwrt-at91-sama5-at91-sama5d2_xplained-sdcard.img.gz Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/at91')
-rw-r--r--target/linux/at91/image/sama5.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk
index d33a398651..b251d714dc 100644
--- a/target/linux/at91/image/sama5.mk
+++ b/target/linux/at91/image/sama5.mk
@@ -20,16 +20,16 @@ define Build/at91-sdcard
mcopy -i $@.boot $(BIN_DIR)/BOOT.bin ::BOOT.bin;)
./gen_at91_sdcard_img.sh \
- $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img \
+ $(dir $@)$(IMG_PREFIX)-$(DEVICE_NAME)-sdcard.img \
$@.boot \
$(KDIR)/root.ext4 \
$(AT91_SD_BOOT_PARTSIZE) \
$(CONFIG_TARGET_ROOTFS_PARTSIZE)
- gzip -nc9 $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img \
- > $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img.gz
+ gzip -nc9 $(dir $@)$(IMG_PREFIX)-$(DEVICE_NAME)-sdcard.img \
+ > $(dir $@)$(IMG_PREFIX)-$(DEVICE_NAME)-sdcard.img.gz
- $(CP) $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img.gz \
+ $(CP) $(dir $@)$(IMG_PREFIX)-$(DEVICE_NAME)-sdcard.img.gz \
$(BIN_DIR)/
rm -f $(BIN_DIR)/BOOT.bin