summaryrefslogtreecommitdiff
path: root/target/native/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-27 22:14:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-27 22:14:21 +0200
commitbbd610f15a71b27c955175cb98392b114717fd47 (patch)
tree13d196e0e70c15c119336f59fa8f7183884590d5 /target/native/Makefile
parentbad63eb735b13e1f009a19af1dd810f7279c2ba1 (diff)
native build support
- just use native gcc and binutils to compile a system - can be used to chroot into it - maybe useful later on lemote book to build packages natively
Diffstat (limited to 'target/native/Makefile')
-rw-r--r--target/native/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/native/Makefile b/target/native/Makefile
new file mode 100644
index 000000000..9e5ccb25b
--- /dev/null
+++ b/target/native/Makefile
@@ -0,0 +1,19 @@
+# $Id: Makefile 30 2008-09-04 13:31:09Z wbx $
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+include $(TOPDIR)/mk/kernel.mk
+include $(TOPDIR)/mk/modules.mk
+include $(TOPDIR)/mk/kernel-build.mk
+include $(TOPDIR)/mk/image.mk
+
+kernel-install:
+
+ifeq ($(FS),initramfs)
+imageinstall: $(BIN_DIR)/$(INITRAMFS)
+ cp $(LINUX_DIR)/arch/x86/boot/bzImage $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
+ @echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
+ @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
+endif