Ver Fonte

target/adm5120: fix image building after r20834

SVN-Revision: 20855
Nicolas Thill há 15 anos atrás
pai
commit
34474b8840
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      target/linux/adm5120/image/Makefile

+ 4 - 0
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