diff options
Diffstat (limited to 'openwrt/target/image.mk')
-rw-r--r-- | openwrt/target/image.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openwrt/target/image.mk b/openwrt/target/image.mk new file mode 100644 index 0000000000..b18613f49c --- /dev/null +++ b/openwrt/target/image.mk @@ -0,0 +1,13 @@ + +define image_template + +$(BIN_DIR)/openwrt-$(3)-$(2)-$(1).trx: + $$(call $(1)_template,$(BUILD_DIR)/linux-$(2)-$(3)) + +ifeq ($(BR2_LINUX_$(4)),y) +install: $(BIN_DIR)/openwrt-$(3)-$(2)-$(1).trx +endif + +endef + +$(eval $(foreach fs,$(FILESYSTEMS),$(call image_template,$(fs),2.4,brcm,2_4_BRCM))) |