summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc
Commit message (Collapse)AuthorAgeFilesLines
* uclibc: Revert systemd regressing patch from upsteam uclibc and uprev SRCREVKhem Raj2012-09-142-2/+324
| | | | | | | | | | | | | | This patch is causing systemd based systemd to not boot Revert of patch has been tested on tip of master hence the new SRCREV New SRCREV brings in one another regression fix as described here http://lists.uclibc.org/pipermail/uclibc/2012-August/046993.html (From OE-Core rev: c24d518b76f07d86de03259048035407ae3bde68) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-0.9.33: Update to latest on 0.9.33 branchKhem Raj2012-09-043-21/+104
| | | | | | | | | | | Apply mount.h sync patch which is needed for systemd to work. (From OE-Core rev: dc7e857f2cf16aad859b6a245c29b3958cd065ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Move to tip of master and sync mount.hKhem Raj2012-09-023-4/+86
| | | | | | | | | | | mount.h sync with glibc is needed to get new defines which are needed for some packages like systemd (From OE-Core rev: ce4d7f4376aac2a2df1a05884d7946ee469d63c1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Use gcc-cross-initial as staging compilerKhem Raj2012-08-214-20/+14
| | | | | | | | | | | | | | | Do not build fake shared libraries during uclibc-initial phase Let uclibc depend on gcc-cross-initial instead of gcc-cross-intermediate thereby set stage to remove gcc-cross-intermediate Let uclibc depend on uclibc-initial so that boostrap sysroot gets populated properly (From OE-Core rev: b954c2d7cd978adc059d672425c197eaaf57e852) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc.inc,uclibc-config.inc: Untabify python snippetsKhem Raj2012-08-212-71/+85
| | | | | | | | | To appease bitbake (From OE-Core rev: cf975073a11c93f4a9fb5bdd72c16dc0ca9c3c54) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-0.9.33: add posix_fallocate implementationKhem Raj2012-06-292-0/+409
| | | | | | | | | This gets systemd building with uclibc (From OE-Core rev: d577fa59d8643954249fed7a79232e609add36f8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Update for building systemdKhem Raj2012-06-299-108/+660
| | | | | | | | | | | | | | | | This adds uclibc patches to build systemd there are new functions that are used by systemd which are needed Additionally when using gold linker to build userspace based on uclibc there are spurious hidden symbol that show up in librt.so and libc.so which should not exist So we patch uclibc for that (From OE-Core rev: ecffa7571ed27a75e3248cb860affae233249440) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Separate the bits between uclibc and uclibc-initialKhem Raj2012-06-299-97/+221
| | | | | | | | | | | | | uclibc and uclibc-initial were providing conflicting PROVIDES separate the common bits into logical pieces. Create a common inc file to hold package information and version specific includes so correct logical units can be included in uclibc and uclibc-initial recipes. (From OE-Core rev: bdfd2f6f286889b8920ebf6a670542b26534c1cb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Fix packaging to match the new package orderKhem Raj2012-06-251-13/+15
| | | | | | | | | | This gets rid of some phony rdepends on uclibc-dev being reported (From OE-Core rev: 4eab0ed5dd23c2093992854c19ad5ab8c862746e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Upgrade to latest tip of masterKhem Raj2012-06-214-120/+93
| | | | | | | (From OE-Core rev: 3c516e1032c86156dc09ffa509977fe197470090) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc_0.9.33.bb: Upgrade to latest gitKhem Raj2012-06-181-2/+2
| | | | | | | | | | This is needed otherwise glib-2.0 wont run correctly (From OE-Core rev: c495e31f278e49e15fb48285f3b68794f6cf888e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Move to latest tip of masterKhem Raj2012-06-111-1/+1
| | | | | | | | | | | | | | This gets the important fix for eventfd syscall handling which was exposed by glib 2.32 upgrade without this patch core-image-sato would get stuck and wont boot all the way through Same patch is needed for 0.9.33 as well (From OE-Core rev: 80fa01c6ea618ea32ab40d151d8be2347ede30b3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: replace os.system with subprocess.callRobert Yang2012-05-301-3/+4
| | | | | | | | | | | | | | | Replace os.system with subprocess.call since the older function would fail (more or less) silently if the executed program cannot be found More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] (From OE-Core rev: a07d03cc6f67c88feb9813ae7deb6e4a93552dfe) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc.inc: uclibc rtld does support GNU_HASHKhem Raj2012-05-111-1/+2
| | | | | | | (From OE-Core rev: a4b74a8244e8b55075082e6d5a59f35f8e437e9d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Return correct endianness for mips64Khem Raj2012-05-061-1/+1
| | | | | | | | | Regular expression did not check for mips64 (From OE-Core rev: 945b817d381bdb68202982536daaaaff78ad5761) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-0.9.33: Update to tip of 0.9.33 branchKhem Raj2012-05-011-2/+2
| | | | | | | (From OE-Core rev: ce0007e7561e67f57f6e6ba3a63f327a21a6cf96) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Update to latest git tipKhem Raj2012-05-011-2/+2
| | | | | | | (From OE-Core rev: 0ba05b985b59f7200005e8fd28be6ebca019c46c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc SDK not including libpthread_nonshared.aMark Norman2012-04-261-4/+4
| | | | | | | | | Modified the uclibc PACKAGES list order to ensure the uclibc-dev package is processed before uclibc-staticdev to allow *_nonshared.a libraries to be packaged in the uclibc-dev package. The *_nonshared.a libraries are required by the SDK. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PR bump for all recipes that DEPEND on ncursesScott Garman2012-03-151-1/+1
| | | | | | | | | | The packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses. (From OE-Core rev: be92256917c157284ef8370bb93bbf443849b2e1) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie2012-03-051-1/+1
| | | | | | | | sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-052-9/+9
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Upgrade recipes from 0.9.32 -> 0.9.33Khem Raj2012-02-0832-1685/+195
| | | | | | | | | | Prefer 0.9.33 by default Delete recipes for 0.9.32 (From OE-Core rev: 5d2c0b051072b3cee510dcad8d20fb26d3843f62) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Enable options needed for ltp to compileKhem Raj2012-02-081-0/+5
| | | | | | | (From OE-Core rev: 22309029a9599b8f947c1fca664760123c325885) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Update to latest RCKhem Raj2012-01-259-132/+194
| | | | | | | | | Document the patches (From OE-Core rev: 746e8ffa66850bf9050cd6baf94eb76c492eb535) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Dont package all .a in uclibc-devKhem Raj2012-01-251-2/+1
| | | | | | | | | | 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>
* uclibc: Upgrade to latest masterKhem Raj2012-01-1914-860/+134
| | | | | | | | | 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>
* busybox/uglibc: remove obsolete check for "kernel24"Andrei Gherzan2012-01-171-3/+1
| | | | | | | | | | | | | 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>
* uclibc: Configure UCLIBC_HAS_WCHAR based on libc-posix-clang-wchar distro ↵Khem Raj2012-01-101-0/+1
| | | | | | | | | feature (From OE-Core rev: 80e6f9201ffa3b8f52f6d452c8657ec6fda4749c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* getVar/setVar cleanupsRichard Purdie2011-11-271-17/+12
| | | | | | | | | 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>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-102-13/+13
| | | | | | | | | | | | | | | | | 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>
* uclibc_0.9.32: Sync mount.h from eglibcKhem Raj2011-08-092-1/+87
| | | | | | | | | | 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>
* uclibc: Add patch header for sync_file_range2.patchKhem Raj2011-07-221-0/+7
| | | | | | | (From OE-Core rev: 0cab3b6c37a5dde74db2e20620480413eb1d2f03) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Sync patches with DOS line endings that became corruptedRichard Purdie2011-07-226-605/+605
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc_0.9.32: Implement sync_file_range2.Khem Raj2011-07-202-1/+42
| | | | | | | | | | 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>
* uclibc: improve packaging granularityPhil Blundell2011-07-201-15/+16
| | | | | | | | | | | 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>
* uclibc-0.9.32: Implement execvpe and refresh scheduler functionsKhem Raj2011-07-074-1/+621
| | | | | | | | | 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>
* uclibc_git: Implement execvpe and refresh scheduler functionsKhem Raj2011-07-074-1/+621
| | | | | | | | | 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>
* uclibc_git: Move SRCREV past 0.9.32 releaseKhem Raj2011-07-0714-957/+70
| | | | | | | | | | | 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>
* uclibc: Add recipes for 0.9.32 releaseKhem Raj2011-07-0724-0/+7602
| | | | | | | (From OE-Core rev: 99dcbc151676f9488e00374ef525f72854b9d459) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Fix compilation in thumb modeKhem Raj2011-07-021-0/+7
| | | | | | | | | | | | | 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>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | 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>
* uclibc: Add default uClibc.machine filesKhem Raj2011-07-012-0/+30
| | | | | | | | | | | | | 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>
* uclibc: Fix bug exposed by udev 168+ for mips architectureKhem Raj2011-06-302-1/+35
| | | | | | | | | | | | | | | | | 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>
* uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distroKhem Raj2011-06-302-157/+1
| | | | | | | | | | 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>
* uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATSKhem Raj2011-06-302-0/+30
| | | | | | | (From OE-Core rev: 619c16c16d4de643a87cf56d3cd8eb7eac83d965) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endianKhem Raj2011-06-301-1/+1
| | | | | | | | | | 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>
* uclibc-config.inc: Fix regexp to determine big-endian armKhem Raj2011-06-301-1/+1
| | | | | | | | | | 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>
* uclibc: Remove redundant machine/arch configsKhem Raj2011-06-3014-840/+0
| | | | | | | | | | | | | | | | | | | | | | 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>
* uclibc.inc: libsegfault is only RPROVIDED by uclibcKhem Raj2011-06-221-1/+1
| | | | | | | | | | 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>
* uclibc: Add support for $ORIGINKhem Raj2011-06-223-1/+401
| | | | | | | | | 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>