add rebuild target for the linux directory
[openwrt-10.03/.git] / target / image.mk
1
2 define image_template
3
4 $(BIN_DIR)/openwrt-$(3)-$(2)-$(1).trx:
5         $$(call $(1)_template,$(BUILD_DIR)/linux-$(2)-$(3))
6
7 ifeq ($(BR2_LINUX_$(4)),y)
8 install: $(BIN_DIR)/openwrt-$(3)-$(2)-$(1).trx
9 endif
10
11 endef
12
13 $(eval $(foreach fs,$(FILESYSTEMS),$(call image_template,$(fs),2.4,brcm,2_4_BRCM)))