[oe] [PATCH 01/11] Add x86_64-generic machine

Roman I Khimov khimov at altell.ru
Wed Apr 15 12:35:50 UTC 2009


---
 conf/machine/include/tune-x86_64.conf |    7 +++++++
 conf/machine/x86_64-generic.conf      |   14 ++++++++++++++
 2 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 conf/machine/include/tune-x86_64.conf
 create mode 100644 conf/machine/x86_64-generic.conf

diff --git a/conf/machine/include/tune-x86_64.conf b/conf/machine/include/tune-x86_64.conf
new file mode 100644
index 0000000..528d1b1
--- /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 0000000..2e2bbf5
--- /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
-- 
1.6.2.1


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the Openembedded-devel mailing list