summaryrefslogtreecommitdiff
path: root/meta/recipes-core/uclibc
AgeCommit message (Collapse)AuthorFiles
2012-11-02recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang4
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-23uClibc: Resolve conflicting options when building for mips32Aristov Maxim3
Signed-off-by: Aristov Maxim <m@ximilian.ru> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14uclibc: Revert systemd regressing patch from upsteam uclibc and uprev SRCREVKhem Raj2
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03uclibc-0.9.33: Update to latest on 0.9.33 branchKhem Raj3
Apply mount.h sync patch which is needed for systemd to work. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02uclibc-git: Move to tip of master and sync mount.hKhem Raj3
mount.h sync with glibc is needed to get new defines which are needed for some packages like systemd Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-21uclibc: Use gcc-cross-initial as staging compilerKhem Raj4
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-08-21uclibc.inc,uclibc-config.inc: Untabify python snippetsKhem Raj2
To appease bitbake Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-29uclibc-0.9.33: add posix_fallocate implementationKhem Raj2
This gets systemd building with uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-29uclibc-git: Update for building systemdKhem Raj9
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-29uclibc: Separate the bits between uclibc and uclibc-initialKhem Raj9
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. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25uclibc: Fix packaging to match the new package orderKhem Raj1
This gets rid of some phony rdepends on uclibc-dev being reported Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-21uclibc-git: Upgrade to latest tip of masterKhem Raj4
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15uclibc_0.9.33.bb: Upgrade to latest gitKhem Raj1
This is needed otherwise glib-2.0 wont run correctly Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-11uclibc: Move to latest tip of masterKhem Raj1
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-30meta: replace os.system with subprocess.callRobert Yang1
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-11uclibc.inc: uclibc rtld does support GNU_HASHKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-06uclibc: Return correct endianness for mips64Khem Raj1
Regular expression did not check for mips64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-01uclibc-0.9.33: Update to tip of 0.9.33 branchKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-01uclibc-git: Update to latest git tipKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-26uclibc SDK not including libpthread_nonshared.aMark Norman1
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.
2012-03-14PR bump for all recipes that DEPEND on ncursesScott Garman1
The packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie1
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2
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>
2012-02-07uclibc: Upgrade recipes from 0.9.32 -> 0.9.33Khem Raj32
Prefer 0.9.33 by default Delete recipes for 0.9.32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-02-07Enable options needed for ltp to compileKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-01-25uclibc-git: Update to latest RCKhem Raj9
Document the patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-25uclibc: Dont package all .a in uclibc-devKhem Raj1
only *_nonshared.a are to be packaged in uclibc-dev rest can go into uclibc-staticdev 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 Raj14
Document the patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-01-17busybox/uglibc: remove obsolete check for "kernel24"Andrei Gherzan1
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] 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 Raj1
feature Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-11-26getVar/setVar cleanupsRichard Purdie1
Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. 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 Purdie2
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 *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-09uclibc_0.9.32: Sync mount.h from eglibcKhem Raj2
mount.h has few more defines that are being used by newer applications such as systemd 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 Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-20uclibc_0.9.32: Implement sync_file_range2.Khem Raj2
On some arches e.g. arm, ppc sync_file_range2 is used instead of sync_file_range so we should consider that Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-20uclibc: improve packaging granularityPhil Blundell1
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. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-07-07uclibc-0.9.32: Implement execvpe and refresh scheduler functionsKhem Raj4
Enable UCLIBC_HAS_UTMPX Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-07uclibc_git: Implement execvpe and refresh scheduler functionsKhem Raj4
Enable UCLIBC_HAS_UTMPX Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-07uclibc_git: Move SRCREV past 0.9.32 releaseKhem Raj14
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-07uclibc: Add recipes for 0.9.32 releaseKhem Raj24
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-01uclibc: Fix compilation in thumb modeKhem Raj1
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie1
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01uclibc: Add default uClibc.machine filesKhem Raj2
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 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 Raj2
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. 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 Raj2
Remove unused uClibc.distro from topdir. It just creates confusion Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-30uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATSKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-30uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endianKhem Raj1
ARCH_{BIG|LITTLE}_ENDIAN is governed by ARCH_WANTS_{LITTLE|BIG}_ENDIAN therefore we tame the superior Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-30uclibc-config.inc: Fix regexp to determine big-endian armKhem Raj1
Without this even arm-*-* was being treated as big endian but normal convention is the arm-*-* is little endian Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-30uclibc: Remove redundant machine/arch configsKhem Raj14
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-22uclibc.inc: libsegfault is only RPROVIDED by uclibcKhem Raj1
Using ${PN} also means that uclibc-initial gets to provide it which we do not want Signed-off-by: Khem Raj <raj.khem@gmail.com>