summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc
AgeCommit message (Collapse)Author
2012-01-25uclibc: Dont package all .a in uclibc-devKhem Raj
only *_nonshared.a are to be packaged in uclibc-dev rest can go into uclibc-staticdev (From OE-Core rev: aa799ba49833bdf6acbcd4b34f0605050c938175) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-19uclibc: Upgrade to latest masterKhem Raj
Document the patches (From OE-Core rev: fdcae83ad715af92a4d25f4ef5b30c49ce6ceb69) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-17busybox/uglibc: remove obsolete check for "kernel24"Andrei Gherzan
Busybox checks if MACHINE_FEATURES contains "kernel24". If so, CONFIG_FEATURE_2_4_MODULES will be on "y". kernel24 is no longer present in any machine configuration. The same situation is in uglibc with a different CONFIG mapping. [YOCTO #1901] (From OE-Core rev: 7257ded5355ffdc0fc169e7f34daeedb0b3dcd78) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-10uclibc: Configure UCLIBC_HAS_WCHAR based on libc-posix-clang-wchar distro ↵Khem Raj
feature (From OE-Core rev: 80e6f9201ffa3b8f52f6d452c8657ec6fda4749c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-27getVar/setVar cleanupsRichard Purdie
Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. (From OE-Core rev: 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-09uclibc_0.9.32: Sync mount.h from eglibcKhem Raj
mount.h has few more defines that are being used by newer applications such as systemd (From OE-Core rev: 866a34dd80228a0c10cbea5d7715e2acd6cea131) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22uclibc: Add patch header for sync_file_range2.patchKhem Raj
(From OE-Core rev: 0cab3b6c37a5dde74db2e20620480413eb1d2f03) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22Sync patches with DOS line endings that became corruptedRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20uclibc_0.9.32: Implement sync_file_range2.Khem Raj
On some arches e.g. arm, ppc sync_file_range2 is used instead of sync_file_range so we should consider that (From OE-Core rev: c480def3a3531577659a9cc0f10640f3df047bc2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20uclibc: improve packaging granularityPhil Blundell
Put each of the libraries into its own package rather than dumping them all into libc0. This saves ~300kB on the installed size of an i586 micro-base-image and avoids the need to set the hated LEAD_SONAME. (From OE-Core rev: fd1b9994f75117d47c088cdbe0d2aec0b600b31c) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07uclibc-0.9.32: Implement execvpe and refresh scheduler functionsKhem Raj
Enable UCLIBC_HAS_UTMPX (From OE-Core rev: bac2e1ccca7476b670b6ec9db4b4ecb43edbfed7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07uclibc_git: Implement execvpe and refresh scheduler functionsKhem Raj
Enable UCLIBC_HAS_UTMPX (From OE-Core rev: e586bfcbfda7e0aaa6323f9063d84f6663325bb1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07uclibc_git: Move SRCREV past 0.9.32 releaseKhem Raj
Set DP = -1 since 0.9.32 should be preferred Remove patches already merged upstream Change PV to 0.9.32+0.9.33-rc0 (From OE-Core rev: b0f87affd43ebaf4a9fd07e1cb99408073c61263) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07uclibc: Add recipes for 0.9.32 releaseKhem Raj
(From OE-Core rev: 99dcbc151676f9488e00374ef525f72854b9d459) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-02uclibc: Fix compilation in thumb modeKhem Raj
It was not setting COMPILE_IN_THUMB_MODE in .config when ARM_INSTRUCTION_MODE = thumb. Reason was that this entry has to exist in merged defconfig so we add it disabled which means no harm to other architectures (From OE-Core rev: 3314325d95837cfe8091076444a85093d32320a4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01uclibc: Add default uClibc.machine filesKhem Raj
Add generic machine config file uClibc.machine in topdir should work mostly and odd ones like mips should have a copy of their own as explained (From OE-Core rev: 40ecaf6a59ba61e72d29d7e677197ef37c998408) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30uclibc: Fix bug exposed by udev 168+ for mips architectureKhem Raj
newer udev uses sgnalfd + epoll and this exposed a bug in uclibc for mips where SFD_NONBLOCK should be defined with 0200 for mips but was using 04000. This would cause random segfaults in udev during boot process Tested on qemumips/angstrom console-image since angstrom uses udev 171. It worked well when we did not use meta-oe layer because udev in oe-core will then be used which is at version 164. (From OE-Core rev: a318b3c319ab34f661b3f41855374adba5b10394) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distroKhem Raj
Remove unused uClibc.distro from topdir. It just creates confusion (From OE-Core rev: 577b16b4e4984e7fbdba7df88b0c40539f0f3167) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATSKhem Raj
(From OE-Core rev: 619c16c16d4de643a87cf56d3cd8eb7eac83d965) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endianKhem Raj
ARCH_{BIG|LITTLE}_ENDIAN is governed by ARCH_WANTS_{LITTLE|BIG}_ENDIAN therefore we tame the superior (From OE-Core rev: f9eeb4c631006079a707e24a2ab6f717587e51da) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30uclibc-config.inc: Fix regexp to determine big-endian armKhem Raj
Without this even arm-*-* was being treated as big endian but normal convention is the arm-*-* is little endian (From OE-Core rev: 00197c6914aae6bb1f68ccf4862c9246097f6fac) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30uclibc: Remove redundant machine/arch configsKhem Raj
Big endian counterparts are not needed since we already add the proper endianness to final config as seen in uclibc-config.inc The difference between arm and armv5te configs were also superficial since all it did was select arm926t which made sure that right mtune and march flags were passed to gcc when building uclibc We already do that via passing them in UCLIBC_EXTRA_CFLAGS. Similarly for other architectures the features are really taken care of in config mangler and machine config fragments are no longer needed (From OE-Core rev: 99d1c2c1204173a42808a54d2c810ab6e2555ce8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22uclibc.inc: libsegfault is only RPROVIDED by uclibcKhem Raj
Using ${PN} also means that uclibc-initial gets to provide it which we do not want (From OE-Core rev: cec81f8d2e50a50d8728fdda150b9bcfbc4e4aee) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22uclibc: Add support for $ORIGINKhem Raj
This is required by systemd (From OE-Core rev: 08ad271248cc2c7cd9cfbe683d2335337f5ebb8b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22uclibc/x86_64/uClibc.machine: Enable ARCH_USE_MMUKhem Raj
(From OE-Core rev: 40de9be89b24258e6b93e33f87a2cbc6e2861ba1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14Revert "uclibc.inc: libsegfault is only RPROVIDED by uclibc"Richard Purdie
This reverts commit 611aaca1cd983ef0b1c6442082aa31e098c63892. This was accidentally commited.
2011-06-14uclibc.inc: libsegfault is only RPROVIDED by uclibcKhem Raj
Using ${PN} also means that uclibc-initial gets to provide it which we do not want (From OE-Core rev: d90c5e093250a04d813b66ff586bda849ca6fed3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14uclibc: fix compile error on i586Phil Blundell
Without this you get: | libc/sysdeps/linux/common/epoll.c: In function '__libc_epoll_pwait': | libc/sysdeps/linux/common/epoll.c:71:80: error: memory input 7 is not directly addressable | libc/sysdeps/linux/common/epoll.c:75:86: error: memory input 7 is not directly addressable | make: *** [libc/sysdeps/linux/common/epoll.o] Error 1 (From OE-Core rev: aeacad638c2a3d5f0b6299edc3890fdaad312c79) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14uclibc: remove PACKAGE_ARCHPhil Blundell
There is no good reason for uclibc to be machine specific. Remove local assignment to PACKAGE_ARCH so that it gets the default target architecture and bump PR for that change. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/003064.html (From OE-Core rev: 6625936c011aa939e60041dc6be9850e925a6cc3) Signed-off-by: Phil Blundell <philb@gnu.org> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14uclibc: remove redundant python codePhil Blundell
This chunk of python code has been around for a while (witness the comment about gcc 3.4.0) and predates the availability of COMPATIBLE_HOST. Rewrite it using a more modern idiom. (From OE-Core rev: c0f8fc3579fb4cebc0bd01b868d919738f9b03a9) Signed-off-by: Phil Blundell <philb@gnu.org> Acked-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14uclibc: Cleanup the machine dependent config filesKhem Raj
We only have arch specific machine fragments now. Introduce use of KCONFIG_ALLCONFIG and use allnoconfig (From OE-Core rev: b87df62a0bb402a1b1dbdee182c1ffd2787979bf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-29uclibc: Add disabled COMPILE_IN_THUMB_MODE to uClibc.machine for all ARM ↵Khem Raj
configurations This entry need to exist so that it can be manipulated later to decide if uclibc is to be compiled in thumb mode or arm mode (From OE-Core rev: e6f7e11f4ec40582d6343ec3a97f62cae1574344) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-27uclibc_git.bb: Fix patch path in SRC_URIKhem Raj
(From OE-Core rev: 21613c7ccfa54874ead33c5ae0f1a160db163b37) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-27uclibc.inc: Set COMPILE_IN_THUMB_MODE in .config if ARM_INSTRUCTION_SET != armKhem Raj
This will configure uclibc to be compiled in thumb/thumb2 mode (From OE-Core rev: 77f93a2e1868a50d8d39d3efe621c530af32b450) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-27uclibc_git.bb: Fix compilation on arm when using thumb instruction setKhem Raj
(From OE-Core rev: 7011d80c6cabc304e06237d167143d577fdd2570) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-23uclibc: Upgrade to 0.9.32-rc3Khem Raj
Bring in the uclibc recipes from meta-oe they have been well tested by now. Delete 0.9.30.1 recipes (From OE-Core rev: ac60a936e737680c16b287a3dab6aa285d87c5c0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-20uclibc/site_config/funcs: getloadavg is unimplementedKhem Raj
(From OE-Core rev: 2208bde522da70ba29f3d52debb40f0365edaf9c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-05Remove machine-specific metadata for machines no longer in oe-corePaul Eggleton
(From OE-Core rev: 72567733033347b662d9baa07432985fd2da3efa) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-10-11recipes-core: Cleanup package descriptions and summariesMark Hatle
[BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-10-08Rename MACHINE=netbook to MACHINE=atom-pcDarren Hart
In preparation for the more generic atom-pc, rename the netbook machine and all the relevant overrides. Leave the linux-netbook kernel recipe intact and as the default kernel for the atom-pc machine. A future patch will convert this over to linux-wrs and likely remove the linux-netbook kernel recipe. Cc: Tom Zanussi <tom.zanussi@intel.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-10autotools: enable siteconfig by defaultJeff Polk
eglibc glibc ncurses uclibc zlib: remove explicit siteconfig Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
2010-09-03uclibc: Add siteconfig cache generationJeff Polk
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
2010-08-27Major layout change to the packages directoryRichard Purdie
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>