summaryrefslogtreecommitdiffstats
path: root/target/image/xscale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/image/xscale/Makefile')
-rw-r--r--target/image/xscale/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/image/xscale/Makefile b/target/image/xscale/Makefile
new file mode 100644
index 000000000..683c6028f
--- /dev/null
+++ b/target/image/xscale/Makefile
@@ -0,0 +1,11 @@
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/image.mk
+
+define Image/Build
+ifneq ($(FS),jffs2-64k)
+ cp $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
+ cp $(KDIR)/vmlinux $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz
+endif
+endef
+
+$(eval $(call BuildImage))