summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* coreutils: remove dependency on coreutils-nativeJesse Zhang2013-02-081-2/+1
| | | | | | | | | | | | | | | | | [ CQID: WIND00397793 ] It's not reasonable to build such a low-level package. Remove the dependency so that we always use the host version. The 8.14 recipe doesn't have such dependency so needs no change. (From OE-Core rev: 194c902c28291d564cef71bdd9588afa5b72d9f5) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-nativesdk: Fix buffer overrun with a relocated SDKJason Wessel2013-02-082-1/+43
| | | | | | | | | | | | | | | | | | When ld-linux-*.so.2 is relocated to a path that is longer than the original fixed location, the dynamic loader will crash in open_path because it implicitly assumes that max_dirnamelen is a fixed size that never changes. The allocated buffer will not be large enough to contain the directory path string which is larger than the fixed location provided at build time. (From OE-Core rev: 8ebd85d29eb1a9c0c0d3cd79e7dda8b857c27bbb) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: fix endianness detectionJesse Zhang2013-02-082-32/+17
| | | | | | | | | | | | | | | | [ CQID: WIND00394747 ] The original patch removes endianness detection completely, causing lcms to be built against the wrong endian. Instead, pass the correct endian through the recipe using SITEINFO_ENDIANNESS. (From OE-Core rev: 0a07ec7d13becc7ce87c502e75a006300a7090a5) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Add mips64 configure support.Randy MacLeod2013-02-081-0/+3
| | | | | | | | | | | Add mips64 configure support but assume mips(32) userspace. (From OE-Core rev: 7d775b071b902ee0de6391b2c30d36e3003643e1) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libart-lgpl: add art_config for mips64/mips64elJesse Zhang2013-02-082-0/+20
| | | | | | | | | | | | | | [ CQID: WIND00389505 ] Generated by gen_art_config.sh (From OE-Core rev: e900b4a37a12f15a2e734d86984fc613540890f7) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: add pregenerated objarch for mipsel/mips64/mips64elJesse Zhang2013-02-084-1/+121
| | | | | | | | | | | | | | [ CQID: WIND00389504 ] Generated by building and running base/genarch.c. (From OE-Core rev: 78a13ba170c1de6d7ef077854e3e34e18d17099f) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base.bbclass: add execution permission for self-extracting archiveJackie Huang2013-02-081-0/+3
| | | | | | | | | | | | | | | [ CQID: WIND00392947 ] It is not good user experience that the self-extracting archive (.sh file) has no execution permission by default. (From OE-Core rev: 3d6537f6ab1ce98075461b9a5d49885c2454417f) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: disable smartcard supportMartin Jansa2013-02-081-1/+1
| | | | | | | | | | | | | | * sometimes it's autodetected and fails to build: | /usr/bin/ld: libcacard/.libs/cac.o: Relocations in generic ELF (EM:40) | libcacard/.libs/cac.o: could not read symbols: File in wrong format | collect2: ld returned 1 exit status | make[1]: *** [libcacard.la] Error 1 (From OE-Core rev: acb0e56d79cfaa606ccd0a075a7c78ede172da86) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert: update-rc.d: disable update-rc.d.bbclass when systemd enabledSaul Wold2013-02-082-87/+86
| | | | | | | | | | | | | This was just wrong - when systemd is being used there'll still be packages that use SysV-style init scripts, which systemd supports fine. This reverts commit b94227f7290796f6ebbe5c5ff1680b9b689022b1. (From OE-Core rev: 3f50b61c77406f87d36437cca53573f86f314641) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd_197.bb: Point to the place where we keep the /etc/rcN.d filesHolger Hans Peter Freyther2013-02-081-1/+2
| | | | | | | | | | By default /etc/rc.d is searched by systemd but we will keep rcN.d directories inside /etc. (From OE-Core rev: 659b146ef51c4873c67f227bd39f2368c28a022b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo.inc: Fix sqlite libdir again, pseudo 1.4.3Peter Seebach2013-02-084-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates to pseudo 1.4.3. Changes: 1. A couple of minor tweaks to reduce difficulties using SDKs built on slightly more recent machines on older machines; specifically, avoiding getting @GLIBC_2.7 symbol references for sscanf(), fscanf(), and open2(). 2. Revision of the logic determining the library directory to use for sqlite's library files. The latter is a source of difficulty because it's come up a few times that we may want pseudo to use lib64 for libpseudo.so, but bitbake's usual setup would have libsqlite3.a in lib regardless of bit width. Cleaned up previous design a bit by providing a distinct setting for sqlite-lib, which defaults to the same library directory used for other things. Adjusted build to use this new setting. (This ends up being ${baselib}; on targets, that might not be lib, but for native builds it generally is, and for SDK builds it appears to do the right thing.) Testing: Successful build of meta-toolchain for both 64-bit and 32-bit SDKMACHINE, and builds with NO32LIBS = "0" also succeeded. Also builds for multilib targets. (From OE-Core rev: ae8811bb26fba2e71d7280f6d6c4f5cec6a2871b) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: remove redundant setting of MAKEBernhard Reutner-Fischer2013-02-081-1/+0
| | | | | | | | | | | | oe_runmake() tried to set MAKE a second time, remove it since this is (nowadays?) redundant WRT the normal export MAKE= in the generated scripts. (From OE-Core rev: b9c83b22b555349314191ba60346b01a9252a812) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: turn on kernel module supportBernhard Reutner-Fischer2013-02-081-0/+2
| | | | | | | | (From OE-Core rev: 14c08a97949b3a05221a556902fd7fb868d1f843) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: add c6x archBernhard Reutner-Fischer2013-02-081-0/+1
| | | | | | | | (From OE-Core rev: 4f6f4a621a16d79830ba3b417f66c9aa44c89d55) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Commentary typo fixBernhard Reutner-Fischer2013-02-081-1/+1
| | | | | | | | (From OE-Core rev: 3f0c1f6f001bbe958a0589da7db52f96a2d9d369) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.bbclass: fix segfaults when running through pseudoLaurentiu Palcu2013-02-071-1/+1
| | | | | | | | | | | | qemu user binaries sometimes segfault when running them through pseudo. So, set PSEUDO_UNLOAD to 1 before running any qemu binary. [YOCTO #3788] (From OE-Core rev: 688e9485980de0f29aa00e24ce53a3efd3a3a7cc) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.bbclass: Use the correct qemu binary in multilib casesRichard Purdie2013-02-071-1/+3
| | | | | | | | | For example with a lib32 multilib, we need to still use the 64 bit qemu binary in case we do encounter a 64 bit binary. (From OE-Core rev: e8ec13a26217bf473504ae4aab22b134dd9dffff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Add MLPREFIX to DEPENDSRichard Purdie2013-02-071-1/+1
| | | | | | | | | Add MLPREFIX to DEPENDS to ensure the correct qemuwrapper is dependended upon. Its searched for in PATH so we need to do this to ensure the correct version is present. (From OE-Core rev: 41163fc5e6662251ec264fd5194a649342d11de1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuwrapper: Don't use STAGING_BINDIR_CROSS directlyRichard Purdie2013-02-071-4/+10
| | | | | | | | | | We need the files to be tracked by sstate so we need to jump through some hoops to ensure this happens. The cross bindir directory isn't staged automatically so we need to handle this outselves. (From OE-Core rev: 743d5233747d0a107490b31ea3da151ea1ace3ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Check for DISPLAY for qemutests in BB_ORIGENV nowRichard Purdie2013-02-071-2/+4
| | | | | | (From OE-Core rev: e43f8f917e4069d74b467dfd6aa29ff762e83a5e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* directfb: Really disable mesaRichard Purdie2013-02-071-0/+1
| | | | | | | | | Mesa was disabled in the .inc but not in the main recipe where a separate EXTRA_OECONF is used. Fix disabling mesa there too to avoid build failures. (From OE-Core rev: 722a5eaa6bed6ab8c8a1caa066cd2eba7acda5ee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* imagetest-qemu: Adapt to bitbake environment changesRichard Purdie2013-02-061-1/+10
| | | | | | | | | Load environment variables like DISPLAY from BB_ORIGENV after recent bitbake changes. (From OE-Core rev: 8ad8b34b5ac36d805bb10c120f3388e7dce83b98) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* terminal.bbclass: Use BB_ORIGENV to restore user environmental variablesRichard Purdie2013-02-061-1/+12
| | | | | | (From OE-Core rev: 131643695d7ba9d0c32bf8e192e7e3942f50f318) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Update hashconfig after BB_ORIGENV changesRichard Purdie2013-02-061-4/+3
| | | | | | | | | | We should ignore BB_ORIGENV from the hash for the config data. There are also a number of variables which no longer make it into the data store so we can drop these from the hash whitelist. (From OE-Core rev: cb21af00f9321ea48e533089dbffbb1a9665cb92) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Replace undefined 'src' with valid variableKhem Raj2013-02-061-1/+1
| | | | | | | | | | | After rewrite of split_and_strip_files src var is no longer available here where it is used so we should replace it with a valid value (From OE-Core rev: b07e79ea049d341a5a0a7e4bb72151f49336c5bc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Ensure package_get_auto_pr is run at the correct pointRichard Purdie2013-02-061-1/+2
| | | | | | | | | This needs to run before PKGR and other variables using PRAUTO are used, including the expansion optimisations. (From OE-Core rev: eb09ebc9680eb50e23778dcc1c2697d13cf073ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initiscripts: Fix populate-volatiles.sh whitespaceRichard Purdie2013-02-061-110/+97
| | | | | | (From OE-Core rev: d69935fbef2b5a8b187e58ac5ade0ffb9f95f803) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Add missing R* variables to pkgvarcheckMartin Jansa2013-02-061-1/+1
| | | | | | | | | * check also RSUGGESTS, RCONFLICTS, RPROVIDES, RREPLACES (From OE-Core rev: 63d9926dde562fd2447fc26482745c3b6f232c12) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxscrnsaver: improve RREPLACES to add libxss only for PNMartin Jansa2013-02-061-1/+1
| | | | | | | (From OE-Core rev: 0bb5572536a39fabd29c307004e76202afd5b6b4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: be explicit when enabling ofonoRoss Burton2013-02-061-1/+1
| | | | | | | (From OE-Core rev: 9c5fa8da28f86e88327356e784f2bb8281da2cca) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: return list of packages created in do_split_packagesMartin Jansa2013-02-061-0/+3
| | | | | | | | | | | | | * sometimes it's useful to do something with packages created by do_split_packages later in do_package_prepend, e.g. in: http://lists.linuxtogo.org/pipermail/openembedded-devel/2013-February/043824.html I have .bbclass which adds some postinst, postrm and RDEPENDS, but ttf-mplus is using do_split_packages to create those packages (From OE-Core rev: 5aa52c6882d2929b2e530c4fa297c6d3e97d4f9f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.conf: Update minimum bitbake versionRichard Purdie2013-02-061-1/+1
| | | | | | | | | We need this for the multiprocessing pool issues in python < 2.7.3 whic we now use in do_package. (From OE-Core rev: 027dc0ec80b570c79f4adb0deabb63bcf3c49b78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Pre-expand some variables to save timeRichard Purdie2013-02-061-0/+14
| | | | | | (From OE-Core rev: fc5bff0145d8f5db1c09be61f5de209ac4016ed1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Better document the different phases of operationRichard Purdie2013-02-061-0/+16
| | | | | | | | | Add headers to document the different phases of do_package and make the steps clearer. (From OE-Core rev: b6438c94035a014902ec89af63ff3787cd8c67f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Add PACKAGESPLITFUNCS variableRichard Purdie2013-02-064-3/+15
| | | | | | | | | | | | | | Prepending to populate_packages is rather ugly and means its hard to trace errors and also profiling informaiton is summed together in one function. This patch starts to split out the prepends to become separate functions to avoid these issues. This is generally a neater way to write functions than prepending to where there can sometimes be variable scope issues and we've been bitten by whitespace issues in the past. (From OE-Core rev: 4f9963d1d82ee896fe9491d6a8b32be42cd06f14) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Simplify empty directory removalRichard Purdie2013-02-061-5/+1
| | | | | | | | | Rather than an exec() per directory, we might as well exec one command and be done with it. (From OE-Core rev: 82ae9cfb09ee5c0aa6402c972d71e2b64d1ce8bc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Various minor performance tweaksRichard Purdie2013-02-061-8/+6
| | | | | | | | | | | | * Call getVar outside the loop * Drop unneeded PATH export (bitbake does this already) * Drop unused variable * Simplify if statement nesting * Simplify variable expandion to a getVar call (expand would just call getVar) (From OE-Core rev: 52b506145bcddc133ca93a8c9f7343de69d10907) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Make use of cleandirs and dirs function flagsRichard Purdie2013-02-061-5/+3
| | | | | | | | | | We can use the cleandirs and dirs flags for the fuctions to handle directory cleaning and creation at the bitbake level rather than using these calls within the functions (From OE-Core rev: 4b31d6f6f0a2a6b9e504ffae0d3b2099cbd7dddc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Improve populate_packages_prependRichard Purdie2013-02-061-27/+21
| | | | | | | | | | | | | Small performance tweaks for populate_packages_prepend: * Compile the regexps once at the start * Don't keep importing a module which is already imported * No need to check PKG is set, we'd have failed long before now if it wasn't * Don't export PATH, bitbake takes care of this at the task level (From OE-Core rev: e9d43d7b4d2cfb22b21f3814c2401a699c78b025) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Rewrite split_and_strip_filesRichard Purdie2013-02-061-105/+97
| | | | | | | | | | | | | | | | The split_and_strip_files funciton was hard to follow and its usage of prefixes to strings was unusual. This rewrites it to use a list of hardlinks, symlinks and elffiles where each list is iterated over at the correct point. This means we can avoid creating dandling symlinks for example so we can simply delete the cleanup code for this. The isfile() check is also removed which gives a significant improvement in speed. Its uneeded since os.walk will have already checked things in files are files. (From OE-Core rev: 0cd295d8cdc8cc39d6b6c7d26ea8a2a10a979d7c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Fix up bb.mkdirhier/bb.copyfile usageRichard Purdie2013-02-061-7/+7
| | | | | | | | | These are in bb.utils so lets the correct function and avoid the overhead of the fixup/warning for the deprecated usage. (From OE-Core rev: d17329db4842c50af1a3d7f5f20e692c89913fba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: Drop OVERRIDES codeRichard Purdie2013-02-061-11/+6
| | | | | | | | | The data store copy and overrides is overkill given the small number of accesses that are being made. This simplifies the code. (From OE-Core rev: 72c1fd72d3b479c728e249eaa763116d352e945b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging.bbclass: Drop unused/legacy functionRichard Purdie2013-02-061-4/+0
| | | | | | (From OE-Core rev: 9120c88085236e1be9854376e43a7b14f937ba03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging/insane.bbclass: Move legacy do_stage check iinto insane.bbclassRichard Purdie2013-02-062-5/+3
| | | | | | | | We might as well put all the sanity checks in one place. (From OE-Core rev: 05be11c7508984cc4aa757becb7a8f47c5b7e919) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Add documentation headers for logical code blocksRichard Purdie2013-02-061-0/+17
| | | | | | (From OE-Core rev: ac24487a05834cc9c02a95bbd281927d98c5886e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Add pkgvarcheck to check for suboptimal usages of variablesRichard Purdie2013-02-061-1/+9
| | | | | | | | | | | | | | | Check through the variables: 'RDEPENDS', 'RRECOMMENDS', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm' and if there is a variable set which isn't package specific, inform the user of this. Using these variables without a package suffix is bad practise and complicates dependencies of packages unnecessarily as well as complicates the code. Lets convert the remaining issues and then we can take the small performance gain. (From OE-Core rev: 316228948e65f376f6c5be13ccd0c964ea630edf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: use the multiprocess pool from bitbakeRichard Purdie2013-02-061-2/+2
| | | | | | (From OE-Core rev: 7e880a95840db82f4035959b03630ba2a96c0311) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: Process package stripping in parallelRichard Purdie2013-02-062-45/+58
| | | | | | (From OE-Core rev: 981fed49ee80560fb067b3f47aeada1fdee792ca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: Don't export PATHRichard Purdie2013-02-061-9/+5
| | | | | | | | | PATH is already exported, we don't need to do this each time we run something, its just noise and overhead. (From OE-Core rev: 060f617cea4ea0a5af28d31ea19c0387e9773fce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Multithread per file dependency generation codeRichard Purdie2013-02-064-62/+85
| | | | | | (From OE-Core rev: b659eb0f2070149d9516c129b3853b41fbbd1033) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>