[oe] [PATCH] Modify distro/minimal.conf to use glibc and add an eglibc-based minimal distribution

Guo Hongruan camelguo at gmail.com
Tue Dec 22 02:24:39 UTC 2009


1. conf/distro/minimal-eglibc.conf: add minimal distribution based on eglibc.
2. conf/distro/minimal.conf: use glibc instead of eglibc
---
 conf/distro/minimal-eglibc.conf |   41 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 conf/distro/minimal-eglibc.conf

diff --git a/conf/distro/minimal-eglibc.conf b/conf/distro/minimal-eglibc.conf
new file mode 100644
index 0000000..5ab275b
--- /dev/null
+++ b/conf/distro/minimal-eglibc.conf
@@ -0,0 +1,41 @@
+#-----------------------------------------------------------------------------
+#@TYPE: Distribution
+#@NAME: Minimal uClibc
+#@DESCRIPTION: uClibc based Embedded Linux Distribution Configuration (minimal)
+#
+#@COMMENT: This distribution configuration serves as a starting point for
+#@COMMENT: the integration of new target platforms, machines, or distributions.
+#@COMMENT: It bases on conservative settings and should always be buildable.
+#-----------------------------------------------------------------------------
+
+#
+# Header
+#
+DISTRO_NAME = "minimal-eglibc"
+
+TARGET_FPU_arm = "soft"
+TARGET_FPU_armeb = "soft"
+
+LIBC = "eglibc"
+
+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"
+
-- 
1.5.4.3





More information about the Openembedded-devel mailing list