summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/image/xscale
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-30 19:38:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-30 19:38:38 +0000
commitaef3bd9e643498397c2ef33ba17d166e10518d85 (patch)
tree6c15064c011e398e88e169db7e9b3a0b5366aa93 /openwrt/target/linux/image/xscale
parent5b05f4a5ee5fa1dd3246350b6672d05a1aaa7f4d (diff)
downloadmtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.zip
mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.gz
mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.bz2
resync with kamikaze
SVN-Revision: 3844
Diffstat (limited to 'openwrt/target/linux/image/xscale')
-rw-r--r--openwrt/target/linux/image/xscale/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/xscale/Makefile b/openwrt/target/linux/image/xscale/Makefile
new file mode 100644
index 0000000..04a89f9
--- /dev/null
+++ b/openwrt/target/linux/image/xscale/Makefile
@@ -0,0 +1,36 @@
+include $(TOPDIR)/rules.mk
+
+KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
+
+
+ifeq ($(FS),jffs2-8MB)
+
+$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).img: $(KDIR)/root.$(FS)
+ $(CP) $^ $@
+
+install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).img
+
+endif
+
+
+ifeq ($(FS),tgz)
+
+$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tar.gz: $(KDIR)/root.tar.gz
+ $(CP) $^ $@
+
+install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tar.gz
+
+endif
+
+
+$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz: $(KDIR)/vmlinux
+ $(CP) $^ $@
+
+
+clean:
+prepare:
+compile:
+install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz
+install-ib:
+ mkdir -p $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)
+ $(CP) $(KDIR)/bzImage $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)/