From: Nicolas Thill Date: Wed, 14 Apr 2010 21:13:59 +0000 (+0000) Subject: target/adm5120: fix image building after r20834 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=34474b8840a22b973aa4d8f735d0e0de52ceb9cc;p=openwrt%2Fstaging%2Faparcar.git target/adm5120: fix image building after r20834 SVN-Revision: 20855 --- 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