[openwrt/openwrt] mvebu: remove redefinition of image name for clearfog

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 2 12:52:55 PST 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/652a13e920af843908b150a7927272ab1a09b3ce

commit 652a13e920af843908b150a7927272ab1a09b3ce
Author: Tomasz Maciej Nowak <tomek_n at o2.pl>
AuthorDate: Wed Feb 14 17:20:00 2018 +0100

    mvebu: remove redefinition of image name for clearfog
    
    The IMAGE_NAME redefinition causes overwriting of generated SD card
    image when multiple root file system types are selected. In result only
    single SD card image is generated. This commit fixes this behaviour.
    
    Signed-off-by: Tomasz Maciej Nowak <tomek_n at o2.pl>
---
 target/linux/mvebu/image/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 53ce028..45ef45a 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -201,7 +201,6 @@ define Device/armada-388-clearfog-pro
   DEVICE_PACKAGES := mkf2fs e2fsprogs swconfig kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
   IMAGES := sdcard.img.gz
   IMAGE/sdcard.img.gz := boot-scr-cfpro | boot-img | sdcard-img | gzip | append-metadata
-  IMAGE_NAME = $$(IMAGE_PREFIX)-$$(2)
   DEVICE_DTS := armada-388-clearfog-pro armada-388-clearfog-base
   SUPPORTED_DEVICES := armada-388-clearfog-pro armada-388-clearfog
 endef
@@ -214,7 +213,6 @@ define Device/armada-388-clearfog-base
   DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
   IMAGES := sdcard.img.gz
   IMAGE/sdcard.img.gz := boot-scr-cfbase | boot-img | sdcard-img | gzip | append-metadata
-  IMAGE_NAME = $$(IMAGE_PREFIX)-$$(2)
   DEVICE_DTS := armada-388-clearfog-pro armada-388-clearfog-base
 endef
 TARGET_DEVICES += armada-388-clearfog-base



More information about the lede-commits mailing list