summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/image/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-14 21:13:59 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-14 21:13:59 +0000
commitdc81db4febb829e6a86fa36f27ea393da5c6d8e6 (patch)
treecef2920163282b90267b028af10c4d90c6d4507f /target/linux/adm5120/image/Makefile
parent9ae534567be92a942e9e84d3391c7a359590c7a9 (diff)
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/linux/adm5120/image/Makefile')
-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 cb9af208a..f628456ab 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