aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commit394ddd479808a835659c5cd3b45af8e6d7faa0aa (patch)
treecef2920163282b90267b028af10c4d90c6d4507f /target
parent18b6a663941ca0a9fdf31566029c12628ec1fe0e (diff)
downloadupstream-394ddd479808a835659c5cd3b45af8e6d7faa0aa.tar.gz
upstream-394ddd479808a835659c5cd3b45af8e6d7faa0aa.tar.bz2
upstream-394ddd479808a835659c5cd3b45af8e6d7faa0aa.zip
target/adm5120: fix image building after r20834
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20855 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 cb9af208a2..f628456ab9 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