summaryrefslogtreecommitdiff
path: root/include/image.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-17 15:40:02 +0000
committerJohn Crispin <john@openwrt.org>2014-06-17 15:40:02 +0000
commit1a3ebd51adb6ef43e8da4ec8d9cc7555ec04d73a (patch)
treea8ed81265c5bcb9d642b13d98472c4134637b563 /include/image.mk
parent575127fe1c82e814da155a15be0a02b4153e1d00 (diff)
downloadmtk-20170518-1a3ebd51adb6ef43e8da4ec8d9cc7555ec04d73a.zip
mtk-20170518-1a3ebd51adb6ef43e8da4ec8d9cc7555ec04d73a.tar.gz
mtk-20170518-1a3ebd51adb6ef43e8da4ec8d9cc7555ec04d73a.tar.bz2
procd: some cleanup for SysupgradeNAND
Removed unused ubi file file from template as ubinized images are passed directly and not inside the tarball. Also removed left-over white-space. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41237
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/image.mk b/include/image.mk
index 605474c..66ac497 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -132,14 +132,12 @@ endif
# $(1): board name
# $(2): kernel image
# $(3): rootfs image
-# $(4): ubi image
ifneq ($(CONFIG_NAND_SUPPORT),)
define Image/Build/SysupgradeNAND
mkdir -p $(KDIR_TMP)/sysupgrade-$(1)/
echo "BOARD=$(1)" > $(KDIR_TMP)/sysupgrade-$(1)/CONTROL
[ -z "$(2)" ] || $(CP) $(2) $(KDIR_TMP)/sysupgrade-$(1)/kernel
[ -z "$(3)" ] || $(CP) $(3) $(KDIR_TMP)/sysupgrade-$(1)/root
- [ -z "$(4)" ] || $(CP) $(4) $(KDIR_TMP)/sysupgrade-$(1)/ubi
(cd $(KDIR_TMP); $(TAR) cvf \
$(BIN_DIR)/$(IMG_PREFIX)-$(1)-ubi-sysupgrade.tar sysupgrade-$(1))
endef