summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/image
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-14 21:13:59 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-14 21:13:59 +0000
commit34474b8840a22b973aa4d8f735d0e0de52ceb9cc (patch)
tree61439011a5e37be1505ec14a576a977fffe4b63f /target/linux/adm5120/image
parent841eff56d4a1a4dc5623c64f223e287332a1a732 (diff)
downloadmtk-20170518-34474b8840a22b973aa4d8f735d0e0de52ceb9cc.zip
mtk-20170518-34474b8840a22b973aa4d8f735d0e0de52ceb9cc.tar.gz
mtk-20170518-34474b8840a22b973aa4d8f735d0e0de52ceb9cc.tar.bz2
target/adm5120: fix image building after r20834
SVN-Revision: 20855
Diffstat (limited to 'target/linux/adm5120/image')
-rw-r--r--target/linux/adm5120/image/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/adm5120/image/Makefile b/target/linux/adm5120/image/Makefile
index cb9af20..f628456 100644
--- a/target/linux/adm5120/image/Makefile
+++ b/target/linux/adm5120/image/Makefile
@@ -11,6 +11,10 @@ LOADER_MAKE := $(NO_TRACE_MAKE) -C lzma-loader KDIR=$(KDIR)
JFFS2BLOCK := $(KDIR)/jffs2.block
JFFS2MARK := $(KDIR)/jffs2.mark
+define imgname
+$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(patsubst jffs2-%,jffs2,$(1))
+endef
+
define Build/Clean
$(LOADER_MAKE) clean
endef