summaryrefslogtreecommitdiff
path: root/openwrt/target/image.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-28 09:17:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-28 09:17:29 +0000
commit50af40000ac37ef921ebd46f6d641959503ee919 (patch)
tree823ff43388135467a5c7a60589acf62d173cedc4 /openwrt/target/image.mk
parent16530342e5f63527dc2e0c78dcaef4f4b68ceb48 (diff)
move package/linux into target/linux, use wbx' new kernel code. support building images with more than one kernel, split kernel module parts off of packages that use their own kernel modules (fuse, shfs, openswan). some cleanup in the image building process in target/. image builder is disabled for now, needs some fixing.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1085 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/image.mk')
-rw-r--r--openwrt/target/image.mk13
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)))