From dc81db4febb829e6a86fa36f27ea393da5c6d8e6 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 14 Apr 2010 21:13:59 +0000 Subject: target/adm5120: fix image building after r20834 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20855 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3