summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-12-17 12:05:25 -0800
committerKhem Raj <raj.khem@gmail.com>2009-12-25 11:54:17 -0800
commitc2b7702d52fd6f62f34e58dc2e806b44b8fb976b (patch)
tree06898bb65f464586c454522146828d3c13beffe4 /conf/machine
parent7e15a70457ea2f1327162d0a3050c7e6eb95975c (diff)
conf/machine: Add x86_64 machine.
* This is not supporting multilib * Only 64-bit userspace can be built. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/include/tune-x86_64.inc4
-rw-r--r--conf/machine/x86_64-generic.conf31
2 files changed, 35 insertions, 0 deletions
diff --git a/conf/machine/include/tune-x86_64.inc b/conf/machine/include/tune-x86_64.inc
new file mode 100644
index 0000000000..db2a560a70
--- /dev/null
+++ b/conf/machine/include/tune-x86_64.inc
@@ -0,0 +1,4 @@
+TARGET_CC_ARCH = "-mtune=generic"
+BASE_PACKAGE_ARCH = "x86_64"
+FEED_ARCH = "x86_64"
+PACKAGE_EXTRA_ARCHS += "x86 i386 i486 i586 i686"
diff --git a/conf/machine/x86_64-generic.conf b/conf/machine/x86_64-generic.conf
new file mode 100644
index 0000000000..0dad0ff8d1
--- /dev/null
+++ b/conf/machine/x86_64-generic.conf
@@ -0,0 +1,31 @@
+# Copyright (C) 2007,2009 Stelios Koroneos - Digital OPSiS, All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+#@TYPE: Machine
+#@NAME: x86_64-generic
+#@DESCRIPTION: Machine configuration for a generic x86_64 machine
+
+
+TARGET_ARCH = "x86_64"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
+XSERVER="xserver-kdrive-vesa"
+
+KERNEL_IMAGETYPE = "bzImage"
+
+GLIBC_ADDONS = "nptl"
+GLIBC_EXTRA_OECONF = "--with-tls"
+
+IMAGE_FSTYPES ?= "ext2.gz"
+IMAGE_DEVICE_TABLES = " \
+ files/device_table-minimal.txt \
+ files/device_table_add-loop.txt \
+ files/device_table_add-scsi.txt \
+"
+
+MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost acpi ext2 x86"
+MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
+
+#tune for x86_64
+require conf/machine/include/tune-x86_64.inc
+