aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-04-15 15:47:12 +0400
committerRoman I Khimov <khimov@altell.ru>2009-08-18 23:10:10 +0400
commitbf9da045669d76b8c0f31c0c38b0306edf36ec8b (patch)
tree40a335e52c1e78e52706df6b96e191bd5fee1170
parent0490edf988c3f4eaec594156d97015c0a6470578 (diff)
downloadopenembedded-bf9da045669d76b8c0f31c0c38b0306edf36ec8b.tar.gz
Add x86_64-generic machine
-rw-r--r--conf/machine/include/tune-x86_64.conf7
-rw-r--r--conf/machine/x86_64-generic.conf14
2 files changed, 21 insertions, 0 deletions
diff --git a/conf/machine/include/tune-x86_64.conf b/conf/machine/include/tune-x86_64.conf
new file mode 100644
index 0000000000..528d1b157c
--- /dev/null
+++ b/conf/machine/include/tune-x86_64.conf
@@ -0,0 +1,7 @@
+ARCH_MULTILIB = "i686"
+LIB_MULTILIB = "lib32"
+CFLAGS_MULTILIB = "-march=i686 -m32"
+TARGET_SYS_MULTILIB = "${ARCH_MULTILIB}${TARGET_VENDOR}-${TARGET_OS}"
+
+base_multilibdir = "${layout_base_prefix}/${LIB_MULTILIB}"
+multilibdir = "${layout_exec_prefix}/${LIB_MULTILIB}"
diff --git a/conf/machine/x86_64-generic.conf b/conf/machine/x86_64-generic.conf
new file mode 100644
index 0000000000..2e2bbf503c
--- /dev/null
+++ b/conf/machine/x86_64-generic.conf
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: x86_64-generic
+#@DESCRIPTION: Machine configuration for a Linux running on x86_64 compatible machines
+
+TARGET_ARCH = "x86_64"
+# reuse .bb for "normal" x86
+PREFERRED_PROVIDER_virtual/kernel = "linux-x86"
+
+udevdir = "/dev"
+OLDEST_KERNEL = "2.6.17"
+GLIBC_ADDONS = "nptl"
+GLIBC_EXTRA_OECONF = "--with-tls"
+MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost acpi ext2 multilib"
+require conf/machine/include/tune-x86_64.conf