summaryrefslogtreecommitdiff
path: root/meta/recipes-core/uclibc
AgeCommit message (Collapse)AuthorFiles
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>
2011-06-22uclibc: Add support for $ORIGINKhem Raj3
This is required by systemd Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-22uclibc/x86_64/uClibc.machine: Enable ARCH_USE_MMUKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-14uclibc: fix compile error on i586Phil Blundell2
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 Signed-off-by: Phil Blundell <philb@gnu.org>
2011-06-14uclibc: remove PACKAGE_ARCHPhil Blundell1
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 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>
2011-06-14uclibc: remove redundant python codePhil Blundell1
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. 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>
2011-06-14uclibc: Cleanup the machine dependent config filesKhem Raj10
We only have arch specific machine fragments now. Introduce use of KCONFIG_ALLCONFIG and use allnoconfig Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-29uclibc: Add disabled COMPILE_IN_THUMB_MODE to uClibc.machine for all ARM ↵Khem Raj4
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>