summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-06-11 21:18:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-06-11 21:18:26 +0000
commit4c659f618c83aa8ef850cf24e6f240e0aeb0f598 (patch)
tree8813ca5ad209754da7f4b71014c7a131ee200196 /openwrt/target/linux/image/Makefile
parentc90793463c2602b951b71d629a6530bab2be50d0 (diff)
downloadmtk-20170518-4c659f618c83aa8ef850cf24e6f240e0aeb0f598.zip
mtk-20170518-4c659f618c83aa8ef850cf24e6f240e0aeb0f598.tar.gz
mtk-20170518-4c659f618c83aa8ef850cf24e6f240e0aeb0f598.tar.bz2
cleanup in target/
SVN-Revision: 1205
Diffstat (limited to 'openwrt/target/linux/image/Makefile')
-rw-r--r--openwrt/target/linux/image/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/Makefile b/openwrt/target/linux/image/Makefile
new file mode 100644
index 0000000..6b7c787
--- /dev/null
+++ b/openwrt/target/linux/image/Makefile
@@ -0,0 +1,24 @@
+include $(TOPDIR)/rules.mk
+
+ifeq ($(BOARD),)
+BOARD:=brcm
+endif
+
+KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
+
+ifeq ($(BR2_TARGET_ROOTFS_JFFS2),y)
+include ./jffs2.mk
+endif
+
+ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_LZMA),y)
+include ./squashfs.mk
+endif
+
+prepare:
+ $(MAKE) -C $(BOARD) prepare
+compile:
+ $(MAKE) -C $(BOARD) compile
+install:
+rebuild: clean prepare compile install
+clean:
+