summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* e2fsprogs: update acinclude.m4Ross Burton2014-09-101-2/+51
| | | | | | | | | | Some macros have been added upstream and were not being executed, so refresh our fork of this file. (From OE-Core rev: 6988baed623c507aa44164801c5359411f462d84) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: remove manual build of util/substRoss Burton2014-09-101-4/+0
| | | | | | | | | The build system uses BUILD_CC itself now, so we don't need to do it manually. (From OE-Core rev: 32ddff201eb00b1ffa244904251ad0ad39760b62) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: enable verbose buildRoss Burton2014-09-101-1/+1
| | | | | | | (From OE-Core rev: e29c5947c2618341a46dc125a155b80c07d2f9ae) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: remove chmodRoss Burton2014-09-101-2/+1
| | | | | | | | | This chmod doesn't appear to be needed, and history fades away in 2005. (From OE-Core rev: bade04d62468acbec2b54f38b5071a3b1070ab9a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcihp: fix possible array out of bounds, CVE-2014-5388Sona Sarmadi2014-09-102-0/+31
| | | | | | | | | | | | Prevent out-of-bounds array access on acpi_pcihp_pci_status. [From QEMU: fa365d7cd11185237471823a5a33d36765454e16] (From OE-Core rev: 43ba8f84fb03a8f645995b43966cb87152b69f4c) Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: allow compilation for __aarch64__Joe Slater2014-09-102-0/+31
| | | | | | | | | asm/ptrace.h must be included in two files. (From OE-Core rev: dd776e2aacb4e75f2195b8943a9594131592a0da) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: backport enabling for glibc 2.20Ross Burton2014-09-103-24/+31
| | | | | | | | | | Now that we're running glibc 2.20 not 2.19, backport the configure.ac fixes from upstream. (From OE-Core rev: 3a98dd15f19034a1837210f764310c195f9906e1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: disable user site supportYasir-Khan2014-09-101-0/+4
| | | | | | | | | | | | | | | | | The user site-packages gets inserted into sys.path ahead of the system site directories, so a site package installed there will be used in preference to what's in our sysroot, causing less deterministic builds, and potential build breakage, depending on what the user has installed there. Disable it for our native python, so they don't affect our builds. (From OE-Core rev: c448bf3629ab5d930ed845d4ba48e37e4a85d2a3) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpmresolve: ignore null requiresRobert Yang2014-09-031-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not a problem if a package requires nothing (similar to RDEPENDS is null), for example, these packages depends on nothing: [snip] alsa-conf-base base-files eglibc-binary-localedata-en-us xserver-xf86-config [snip] The rpmresolve-native's algorithm is: ===fake code for pkg in pkg1, pkg2, pkg3: rc = get_req(pkg) return rc ===fake code Suppose of the 3 pkgs requires null: - We are lukcy if pkg1 or pkg2 is null, nothing happend. - We are *not* lukcy if pkg3 is null, and will get the error when "INHERIT += 'buildhistory'": ERROR: Cannot get the package dependencies. Command '/path/to/x86_64-linux/usr/bin/rpmresolve -t /path/to/var/lib/rpm' returned 1: This patch fixes the problem. (From OE-Core rev: 2f234160ff4e9eccd8794a31df851b96328f6b74) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-postinsts.service: remove redundant lineChen Qi2014-09-031-1/+0
| | | | | | | | | | The basic.target itself requires sysinit.target, so there's no need to write this redundant line in the run-postinsts unit file. (From OE-Core rev: 28835fcd78fd35db6d3bd7ee2be16904ddf11991) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: only depends on libxext-native when x11Robert Yang2014-09-031-1/+1
| | | | | | | | | | Fixed when build without x11 in DISTRO_FEATURES: ERROR: libxext-native was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) (From OE-Core rev: 012c7fbe0a21e469db5112873e778ff7c3b17237) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Fix build for mips64Khem Raj2014-09-013-0/+173
| | | | | | | | | Add missing mips64 specific config files (From OE-Core rev: 4c0a9ccbad2889b27b4b1d2ab91215a4bdcca3ce) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Remove references to eglibcKhem Raj2014-09-012-2/+2
| | | | | | | | | change use of eglibc related variabled to glibc equivalents (From OE-Core rev: fd15d6e0c8da75951a91d4467eda23c229b1026d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add explicit configs for Time-HiResJackie Huang2014-09-011-0/+7
| | | | | | | | | | | | | | The compilation of Time-HiRes tries to compile and run the testing program but definitely fails since we are cross compiling: Looking for clock_gettime()... ./tmp26733: ./tmp26733: cannot execute binary file Looking for clock_getres()... ./tmp26733: ./tmp26733: cannot execute binary file so add explicit configs to avoid the auto detecting. (From OE-Core rev: 750b2a89af404dc7b275aa40fb693b07b9b297fe) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: depends on libxext-native when enable sdlRobert Yang2014-08-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed do_configure error: ERROR: User requested feature sdl configure was not able to find it. Install SDL devel The error message from log.do_configure, and if we check config.log, the error is: sysroots/x86_64-linux/usr/lib/libXext.so.6: undefined reference to `_XEatDataWords' The _XEatDataWords is provided by libX11.so, the dependencies are: qemu-native -> sdl(from the host) -> libXext.so(maybe host or native) -> libX11.so (maybe host or native) For example on Ubuntu 12.04 x86_64, the link route is: qemu-native's do_configure sdl checking: /usr/lib/x86_64-linux-gnu/libSDL.so --> <sysroots>/x86_64-linux/usr/lib/libXext.so.6 --> /usr/lib/x86_64-linux-gnu/libX11.so So it is: host sdl -> sysroot libXext.so.6 -> host X11.so qemu-native doesn't depend on libxext-native, so the error would happen if the libx11-native is being rebuilding and the host's libX11.so doesn't have _XEatDataWords. Manually reproduce it on Ubuntu 12.04 x86_64: $ bitbake qemu-native libx11-native libxext-native $ bitbake qemu-native libx11-native -ccleansstate && bitbake qemu-native Note, only qemu-native has this problem since libxext depends on libX11, and SDL would depend on libxext when x11 is enabled. (From OE-Core rev: fbf6995306d85ad868fa5d33da9b493e7e0de414) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-distribute: fix interpreterRobert Yang2014-08-281-0/+2
| | | | | | | | | It should use "/usr/bin/env python3" rather than python. (From OE-Core rev: 5cf12b20c08d927af8b1a4e2997d325a030c2269) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootchart2: no bashism in bootchartd.inRobert Yang2014-08-282-2/+31
| | | | | | | | | So use /bin/sh (From OE-Core rev: bd96d929345e90d121f7a5d40fde382a4f83796b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-ptest: fix bashismRobert Yang2014-08-284-5/+5
| | | | | | | | | | | | | | | | | | | | These script use /bin/sh as the interpreter, but contains bashism: recipes-devtools/insserv/files/run-ptest recipes-devtools/quilt/quilt/run-ptest recipes-devtools/tcltk/tcl/run-ptest recipes-extended/gawk/gawk-4.1.1/run-ptest recipes-support/beecrypt/beecrypt/run-ptest Fixed: "==" -> "=" (should be -eq when integer) "&>log" -> ">log 2>&1" And quilt's test scripts requires bash, add bash to RDEPENDS_quilt-ptest (From OE-Core rev: 70c6e0b84d3e17807cbea0677df2f0772a284130) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind/oprofile/systemd: no bashism in run-ptestRobert Yang2014-08-281-1/+2
| | | | | | | | | | There is no bashism in the scripts, so use /bin/sh, and add /bin/sh interpreter for systemd's run-ptest. (From OE-Core rev: 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-native: fixed bad interpreter errorRobert Yang2014-08-281-0/+5
| | | | | | | | | | | | | | | | | We may get the error on some hosts when build in deeper dir: /bin/sh: /path/to/tmp/sysroots/i686-linux/usr/bin/perl-native/pod2man: /path/to/tmp/sysroots/i686-li: bad interpreter: No such file or directory Note the "i686-li", it should be "i686-linux", but is truncated by the host. We can use "/usr/bin/env nativeperl" as we have done in cpan.bbclass for other recipe's perl script to fix the problem. (From OE-Core rev: 83dec26849a120d0f1de64e63025354fa7108491) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchelf: Add patchelf recipeRichard Purdie2014-08-281-0/+12
| | | | | | | | | | This is useful since it allows us to edit the RPATH and interpreter fields in ELF binaries. This is potentially particularly useful in improving the way we can use the SDK and also potentially making native binaries more relocatable. (From OE-Core rev: 003766fb2e50b11914ca06947ecfa039429b0815) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG for numaJackie Huang2014-08-271-0/+1
| | | | | | | | | | | | Add PACKAGECONFIG for numa to avoid build error: backends/hostmem.c:21:20: fatal error: numaif.h: No such file or directory Package numctl is from meta-oe. (From OE-Core rev: 9661ce6ed5e01dd21360946c561b3c8a1ce9fc2c) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autogen-native: inherit pkgconfig to fix a build failureShrikant Bobade2014-08-251-1/+1
| | | | | | | | | | | This patch is to inherit pkgconfig to fix a build failure. (From OE-Core rev: 217aa4d9802609d2c3628c8751a27a5d25900898) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile: workaround ice ssa corruption while DEBUG_BUILDHongxu Jia2014-08-232-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add: MACHINE = "qemux86-64" DEBUG_BUILD = "1" to local.conf and there was a ssa corruption to build guile: .. Unable to coalesce ssa_names 48 and 3476 which are marked as MUST COALESCE. sp_48(ab) and sp_3476(ab) guile-2.0.11/libguile/vm-engine.c: In function 'vm_debug_engine': guile-2.0.11/libguile/vm.c:673:19: internal compiler error: SSA corruption #define VM_NAME vm_debug_engine ^ guile-2.0.11/libguile/vm-engine.c:39:1: note: in expansion of macro 'VM_NAME' VM_NAME (SCM vm, SCM program, SCM *argv, int nargs) ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. ... Tweak libguile/vm-i-system.c to check the value of nshuf to workaround it. The tweak didn't change previous logic. [YOCTO #6411] (From OE-Core rev: 3470bbf4ae178479bd090d7191d6f0469f154b0d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Add runtime dep on gnupg if 'gpg' is in PACAKGECONFIGPaul Barker2014-08-231-1/+1
| | | | | | | | | | | The 'opkg-key' utility requires gpg to manage the list of trusted keys. The ability to verify package signatures is not much use without the ability to add keys to the trusted list... (From OE-Core rev: ebd7dce320dfdbac449b60e23cfe41125b658319) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: fix shared object file cannot be openedChong Lu2014-08-231-0/+1
| | | | | | | | | | | | | | | | | | | When we require Expect package in tcl script, we will get following error: couldn't load file "/usr/lib/expect5.45/libexpect5.45.so": /usr/lib/expect5.45/libexpect5.45.so: cannot open shared object file: No such file or directory while executing "load /usr/lib/expect5.45/libexpect5.45.so" ("package ifneeded Expect 5.45" script) invoked from within "package require Expect" (file "hello.tcl" line 3) This patch fixes this issue. (From OE-Core rev: 43813ddfa8cade9ea1c5de24dcd4e275b1486cff) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Explicitly disable libiscsi, its not in DEPENDSJonathan Liu2014-08-231-1/+1
| | | | | | | (From OE-Core rev: 71fd367f6a460257b6a5866b4932762b041e9563) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix ptest execution failureChong Lu2014-08-231-2/+15
| | | | | | | | | | ptest needs runtest-TESTS target. serial-tests is required to generate this target. (From OE-Core rev: d8e65c07ee8a4c6e29922ec37af82ed31ff814cc) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix the output format of all testsChong Lu2014-08-231-1/+1
| | | | | | | | | We should use "PASS:|FAIL:|SKIP: testname" to output results of ptest. (From OE-Core rev: 67462817222dfa674cf4be7dcd7d4edc5e8631d6) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: add perl to RDEPENDS_syslinux-miscRobert Yang2014-08-231-0/+1
| | | | | | | | | | | | | | | | | | These scripts are perl: syslinux-misc/usr/bin/md5pass syslinux-misc/usr/bin/isohybrid.pl syslinux-misc/usr/bin/pxelinux-options syslinux-misc/usr/bin/keytab-lilo syslinux-misc/usr/bin/sha1pass syslinux-misc/usr/bin/syslinux2ansi syslinux-misc/usr/bin/mkdiskimage syslinux-misc/usr/bin/lss16toppm syslinux-misc/usr/bin/ppmtolss16 (From OE-Core rev: aa07ab87e0081d2677e6836195f17d3cd1d1af73) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: add perl to RDEPENDS_rpm-buildRobert Yang2014-08-232-6/+2
| | | | | | | | | | | | | | | | | Perl scripts: rpm-build/usr/lib64/rpm/http.req rpm-build/usr/lib64/rpm/php.prov rpm-build/usr/lib64/rpm/osgideps.pl rpm-build/usr/lib64/rpm/perl.prov rpm-build/usr/lib64/rpm/bin/api-sanity-autotest.pl rpm-build/usr/lib64/rpm/php.req rpm-build/usr/lib64/rpm/perldeps.pl rpm-build/usr/lib64/rpm/perl.req (From OE-Core rev: c951d443daca22a3dd90897bf5b26cc113b9343d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: add bash to RDEPENDS_aptRobert Yang2014-08-231-1/+1
| | | | | | | | | | | Bash scripts: apt/usr/lib64/dpkg/methods/apt/update apt/usr/lib64/dpkg/methods/apt/install (From OE-Core rev: 5533807d3168a4f923c502a0837837dbaa1e0185) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: add bash to RDEPENDS_xmltoRobert Yang2014-08-231-1/+2
| | | | | | | | | | Bash scripts: xmlto/usr/bin/xmlto.real (From OE-Core rev: b19c8990ef064a95b18784443be7e7e6a921ec23) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kconfig-frontends: add bash to RDEPENDS_kconfig-frontendsRobert Yang2014-08-231-1/+1
| | | | | | | | | | Bash script: kconfig-frontends/usr/bin/kconfig-tweak (From OE-Core rev: 6e5764db0cf8f45b5492cfbe450bc2562d959dc2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pax-utils: add bash to RDEPENDS_pax-utilsRobert Yang2014-08-231-0/+2
| | | | | | | | | | | Bash scripts: pax-utils/usr/bin/symtree pax-utils/usr/bin/lddtree (From OE-Core rev: 9769f847370260f0372b35847f7386b9d9567261) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool: add bash to RDEPENDS_libtoolRobert Yang2014-08-235-6/+4
| | | | | | | | | | | | | | | | | | | | * Set CONFIG_SHELL="/bin/bash" * Add bash to RDEPENDS_libtool We had already set CONFIG_SHELL="/bin/bash" for libtool-native, libtool-cross and nativesdk-libtool, now also set for target libtool, if we don't set this, libtool would use /bin/sh, /bin/bash, /bin/ksh or /bin/sh5 according to the host, and the build is undetermined, this patch can fix the problem, libtool is a development tool, rdepends on bash should not cause toubles (for example, the size of the image) Have tried to set CONFIG_SHELL="/bin/sh" (/bin/sh -> dash), but there is still a few bashsim in the output libtool. (From OE-Core rev: c07f09b1b261b0d480544a6100f6a83835c62019) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: Backport fixes for building with muslPaul Barker2014-08-232-0/+55
| | | | | | | | | | | Both of these fixes have been applied upstream and improve general code correctness. They are needed when building with TCLIBC=musl but shouldn't cause any harm with other libc implementations. (From OE-Core rev: 23a533908355b7bb37ce34b073ac91aa20c5776d) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix Darwin cross-compilationCristian Iorga2014-08-182-2/+34
| | | | | | | | | | Darwin target will not be detected correctly if qemu is cross-compiled under a Linux host. (From OE-Core rev: 47d1fc9f5c38f3d092937c47bd4c2f45adaa7fe6) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Drop unneeded nativesdk-libsdl RDEPENDSRichard Purdie2014-08-171-1/+0
| | | | | | | | Now sdl is completely handled by PACKAGECONFIG, we can drop this RDEPENDS. (From OE-Core rev: df764706c221a0da77af993dad23b1b97507ec8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-targets.inc: Update to handle mingw/darwinRichard Purdie2014-08-171-4/+8
| | | | | | | | | For non-linux targets, don't return linux-user qemu targets. This change also improves readability of the functions through better variable names. (From OE-Core rev: 3ad8107fa0244b8d0f03400bcd82349f97f347f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: fix race issueRobert Yang2014-08-162-0/+35
| | | | | | | | | | | | | | | | | Fixed do_install failed: cp -r syslinux-6.01/com32/libupload/*.h image/usr/share/syslinux/com32/include/ [snip] rm -rf image/usr/share/syslinux/com32/include [snip] cp: cannot create regular file `image/usr/share/syslinux/com32/include/serial.h': No such file or directory The cp is happened in the "libupload" dir, while "rm -fr" is happend in "lib" dir, let "libupload" depend "lib" will fix the problem. (From OE-Core rev: 7df3b098278b6d5eb418af9dfe7fd2d3b3ea607c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-initial: Put limits.h in gccdir/includeKhem Raj2014-08-151-1/+1
| | | | | | | | | | | | | | musl e.g. is configured to not use fixed-include which is an improvement btw. but libgcc-initial configure has tests which probe for limits.h and since we put it in include-fixed/ dir and that dir does not appear in gcc's internal default search path the configure tests for CPP detection fail and libgcc-initial can not be compiled. (From OE-Core rev: 3bdc225a9e622e9d594944833964fe396200db01) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootchart2: fix installed-vs-shippedRobert Yang2014-08-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | Fixed: ERROR: QA Issue: bootchart2: Files/directories were installed but not shipped /lib /lib/bootchart /lib/bootchart/bootchart-collector /lib/bootchart/tmpfs /lib/bootchart/.debug /lib/bootchart/.debug/bootchart-collector [installed-vs-shipped] local.conf: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" (From OE-Core rev: 9287029656b498b1cb23ed22ae8e78e652615383) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* squashfs-tools: Add support for LZO and LZ4 compressionMike Looijmans2014-08-151-2/+2
| | | | | | | | | | | | | | For systems that want to optimize for speed rather than size, LZO is usually a better choice than gzip or XZ. Kernel support for LZO has been available since 2.6.29. LZ4 support isn't in the mainline kernel yet, but we might as well add it now for those who want to experiment with it. (From OE-Core rev: 6c95440ed5c181754bb7c04da678081498840683) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: apply ptrace.h conflict workaroundYasir-Khan2014-08-152-0/+109
| | | | | | | | | | | | | | | Apply patch from strace upstream to workaround ptrace.h header file conflict. This patch is not available in strace-4.8 tarball pulled in by recipe. * patch from strace upstream - Work around conflict between <sys/ptrace.h> and <linux/ptrace.h> (From OE-Core rev: 3c7301adce142bab64d49b5be7c39d8b223591f5) Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pygtk: fix native python pathRobert Yang2014-08-151-0/+1
| | | | | | | | | | | | | | Fixed: 1) Set IMAGE_INSTALL_append = " python-pygtk-demo" in local.conf 2) $ bitbake core-image-minimal [snip] Computing transaction...error: Can't install python-pygtk-demo-2.24.0-r1@core2_64: no package provides /usr/bin/python-native/python [snip] (From OE-Core rev: d70bc02a80f8508995cdf8ae536a0153cebee8c9) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Protect add-exclude.patch from malloc failurePaul Barker2014-08-151-5/+9
| | | | | | | | | | | | | | In the code added by add-exclude.patch, the return values of malloc and realloc were not checked before being dereferenced. In opkg we can use xmalloc and xrealloc instead of malloc and realloc. These functions terminate the program instead of returning NULL if memory allocation fails. (From OE-Core rev: 64048d45d5c52d354396e357e765f0fd8b5e56fd) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: update compiler architecture to match gcc-runtime (armv6, armv7a)Peter A. Bigot2014-08-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | The gcc-runtime recipe builds the gcc libraries including libstdc++ with $TARGET_CC_ARCH flags, which include -march=FOO flags that affect whether atomic instructions are available. This causes an ABI incompatibility when the compiler by default generates code for less capable architectures. For example, gcc-runtime libraries on a Cortex-A8 are built with a different C++11/C++14 mutex implementation than is used code compiled outside OE and without architecture-specific flags. This commit fixes the problem specifically for ABI issues related to atomic instructions available in ARMV6 and subsequent architectures. Other ABI incompatibilities may remain in other architectures. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62100 (From OE-Core rev: 0ba6ab39f187ecd4261f08e768f365f461384a3a) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: backport patch affecting Linux kernel buildsPeter A. Bigot2014-08-154-0/+74
| | | | | | | | | | | | A long-standing bug in gcc turns out to cause problems with unpatched Linux versions due to improved optimization enabled by gcc 4.9. The upstream fix missed the gcc-4.9.1 cut-off. It's also been applied upstream to the 4.8 branch so is being added for OE's 4.8 as well. (From OE-Core rev: 06f911894a367f395139c2b0d6c2ba6371398478) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Abstract long double configuration into python functionKhem Raj2014-08-152-4/+6
| | | | | | | | | | | musl does not support IBM 128 long double for ppc, instead of doing complex overrides move it into a pythong snippet which is easier to read and more compact. (From OE-Core rev: e7011429e40ae96b9c9f1e7f3c6f4c1f1102607f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>