summaryrefslogtreecommitdiff
path: root/target/linux/openmoko/image/Makefile
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-11 22:20:51 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-11 22:20:51 +0000
commitb6a2188ef1ef81989e1a6abc1ae2417f524e9c72 (patch)
tree7a9e67683112eac7e5239c50b9f9d0ae0f725d06 /target/linux/openmoko/image/Makefile
parent4cd56b6fb7805e4a6493796c8fd8c7e0c52aaf7b (diff)
Add basic framework for the openmoko platform.
The kernel does build and boot, but the rootfs build process is not completely implemented, yet. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13605 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/openmoko/image/Makefile')
-rw-r--r--target/linux/openmoko/image/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/openmoko/image/Makefile b/target/linux/openmoko/image/Makefile
new file mode 100644
index 0000000000..20f17590f3
--- /dev/null
+++ b/target/linux/openmoko/image/Makefile
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2008 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 Build/Clean
+endef
+
+define Build/Compile
+endef
+
+define Image/Prepare
+ cp $(LINUX_DIR)/arch/arm/boot/uImage $(KDIR)/uImage
+endef
+
+define Image/BuildKernel
+ cp $(KDIR)/uImage $(BIN_DIR)/openwrt-$(BOARD)-uImage
+endef
+
+define Image/Build
+endef
+
+$(eval $(call BuildImage))