summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-core/glibc/glibc.inc
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/glibc/glibc.inc')
-rw-r--r--meta/recipes-core/glibc/glibc.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
new file mode 100644
index 0000000000..ecaf593b22
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc.inc
@@ -0,0 +1,42 @@
1DESCRIPTION = "GNU C Library"
2HOMEPAGE = "http://www.gnu.org/software/libc/libc.html"
3BUGTRACKER = "http://sources.redhat.com/bugzilla/"
4SECTION = "libs"
5PRIORITY = "required"
6LICENSE = "LGPLv2.1+ & GPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
8 file://elf/cache.c;beginline=1;endline=17;md5=926aac25497b1de7d630b4749005d208 \
9 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \
10 file://bits/types.h;beginline=1;endline=18;md5=267938e7c0538e76f734551ec6ea908d"
11# nptl needs unwind support in gcc, which can't be built without glibc.
12DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers"
13RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
14#this leads to circular deps, so lets not add it yet
15#RDEPENDS_ldd += " bash"
16#RDEPENDS += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}"
17PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
18PROVIDES += "virtual/libintl virtual/libiconv"
19
20inherit autotools
21
22GLIBC_EXTRA_OECONF ?= ""
23INHIBIT_DEFAULT_DEPS = "1"
24
25do_rig_locales() {
26 # If indicated, only build a limited selection of locales
27 if [ "x${LIMIT_BUILT_LOCALES}" != "x" ]; then
28 INFILE="${S}/localedata/SUPPORTED"
29 OUTFILE="${S}/localedata/SUPPORTED.tmp"
30 head -n 3 $INFILE > $OUTFILE
31 for i in ${LIMIT_BUILT_LOCALES}; do
32 echo
33 grep $i $INFILE >> $OUTFILE
34 done
35 head --lines=-1 $OUTFILE > $INFILE
36 tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE
37 fi
38}
39
40addtask rig_locales before do_compile after do_configure
41
42ARM_INSTRUCTION_SET = "arm"