[oe-commits] Khem Raj : minimal: Add 'mplt' to DISTRO_FEATURES.

git version control git at git.openembedded.org
Tue Dec 22 09:50:15 UTC 2009


Module: openembedded.git
Branch: martin_jansa/xorg-7.5
Commit: 4c3fc5bbcd4ec69396b08b1f570df8a1f05a2259
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4c3fc5bbcd4ec69396b08b1f570df8a1f05a2259

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Dec 19 14:22:12 2009 -0800

minimal: Add 'mplt' to DISTRO_FEATURES.

* As minimal-uclibc includes minimal conf the
  distro features get inherited. mplt is not
  supported on uclibc yet. So we should disable
  it for uclibc/mips based distros.

* Add a note about overriding DISTRO_FEATURES.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Acked-by: Holger Hans Peter Freyther <zecke at selfish.org>

---

 conf/distro/minimal-uclibc.conf |   20 ++++++++++++++++++++
 conf/distro/minimal.conf        |    6 ++++++
 2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/conf/distro/minimal-uclibc.conf b/conf/distro/minimal-uclibc.conf
index 9594622..df72769 100644
--- a/conf/distro/minimal-uclibc.conf
+++ b/conf/distro/minimal-uclibc.conf
@@ -19,3 +19,23 @@ TARGET_FPU_armeb = "soft"
 LIBC = "uclibc"
 
 require conf/distro/minimal.conf
+
+# NOTE:
+#
+# We get the DISTRO_FEATURES defined in minimal.conf here but
+# however there are some features like mips -mplt support which
+# is not supported on uclibc yet so we need to disable that
+# feature for uclibc based distributions, therefore we redefine
+# the DISTRO_FEATURES for minimal-uclibc and notably leave mplt
+# out. Make sure that if there is a new DISTRO_FEATURE thats added
+# to minimal.conf will not get included in minimal-uclibc.conf
+# it has to be added to the below selection if it should also be
+# enabled for minimal-uclibc
+
+# FEATURE SELECTION
+#############################################################################
+# We want images supporting the following features (for task-base)
+DISTRO_FEATURES = "nfs smbfs wifi ppp alsa ext2 vfat pcmcia usbgadget usbhost pci"
+# Following features are for ARM and E500 based machines
+DISTRO_FEATURES += "eabi"
+
diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf
index 1e9eec2..00397db 100644
--- a/conf/distro/minimal.conf
+++ b/conf/distro/minimal.conf
@@ -28,6 +28,12 @@ DISTRO_FEATURES = "nfs smbfs wifi ppp alsa ext2 vfat pcmcia usbgadget usbhost pc
 # Following features are for ARM and E500 based machines
 DISTRO_FEATURES += "eabi"
 
+# The following feature enables the MIPS ABI PLT extensions
+# This feature needs GCC 4.4 binutils 2.19 or glibc/eglibc 2.9
+# or higher
+
+DISTRO_FEATURES += "mplt"
+
 #############################################################################
 # LIBRARY NAMES
 #############################################################################





More information about the Openembedded-commits mailing list