aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc
AgeCommit message (Collapse)Author
2016-07-29klibc: fix install destination in 64bit envMichael Walle
klibc installs everything into /usr/lib by default. But the recipe assumes it installs to ${libdir} which is /usr/lib64 in 64bit environment. Package generation fails badly in this case. Set INSTALLDIR to fix this. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25klibc: fix sh deps ver (PR is needed after PV)Andrea Adami
Revert commit dd1ca18 removing ${PR}. Bad idea. The shared lib could not be found giving this error: Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for klibc-utils-XXX: * libklibc (= 2.0.4) * * opkg_install: Cannot install package klibc-utils-XXX. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25klibc_2.0.4: Silence Warning about klibc-xxx-so already strippedAndrea Adami
Fixes: WARNING: File 'usr/lib/klibc-HWWIvOaMdZy4N4-6rLLHAB2TjFQ.so' from klibc was already stripped, this will prevent future debugging! WARNING: File 'usr/lib/klibc/lib/klibc-HWWIvOaMdZy4N4-6rLLHAB2TjFQ.so' from klibc was already stripped, this will prevent future debugging! Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25klibc_2.0.4: Silence QA Error about non-symlink so [dev-elf]Andrea Adami
Following debian packaging-style we have a copy of klibc-xxx.so in libklibc-dev. (Comments can be found in klibc.spec.in) Fixes: ERROR: QA Issue: -dev package contains non-symlink .so: ibklibc-dev path 'work/i586-oe-linux/klibc/2.0.4-r0/packages-split/ libklibc-dev/usr/lib/klibc/lib/klibc-HWWIvOaMdZy4N4-6rLLHAB2TjFQ.so' -dev package contains non-symlink .so: libklibc-dev path 'work/i586-oe-linux/klibc/2.0.4-r0/packages-split/ libklibc-dev/usr/lib/klibc/lib/libc.so' [dev-elf] Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25klibc_2.0.4: update to 4d1997d - Fix build for qemux86Andrea Adami
Minimally rebase staging.patch and follow upstream commits. Fixes: | usr/klibc/socketcalls/socket.o: In function `socket': | .../usr/klibc/socketcalls/socket.S:8: multiple definition of `socket' Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-08klibc.inc: use x86 over-ride instead of i486/i586/i686/pentiumAndre McCurdy
32bit x86 is covered by the x86 over-ride, so duplicate over-rides for i486/i586/i686/pentium are not required. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-17klibc: define KLIBCLIBGCCAndrea Adami
Fix build of klibc extending the EXTRA_OEMAKE. | LIST usr/klibc/klib.list | KLIBCAR usr/klibc/libc.a | KLIBCLD usr/klibc/libc.so | arm-oe-linux-gnueabi-ld: cannot find libgcc.a: No such file or directory | make[2]: *** [usr/klibc/libc.so] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[1]: *** [all] Error 2 | make: *** [klibc] Error 2 | ERROR: oe_runmake failed Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-09-26klibc: klcc: consider --sysroot option and override gcc-cross encoded sysrootAndrea Adami
For the recipes built with klcc-cross it is necessary to pass --sysroot otherwise we default to the one encoded in gcc-cross which actually is the 'first one' built. The issue was revealed when building for armv4 after having built for armv5te: the produced binaries did contain Illegal Instruction (bx lr). Use ${TOOLCHAIN_OPTIONS} variable to specify --sysroot=${STAGING_DIR_TARGET} Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-28klibc-utils: add explicit dependency on klibc for the shared utilsAndrea Adami
The two recipes for klibc-utils (static and shared) have been split-off from a single original recipe for more granular packaging and share the same SRC_URI set in the .inc file so there is an implicit dependency. Make it explicit for the utils needing the shared klibc lib at runtime. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-07-24klibc: upgrade to released 2.0.4Andrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-04klcc_cross: move in target sysroot as crossscriptAndrea Adami
Klcc-cross is properly a crosscript so avoid to inherit cross.bbclass and stage it in target sysroot under usr/bin/crossscripts. Minor adjustment is necessary for INSTALLDIR. Finally some magic mangling is applied fixing the paths of sstate so that it is invalidated in case of subsequent builds targeting machines with the same arch and in case of builds sharing the sstate cache. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-04-06klibc: restylize a bit the recipesAndrea Adami
No runtime changes. Reorder and fix some typos in the comments. Remove unneeded empty do_install from utils. Fix bogus PACKAGES_${PN} = "${PN}". Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-02-28klcc-cross: force rebuild for each MACHINE of the same archAndrea Adami
In case of subsequent builds for machines belonging to the same arch we have to rebuild the klcc-cross wrapper because it is harcoding the path to the headers in machine sysroot. This hack is necessary to avoid to mark the klibc infrastructure as machine-specific. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-02-17klibc: ensure package strip logic stays the same after oe-core ↵Koen Kooi
package.bbclass changes See http://patches.openembedded.org/patch/65311/ Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-02-16klibc.inc: remove ${PR} leftoverAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-12-17klibc: upgrade from 2.0.2 to release 2.0.3Andrea Adami
Klibc now supports aarch64 / arm64 While there, remove PR/INC_PR from the recipes Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-12-17klibc.inc: add mapping for 64-bit ARM buildsKoen Kooi
Klibc is following the kernel naming ('arm64') instead of the toolchain naming ('aarch64'). Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2013-09-30klcc-cross: disable more unused tasksAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-03remove the unnecessary protocol parametersJackie Huang
It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-03klcc-cross_2.0.2: refactor recipe to respect exec_prefixAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-03klibc_2.0.2: refactor recipe to respect exec_prefixAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18klibc: add SUMMARYAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18klcc-cross: add SUMMARYAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18klibc(-static)-utils: add SUMMARYAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-05-13klibc: fix KLIBCARCH for x86-64, powerpc and powerpc64Andrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-01-30klibc_2.0.2: apply FIX_V4BX patch for armv4 targets onlyAndrea Adami
* linker fix is needed to avoid 'bx, lr' instruction on armv4 * patch is applied only for armv4 for eabi builds * http://wiki.debian.org/ArmEabiPort#Choice_of_minimum_CPU Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-16klibc: upgrade from 2.0.1 to 2.0.2Andrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-16klibc: refactor runtime deps for shared utilsAndrea Adami
rebased after d.expand / bb.data.expand change Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-28Replace bb.data.* with d.*Paul Eggleton
Used sed expression given here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html Plus an additional expression for .expand. Full expression is: 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' \ -e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Some minor correction in systemd.bbclass was needed for some expressions that didn't quite match the regex in the desired way; additionally a few instances were manually changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa
* bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) * use += instead of = in most cases to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-16klibc: upgrade from 2.0 to 2.0.1Andrea Adami
* remove unused patches legacy of oe-classic Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-16klibc: fix runtime dependencies for shared utilsAndrea Adami
* and remove bogus dependencies for the static utils * introduced by do_split_packages * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19recipes: convert tabs to 4 spaces in populate_packagesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05klibc: release klibc 2.0Andrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05klibc: update to git tag 49419d2df2018fff5ae6250cf55b16fa65bdc490Andrea Adami
* still pre-2.0 * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-24klibc: upgrade to git tag c2c7f19Andrea Adami
* include last patches of may 2012 * tracking upstream wrt forthcoming 2.0 release * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-14klibc: upgrade to latest git (pre 2.0)Andrea Adami
* remove cherry-picked patch applied in master * remove comments in klcc recipe * remove slashes from paths in klibc recipe * revert involontary oe_runmake install changes * reset INC_PR * v2 removes obolete cleanings wrt headers_install Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-14klibc_1.5.26: now build against linux-libc-headersAndrea Adami
* add install-patch creating symlinks as done by debian * extra add the mtd headers * refresh patches (split out prefix.patch) * recipe is now not machine-specific anymore * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-10klibc: upgrade from 1.5.25 to 1.5.26Andrea Adami
* minor updates, still waiting for release 2.0 * v2 adds another (sometimes) missing header Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-24klibc_1.5.25: add patches to build with 3.2 kernel headersAndrea Adami
* kernel_3.2__aligned_u64.patch is already upstream * hack around the missing headers (now in /generated/asm) * bump INC_PR * waiting for klibc_2.0 release Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-01klibc: add MIT LicenseAndrea Adami
* After a talk with Beth Flanagan licensing is now clear: * "LICENSE = "BSD-3-Clause & GPL-2.0 & MIT" (If it's --without-zlib). * If not then it's: LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib" * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-29klibc_1.5.25: Fetcher and QA fixesAndrea Adami
* fix unfetchable SRC_URI and use git fetcher instead * and remove checksums file * adapt ${S} * fix QA about non -staticdev package contains static .a library * fix QA about /bin installed but not shipped * fix license and relative QA * bump INC_PR * patchset untouched awaiting klibc_2.0, expected in March 2012 Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-22meta-initramfs: import klibc recipe and bbclass from meta-oeAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>