summaryrefslogtreecommitdiff
path: root/target/image.mk
blob: b18613f49c5b13d90cd16d93c601ca5d919db100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)))