target/adm5120: fix image building after r20834
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 14 Apr 2010 21:13:59 +0000 (21:13 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 14 Apr 2010 21:13:59 +0000 (21:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20855 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/adm5120/image/Makefile

index cb9af20..f628456 100644 (file)
@@ -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
This page took 0.021876 seconds and 4 git commands to generate.