summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* libusb1: keep *.la in base_libdirAndreas Müller2012-01-101-2/+1
| | | | | | | | | | | | | | | | This fixes the following error found during build from scratch for meta-oe / obexd: | arm-angstrom-linux-gnueabi-libtool: link: cannot find the library | `/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/lib/libusb-1.0.la' or | unhandled argument `=/lib/libusb-1.0.la' build-tested from scratch in angstrom environment. (From OE-Core rev: ea81932400c85976ebb47b930b64990660b210f7) Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libiconv_1.14.bb: Fix build failureKhem Raj2012-01-102-1/+5015
| | | | | | | | | | | | | Currently libiconv is failing after upgrade to 1.14 this patch fixes the problem. It uses relocatable gnulib module which should be added. Delete unpackaged files. (From OE-Core rev: fcb8d6fd9c1d6ee28bb8ab79d7829f719d989bae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/common-uclibc: Cache gl_cv_func_wcwidth_worksKhem Raj2012-01-101-0/+1
| | | | | | | | | | | | | | | | | Its not computed properly during configure and we configure uclibc with widechar support anyway so its fine to cache it. It fixes the errors like | In file included from ./stdio.h:31:0, | from fpurge.h:20, | from fpurge.c:20: | /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/sysroots/qemux86/usr/include/stdio.h:662:40: error: expected declaration specifiers or '...' before '(' token | make[4]: *** [fpurge.o] Error 1 (From OE-Core rev: a471d342424502de48f28c4f8297d490f2cd1443) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add sysroot support for meta-ide-support which is the toolchain within build ↵Jessica Zhang2012-01-101-4/+5
| | | | | | | | | env case (From OE-Core rev: 3b2bbbf965f31088bcb796e8a55966a2fc180349) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxxf86dga: fix compilation with x32 toolchainNitin A Kamble2012-01-102-1/+34
| | | | | | | | | | | | | | | | | | | | Fix type conversion for x32. For x32 the off_t is 64bit and pointers are 32bit. so the conversion of pointer to off_t was resulting into this error: | XF86DGA2.c:931:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] | cc1: some warnings being treated as errors | | make[2]: *** [XF86DGA2.lo] Error 1 Fixed it by typecasting pointer into unsigned long 1st and then again typecasting unsigned long to off_t. (From OE-Core rev: 644aaa87a0e161f8a37267f13d4a18f6dfcd9a4f) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: filesystems: fix mount orderGary Thomas2012-01-062-5/+6
| | | | | | | | | | | | | | | | | | | | This changes the order that file system [types] are tried when using 'mount' in busybox when the file system type is not explictly specified. The pervious ordering is incorrect in that less capable file system types are tried first, e.g. ext2 before ext3, which will cause an ext3 file system to be mounted as ext2, disabling some of the ext3 features such as journaling. The change also moves infrequently used file system types to the end as checking for them is just a waste of effort in most cases. The list now also includes ext4. [RP: Add PR bump, unbreak patch application] (From OE-Core rev: fff18970706913e7fd7f4a119d798dddb44b388a) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: add powerpc to the compatible host and add ${TCLIBC}-dbg in ↵Zhenhua Luo2012-01-061-2/+4
| | | | | | | | | | | | | RRECOMMENDS-powerpc 1. add powerpc/powerpc64 into the compatible host list 2. valgrind requires the non-stripped libraries of ${TCLIBC}, so add ${TCLIBC}-dbg into RRECOMMENDS for powerpc (From OE-Core rev: 752e31fb437ec56785402148cae4efb63b8d93c7) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Use ?= to set LINGUAS_INSTALLDongxiao Xu2012-01-061-1/+1
| | | | | | | | | | Hob may dynamically sets BBLAYERS to bitbake server, thus we need a flexible way to load LINGUAS_INSTALL value. (From OE-Core rev: c5c3689b7102cc0c281de736c215d66dd4f1e874) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x11-common: remove extraneous BSP customizationsAndrea Adami2012-01-061-24/+0
| | | | | | | (From OE-Core rev: caf0bdaa8f137ac7a775aff3d41ec1bfb2907afa) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-driver: add xf86-video-fbdev from meta-openembeddedAndrea Adami2012-01-061-0/+8
| | | | | | | (From OE-Core rev: 4997e01cb051cc05348468707898798f9228613a) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: remove not needed fix for automake 1.11.2Nitin A Kamble2012-01-062-50/+2
| | | | | | | | | | | The pkglibexec_SCRIPTS pair is valid. the 1.11.2 introduced an bug to make it invalid. Now the automake 1.11.2 recipe is fixed, so no need for this fix for systemtap recipe. (From OE-Core rev: 0d0a9c71499c6b973fe08b02838b99e47785a07e) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mc: remove not needed fix for automake 1.11.2Nitin A Kamble2012-01-062-71/+1
| | | | | | | | | | | The pkglibexec_SCRIPTS pair is valid. the 1.11.2 introduced an bug to make it invalid. Now the automake 1.11.2 recipe is fixed, so no need for this fix for mc recipe. (From OE-Core rev: 33fa7ebd1024bff84c195285270fc8db48c90b83) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake-1.11.2: backport pkglibexec_SCRIPTS fixNitin A Kamble2012-01-062-2/+121
| | | | | | | | | | | | | automake-1.11.2 made variable libexec_SCRIPTS valid while pkglibexec_SCRIPTS invalid. Both should be either allowed or not allowed. This issue is fixed in the automake developement branch, and now backported into our automake 1.11.2 recipe. (From OE-Core rev: 4482675d3e3df3bcbedcf74eeeaec8bbc2af225a) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte: update patch headerNitin A Kamble2012-01-061-0/+8
| | | | | | | | | No functional change here. Just updating the headers of the patch. (From OE-Core rev: e937bec2c9cf632a4833de416e839ee16ba18932) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: fix compilation for x32Nitin A Kamble2012-01-062-2/+50
| | | | | | | | | | Pull a patch from gentoo to avoid sysctl syscall which is not defined for x32. (From OE-Core rev: 1d0006ad137e63214e365fbccd45a610cf9661ce) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pycairo: fix for x32Nitin A Kamble2012-01-061-3/+3
| | | | | | | | | | | Add the libdir to configure so that path like /usr/libx32 can work. Also passing parallel make flags to the building process. (From OE-Core rev: 2f134791ca5db0281af0a71fcab0e832894d412c) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: ensure /dev/pts and /dev/shm does existsOtavio Salvador2012-01-061-2/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: avoid mounting /sys if it is already mountedOtavio Salvador2012-01-062-3/+3
| | | | | | | (From OE-Core rev: fdb3d74458cd36a0fe53ee097394acc37d658ce9) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-x11-free.inc: use QT_BASE_NAME from qt4x11.bbclassOtavio Salvador2012-01-061-2/+1
| | | | | | | (From OE-Core rev: 73fc8f706b08ec74087754eacd2257856fe829d1) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-embedded.inc: use QT_BASE_NAME from qt4e.bbclassOtavio Salvador2012-01-061-2/+1
| | | | | | | (From OE-Core rev: be58cb5b41f0e6c08e9a5f576802c5a5efe7edf6) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4x11.bbclass: add QT_BASE_NAME for use in recipesOtavio Salvador2012-01-061-0/+1
| | | | | | | (From OE-Core rev: 4cda1fcae29dfbe494033bac1256f6bc5cd298e0) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4e.bbclass: add QT_BASE_NAME for use in recipesOtavio Salvador2012-01-061-0/+1
| | | | | | | (From OE-Core rev: 45ee6b25c6e15f562207e97690f8cae7123102f8) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-graphics-system: addOtavio Salvador2012-01-061-0/+27
| | | | | | | | | | | | | | Allow setting default runtime graphics system engine for Qt4 applications per machine. Depending on the GPU and Xorg driver, this can boost and impact significantly the drawing performance. The default setting is to 'raster' as this offer best performance for most machines GPUs. (From OE-Core rev: ddd3f453e93e460d8db0fcdd04fb4633fe2ebceb) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: use src_patches for out of tree kernel feature supportBruce Ashfield2012-01-061-2/+65
| | | | | | | | | | | | | | | To support larger out of tree kernel features and enhanced patching schemes, this changeset modifies the linux-yocto patching routines to call the recently factored out 'src_patches' routine. Using the returned list of local URIs for all valid patches, the logic can then determine whether or not patches can be used in place, or need to be migrated and have re-usable kernel features created. The results are then fed to the existing infrastructure to be applied and commited to the tree. (From OE-Core rev: dca97bbdbfc88c91287e74eb6a3974277f1028b7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: bump kernel version to v3.0.14Bruce Ashfield2012-01-062-13/+13
| | | | | | | | | Updating the 3.0 kernel recipe to contain v3.0.14 -stable. (From OE-Core rev: 2f2c73ead531343c5b17e598637ddabd75d53a69) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: import flexible branching supportBruce Ashfield2012-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | The commit: kern-tools: update SRCREV to pickup git operation fixes Brought in the ability to trap failed git operations on the working tree, but what it missed were some branching changes that allow arbitrary branch points and the ability to create a branch multiple times (if a feature is included multiple times). The graphics driver branches used by some BSPs need this part of the change to properly handle graphics driver branches. Updating the SRCREV to pickup the associated kern-tools changes for this support. (From OE-Core rev: 229036a961bae61847a05546a92dfc93a88c6f67) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: remove redundant package history checking stubPaul Eggleton2012-01-061-11/+0
| | | | | | | | | | | | The code that would have gone here has been superseded by the buildhistory analysis functionality implemented in meta/lib/oe/buildhistory_analysis.py and scripts/buildhistory-diff, so remove it. (From OE-Core rev: 5c8d583a12c507788c746637d5b4ddea62b0a629) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: make the package version backwards error non-fatalPaul Eggleton2012-01-061-1/+1
| | | | | | | | | | | Just make it a bb.error when a package version goes backwards, it doesn't make sense to fail the build immediately; the error(s) will still be reflected in bitbake's exit code. (From OE-Core rev: d3e70e0ed1ece5c8eb7f9c1c8140d3bd7b4333cf) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: add hostname to commit messagePaul Eggleton2012-01-061-1/+2
| | | | | | | | | | If we're building on multiple hosts then it's useful to have the hostname in the commit message. (From OE-Core rev: abf3e7f7f56cc8bcdf104d8e27e7e366b0619ed6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: add script to check for significant changesPaul Eggleton2012-01-061-0/+240
| | | | | | | | | | | | | | | | | | | Adds a buildhistory-diff script which can be used to analyse changes in the buildhistory git repository (as produced by buildhistory.bbclass), and report significant ones that may need manual checking to ensure they aren't regressions (e.g. package size changed by more than a certain percentage, files added/removed/changed in the image, etc.) The implementation is actually split into a small script and a Python module, in order to make the logic re-usable in a future web-based interface. Implements the first part of [YOCTO #1566]. (From OE-Core rev: 5e5cbb9bd8cdce402b979680288ac8c51799a24d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: remove gettext patch for non-GPLv3Saul Wold2012-01-061-3/+10
| | | | | | | | | | | GPLv2 version of gnutls does not need the gettext 0.18 patch since it still uses the over version of gettext that is also GPLv2. (From OE-Core rev: 70dc38b1e127524f50f661c5dd4b3225ddb0b36b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Update patch for non-GPLv3Saul Wold2012-01-061-89/+5
| | | | | | | | | | | Rebase the disable-lscpu patch for the updated source base, we only need to modify Makefile.am, since automake will regenerate the Makefile.in. (From OE-Core rev: a299d91ba422ed2ee34c1c54cdfaff4c88c60754) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: fix nativesdk rdependsNitin A Kamble2012-01-062-1/+3
| | | | | | | | | | | | | | | | Fixes this build error: | error: Failed dependencies: | m4 is needed by autoconf-nativesdk-2.68-r4.x86_64 | gnu-config is needed by autoconf-nativesdk-2.68-r4.x86_64 NOTE: package meta-toolchain-1.0-r6: task do_populate_sdk: Failed ERROR: Task 8 (.../meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1' (From OE-Core rev: df8d88e864fb6bdecf5c82b25c0252c3d54157ad) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-mklibs/package_ipk: Remove bashismsRichard Purdie2012-01-052-3/+7
| | | | | | | | | We now support using dash but these bashisms triggered build failures for me when using it. This replaces the code with something which works on dash. (From OE-Core rev: 4a85312568a6bb052cc511c15b4ae842ff7f8e59) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-wm: Remove x-session-manager handlingZhai Edwin2012-01-053-15/+5
| | | | | | | | | | | | | | Windows manager should be independent on session manager, especially when we have multiple session manager like mini-x and matchbox session. This commit remove session-manager stuff in matchbox-wm, as matchbox-session already has duplicated code. Also adjust alternative priority for mini-X to make it higher priority over matchbox-session. (From OE-Core rev: c3400040fdce8c049b51a8acb06eb2e92f9426d1) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libusb-compat: move libraries to base_libdirScott Garman2012-01-051-1/+11
| | | | | | | | | | udev links to libusb-compat, and so this library needs to be in base_libdir (/lib) instead of libdir (/usr/lib). (From OE-Core rev: ed937940f54d1a376b518fc276da78811c4ac50b) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: use bb.process.Popen instead of subprocess.check_outputScott Garman2012-01-051-10/+6
| | | | | | | | | | | | | | | | | | | | subprocess.check_output was only introduced in Python v2.7, so we cannot use it. This refactors the QA test to use bb.process.Popen instead. This fixes the error: AttributeError: 'module' object has no attribute 'check_output' It no longer checks the return status of prelink-rtld, as that case was simply adding noise. This QA test is intended to only warn about specific paths that binaries could be linking to, not handle the case where there is a missing library. (From OE-Core rev: 0443487fe0bc628db9b03306bdc9dcdb39a121dc) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Abstract class extension code into classextend.pyRichard Purdie2012-01-053-80/+107
| | | | | | (From OE-Core rev: 563828bad19a242bba9ce3db461bb5807037dfdf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native.bbclass: Fix variable remapping coverageRichard Purdie2012-01-057-11/+10
| | | | | | | | | | | | | | | | | When looking for RDEPENDS to process, bitbake iterates through PACKAGES *and* PN. Since native.bbclass sets PACKAGES to be empty, its pointless remapping the list of PACKAGES since this does nothing. There is a problem since *_${PN} are used by bitbake but not remapped by the native.bbclass class extension code. This changes the code to remap _${PN} in both expanded and unexpanded forms. As a result of this, various surprising dependencies are uncovered and the patch rectifies those. These are real bugs since they're injecting unneeded (unremapped) dependencies into the dependency chain. (From OE-Core rev: 0f485bfd6fc82a109b9da629e464fca1e90faec3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-gtk-directfb: add a bb file to build an image for gtk over directfbXiaofeng Yan2012-01-051-0/+28
| | | | | | | | | | | This file can make an image to run gtk over directfb. [YOCTO #1674] (From OE-Core rev: 0c97fd9d721cea9786e89a557418649ef4576cfd) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Allow ld-is-goldDerek Buitenhuis2012-01-051-1/+2
| | | | | | | | | | | In order to actually generate a toolchain (with bitbake meta-toolchain) that supports gold, binutils- cross-canadian also needs to be built this way. (From OE-Core rev: 0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patch Upstream-Status UpdateSaul Wold2012-01-0512-0/+24
| | | | | | | (From OE-Core rev: f58bb1692c5700091f960e0fb90e5c39ebf5ab96) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: remove commented code from init script (no code changes)Otavio Salvador2012-01-051-12/+0
| | | | | | | (From OE-Core rev: 54daad852fc3bf6fc03c3ef96046e77d3ca047f4) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: split utilities onto udev-utilsOtavio Salvador2012-01-052-2/+6
| | | | | | | (From OE-Core rev: 350b0921f66eb283637354f5f13a05d4aace41e2) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: use 'echo' instead of 'echo -n' in init scriptOtavio Salvador2012-01-052-3/+2
| | | | | | | | | | Avoid using two stage progress output to avoid text garbage during parallel boot. (From OE-Core rev: 7b3912883acaf4539d5d9cb974330778b6c85340) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-kdrive: work around issues with -Werror=addressGary Thomas2012-01-052-1/+364
| | | | | | | | | | | | | A number of calls to REGION_INIT() use a static box which is flagged as an error with -Werror=address. This patch works around the problem, but should not be considered a final solution. Upstream-Status: Inappropriate (From OE-Core rev: 605f6b89b9948351601af1ef37510f7dee77895b) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: use /usr/bin/env pythonChristopher Larson2012-01-052-1/+48
| | | | | | | (From OE-Core rev: 118cb063b08fc1aeb99c248fde6ef2069496c347) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: correct prefix handling for oe-core sysroot layoutPhil Blundell2012-01-052-14/+10
| | | | | | | | | | | | | Don't try to guess a path based on ${HOST_SYS} since this is not where the files in the sysroot are likely to be. Instead, just use the "plat_specific" approach of taking STAGING_INCDIR and knocking off the trailing "/include" for all cases. This is still evidently suboptimal but does at least seem to give the correct results. (From OE-Core rev: 3b01b884dac0b31af8f5f2ebd60e5939e0111873) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: add QA tests for unsafe references to exec_prefixScott Garman2012-01-051-2/+109
| | | | | | | | | | | | | | | | | | | | | | Files under exec_prefix (commonly /usr) may not be available during system recovery. exec_prefix may also be kept on a separate partition that is mounted late in the boot process. This QA test throws an warning if a binary in base_[bindir|sbindir|libdir] is dynamically linked to a file under exec_prefix. The intention is to turn this into an error in the near future. It also checks executable non-binaries (e.g, shell scripts) in the above base directories with a simple grep test to look for references to exec_prefix. This test only produces a warning, since false positives are likely. This fixes [YOCTO #1008] (From OE-Core rev: 3e9c368a8045044736fc7e348404060498c7491b) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libusb1: move libraries to base_libdirScott Garman2012-01-051-2/+14
| | | | | | | | | | udev links to libusb1, and so these libraries need to be in base_libdir (/lib) instead of libdir (/usr/lib). (From OE-Core rev: 4ec9c25b9390bbfc1ddb0d46296f9251e5fd1498) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>