minimal: Add 'mplt' to DISTRO_FEATURES.
authorKhem Raj <raj.khem@gmail.com>
Sat, 19 Dec 2009 22:22:12 +0000 (14:22 -0800)
committerKhem Raj <raj.khem@gmail.com>
Mon, 21 Dec 2009 06:54:45 +0000 (22:54 -0800)
* 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@gmail.com>
Acked-by: Holger Hans Peter Freyther <zecke@selfish.org>
conf/distro/minimal-uclibc.conf
conf/distro/minimal.conf

index 9594622..df72769 100644 (file)
@@ -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"
+
index 1e9eec2..00397db 100644 (file)
@@ -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
 #############################################################################