summaryrefslogtreecommitdiffstats
path: root/target/linux/sparc/image
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-14 07:57:22 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-14 07:57:22 +0000
commit386183ac6ece35c00b6f4d574548459e48d0e1ac (patch)
treec68c1000805ffba37a235ebee8a6a9278417a7f5 /target/linux/sparc/image
parent30a689a8a4c880d9cddd9731e37cafb62d03b966 (diff)
add plemininary ultrasparc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sparc/image')
-rw-r--r--target/linux/sparc/image/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/sparc/image/Makefile b/target/linux/sparc/image/Makefile
new file mode 100644
index 000000000..314cd6a40
--- /dev/null
+++ b/target/linux/sparc/image/Makefile
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/image.mk
+
+define Image/Prepare
+ cp $(LINUX_DIR)/arch/sparc/boot/zImage $(KDIR)/zImage
+endef
+
+define Image/BuildKernel
+ mkdir -p $(BIN_DIR)
+ cp $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage
+# cp $(KDIR)/vmlinux.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf
+endef
+
+$(eval $(call BuildImage))