X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bca3f225e9645134018a951d78198b70601eb02d..92a1aaeba2708e6abb1299dbdadbbd8fc3498588:/target/linux/adm5120/image/Makefile 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