summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-05-06linux-yocto-custom: provide defconfig guidanceBruce Ashfield
As reported by Andrea, defconfigs created with savedefconfig should specify their expansion mode as "--alldefconfig' for custom yocto recipes. To ensure that this is documented, we can add a comment in the skeleton recipe. Reported-by: Andrea Adami <andrea.adami@gmail.com> (From OE-Core rev: 2c41a28c9a9772531dcfc7079604ff2441c71f8f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06kernel-yocto: quote kconfig mode checkBruce Ashfield
We allow inheriting recipes to control the kconfig mode used by merge_config.sh via the KCONFIG_MODE variable. An error crept into the variable reference, and since it is not quoted, the true condition always runs. The result is that operations without an explicit kconfig mode cannot trigger allnoconfig for defconfig builds, which can result in some options being dropped from the final .config. Quoting the reference allows it to evaluate properly. (From OE-Core rev: aad19e4381a8a09c354e5899885997c5b4cd115b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06qt4: Explicitly disable sqlite2Martin Jansa
* notice that this disables only sqlite2 (sqlite dependency), sqlite (sqlite3 dependency) stays enabled * fixes these errors detected by test-dependencies.sh: qt4-embedded/qt4-embedded-plugin-sqldriver-sqlite2/latest doesn't exist qt4-embedded/qt4-embedded-plugin-sqldriver-sqlite2-dbg/latest doesn't exist qt4-x11-free/qt4-plugin-sqldriver-sqlite2/latest doesn't exist qt4-x11-free/qt4-plugin-sqldriver-sqlite2-dbg/latest doesn't exist (From OE-Core rev: 279c221d9dfce43254ed1f03cf84ea454cc7b485) 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>
2014-05-06ldconfig-native: also default to lib32 and lib64 directoriesMing Liu
make ldconfig default to /lib+/usr/lib, /lib32+/usr/lib32 and /lib64+/usr/lib64 on bi-ABI architectures. (From OE-Core rev: c90bb98d4ac14562ef4882691daed3aaa9d08504) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06serial-getty service: Add xterm as default TERMJoel Fernandes
In poky with systemd enabled, vt102 is selected for getty causing user to experience a very crappy terminal. Default TERM to xterm. Reviewed-by: Jonathan Liu <net147@gmail.com> (From OE-Core rev: 473ff65c2f69de4ece3204fadfae7c5cb992149a) Signed-off-by: Joel Fernandes <joelf@ti.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06gdbm: enable ptest supportMaxin B. John
Install gdbm test-suite and run it as ptest (From OE-Core rev: aaba69d598763831e8b42996154ed87d0db10714) Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06defaultsetup: enable blacklist by defaultMartin Jansa
(From OE-Core rev: 74e377eeb6de606b99ed0ff840922261f4a27abc) 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>
2014-05-06systemtap: update to 2.5 releaseFathi Boudra
(From OE-Core rev: 6c30c43af893d3d68651501c0ffb01d46c5f4d13) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06grub git: update to latest git (grub-2.02-beta2-81-g4b8b913)Fathi Boudra
(From OE-Core rev: ec6158c0a41a929bac6df9d4ab62afa5dc39544e) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06wpa-supplicant: add libgcrypt as a dependencieValentin Popa
gnutls doesn't depend on libgcrypt anymore but wpa-supplicant does. So add it as a dependencie. (From OE-Core rev: b5e0e0589dba0e3eb6fa070594c904fec6e6c3a8) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06gnutls: update to 3.2.13Valentin Popa
Removes not needed or already merged patches. Removes unused configure flags. Tells gnutls to use the included libopts. Removes libextra (not needed since 3.0.5). (From OE-Core rev: 4e360033579b9501449798b2d118f786816a557f) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06nettle: add nettle to oe-coreValentin Popa
Newer versions of gnutls depends on nettle. (From OE-Core rev: e0e5eaee72e49c01e76d56cd03fbfb3e20febbb0) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06libgcrypt: update to 1.6.1Saul Wold
(From OE-Core rev: fd2848df50bec43248cab6ccdea2358be4719473) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06xinput-calibrator: fix XDG launchKoen Kooi
In the move from meta-oe to OE-core XDG based launched was dropped without noting it in the commit message, so fix that regression. Gnome-session will now launch the calibrator again. (From OE-Core rev: 64e0c8a7585a36964988f2f00ac89eda514d5f7b) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06xdg-utils: reinstall xdg-terminalKoen Kooi
It's being used by e.g. gnome-session when Terminal=true is set in .desktop files, like xinput-calibrator does. (From OE-Core rev: 9a821d80b732a52574ac5c20b323966811828852) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06procps: Do not detect 32/64 bit compiler optionsKhem Raj
It gets its wrong in detecting 64bit options and OE we already pass the right options as compiler defaults (From OE-Core rev: ec3add1752a410fada04b4788c142b91ef63ffa3) (From OE-Core rev: 32b826720626ec2d426ff7dbfe5607bc0dbd8082) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06lttng-modules_2.3.3.bb: Fix build on ARM/gcc-4.9Khem Raj
Update the structure to work with immutable bio_vecs (From OE-Core rev: 09d3d8f97d6c60707b8dfb3fa5b04fa2efe6f6f6) (From OE-Core rev: b32d57e5a807a634c411628af1688aec960ac6e7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06mdadm: Fix build on gcc 4.9Khem Raj
Fix error: right-hand operand of comma expression has no effect [-Werror=unused-value] (From OE-Core rev: 9e1aac485175d29951f7ad23cd7515c8f7580271) (From OE-Core rev: 58da3355522736b93bb6d164739c795068d2a1e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06oprofile: Update to 0.9.9Khem Raj
Backport patches to fix with gcc 4.9 delete applied patches and obsoleted ones (From OE-Core rev: 9ef0ed510aff5e975fb6d8be9330a10172a5b5d8) (From OE-Core rev: 5b5016ed87bcc916d29fb7e1e3d23a600847c882) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06systemd: Fix build with gcc 4.9Khem Raj
We need to use gcc-nm and gcc-ar to deal with slim objects which are generated when using -flto (From OE-Core rev: e6d84c9f4fef201217ada60711ecfb94bc5dc2e0) (From OE-Core rev: 56dc32f128b3029c38381c7cc81f244fbd77416e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06binutils: Fix building nativesdk binutils with gcc 4.9Khem Raj
Patches explain the issue in detail but this is exposed with gcc 4.9 in binutils 2.24 (From OE-Core rev: fc5c467b680fc5aef4b0f689e6988e17a9322ae0) (From OE-Core rev: 4dfb8847ebf8aab90ad8888933468e2899c96998) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06cairo: Fix build with gcc 4.9Khem Raj
Fix upstream bug https://bugs.freedesktop.org/show_bug.cgi?id=77060 gcc 4.9 now generates slim objects when LTO is used These slim objects only contain intermediate language representation for LTO. Use -ffat-lto-objects to create files which contain additionally the object code. When linking some .so file, the option '-flto' is missed, so the error happens. We add '-ffat-lto-objects' flag to make gcc 4.9 behaves the same as gcc 4.8. (From OE-Core rev: c4e65e14fbdf957aa34e074337c5649a0b0888b7) (From OE-Core rev: 858f01ab9613c2b122718c350da763f8fe981d9f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06gcc: Add 4.9 recipesKhem Raj
(From OE-Core rev: f051216ea373f166016b15bbd2a2a6f136430372) (From OE-Core rev: d4573cb750bfde488682244d30266dfe675bac06) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-05cleanup-workdir: Fix crosssdk reference after addition of PNRichard Purdie
(From OE-Core rev: 2f922357287129f7d216393531886ed1f3ce8185) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-04sstatetests: Use TUNE_ARCH instead of TARGET_ARCHRichard Purdie
The scripts extact variable values from bitbake -e. Unfortunately TARGET_ARCH is unset from that environment so we use TUNE_ARCH instead which will have the value we need. (From OE-Core rev: b77494025b3d47fd5130ae6c445ac84cabb1f91e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-04sstatetests: Update after binutils-cross name change with PN additionRichard Purdie
(From OE-Core rev: c5230b459fb4ef486f657f5633b67ca925981f03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-03curl: Backport a fix for a build issueTudor Florea
mkhelp: generate code for --disable-manual as well This allows configure --disable-manual to run and build without having to regenerate the src/tool_hugehelp.c file which otherwise is necessary since we ship tarballs with that file present. (From OE-Core rev: 544a96255203a6779d1f0022d003c6680f330511) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-03bitbake: prserv/db: Avoid fsync() callsRichard Purdie
If the power were to fail, it doesn't matter to us much if the data makes it to disk or not, we'd have other problems. However an fsync() call on a multi build autobuilder is painful so lets avoid them. (Bitbake rev: 4eb2dc8048e2722d64d589f453df1ce6262c71b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-03bitbake: persist_data: Avoid fsync() callsRichard Purdie
If the power were to fail, it doesn't matter to us much if the data makes it to disk or not, we'd have other problems. However an fsync() call on a multi build autobuilder is painful so lets avoid them. This is particularly true in this case if a timeout causes a reconnect during a build. (Bitbake rev: ec28256ac2a30f047585e8f61200d764bc295ded) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-03bitbake: codeparser: Fix to better catch all getVar referencesRichard Purdie
Currently if you do localdata.getVar, the code parser simply ignores the references. Change the code to use endswith() to catch more of the references. These names are probably unique enough to get away with this. Bump the cache version to ensure things get updated. (Bitbake rev: cf763cddc3faa2361b4c4dbd08419e4ebabf208f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-03gcc-common: Ensure checksums don't change to match old behaviourRichard Purdie
There is a fix about to go into bitbake to ensure that datastores being accessed with a name other than "d" are correctly reflected in checksums. This will cause this function to add in a number of dependencies we don't want. These do need to be properly unravelled in due course but would only really affect multilib builds. For now therefore just exclude the variables as per the old behaviour. (From OE-Core rev: cbc41a573dd3a073e7b862ca9d763ce815e8f927) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02PR bumps to remove PRINC usage from meta-raspberrypiPaul Barker
This allows us to remove the following uses of PRINC in meta-raspberrypi: recipes-bsp/formfactor/formfactor_0.0.bbappend: PRINC = "1" recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend: PRINC := "${@int(PRINC) + 5}" (From OE-Core rev: cffbd11d915fe8a1399f23c97c4e2ecbdae4d00a) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser
The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02gcc-common: Only apply fpu settings to target gccRichard Purdie
Within the OE build environment, we supply the correct fpu settings. These only need to be spelt out for the on-target gcc. Doing this means the checksums for the core compiler don't depend on the fpu settings. We exclude the compiler tunes for similar reasons, it doesn't need to influence the compiler build. (From OE-Core rev: ce1f3fd20d81545d6d5dfc68f86f9fddf8ac9bbf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02gcc-cross: Drop TARGET_CC_ARCHRichard Purdie
Since we no longer build target libs within gcc-cross, we can drop the TARGET_CC_ARCH flags and hence make it independent of tune. (From OE-Core rev: 74d8866814aec520822518cc4cb8a942f7069bf7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02cross: Update PKG_CONFIG variables after recent changesRichard Purdie
The PKG_CONFIG definitions should now more closely match those from native.bbclass. We can't use ${libdir} here since it contains the target arch prefix. (From OE-Core rev: aebb71afe54b266de39ec7e1caf84e6426aaafba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02layer.conf: Exclude gcc-cross dependencies from checksumsRichard Purdie
gcc-cross technically depends on the C library however we can use one toolchain for multiple different tunes within a given architecture. Manually remove these dependencies so that gcc-cross isn't rebuild with every tune change. (From OE-Core rev: 97df4e8e61a7693d548c3145e36f1d5503e91d03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02base.bbclass: Silence PREFERRED_PROVIDER warnings for sdk buildsRichard Purdie
Unfortunately expandKeys() notices overlap between the SDK and TARGET PREFERRED_PROVIDERS entries when we set things up for the SDK recipes. To avoid this, delete one of the sets of keys to avoid supurious warnings. (From OE-Core rev: 9068a65baf4a28d04efad9297b16a2883ac42689) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02tcmode-default.inc: Add default SDK PREFERRED_PROVIDERSRichard Purdie
We should be explicit about the providers for the SDK toolchain so add entries to do this. (From OE-Core rev: fba380a2a37f04de04c0626c0a09cfe757c24341) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-01sanity: Bump BitBake minimal version to 1.23.0Otavio Salvador
The metadata started using the bb.utils.contains_any which has been add in the BitBake 1.23.0 release, set this as the minimal version to ensure parsing compatibility. (From OE-Core rev: dea40c2850a32b5b67e90336f9565889f92dabe8) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-01bitbake: bitbake: Bump version to 1.23.1Richard Purdie
(Bitbake rev: c40a4100ddb841d231360344616e59ab98e61fb5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-01tcmode-default: Update PREFERRED_PROVIDERSRichard Purdie
Update PREFERRED_PROVIDERS after cross tooling name change to include PN. Also drop the now obsolete gcc-intermediate which no longer exists. (From OE-Core rev: 5cbb5c12a5656915c3c9752187b54ef095d42828) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30alsa-tools: Enable GTK support for X11, Wayland and DirectFBOtavio Salvador
(From OE-Core rev: 4c2ffce2ae32447a1e39877b9bcbc2cc11ddd2fa) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30meta-yocto-bsp: oeqa/controllers: add EdgeRouterTargetPaul Eggleton
Based on BeagleBoneTarget, this provides support for deploying images and running tests on an EdgeRouter Lite (edgerouter). The device must be set up to boot into the master image already - see the instructions in the file. Implements [YOCTO #6253]. (From meta-yocto rev: 6e28284f0dacb40f7533161bfaeb637723297947) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30meta-yocto-bsp: oeqa/controllers: add BeagleBoneTargetStefan Stanacar
With a serial connection and beaglebone setup correctly as per README.hardware (nand erased, default uboot config assumed, etc) and a correctly deployed core-image-testmaster, we could actually deploy and test AB built images. In the default configuration u-boot will do the right thing and will always boot into the master image (rootfs on second fs on the card, kernel in /boot on the same partition). We just need to tell it for the test image to use the third partition and update the kernel cmdline. Pexpect is used to interact with whatever serial connection we have (which for this target is mandatory). There is some handling for images that don't contain the kernel and dtb files as needed (such as core-image-minimal). Implements [YOCTO #6252]. (From meta-yocto rev: 8235464faf480811b17b062cb9aad8ebf1cd2a67) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30oeqa: add proper handling for command errors where neededPaul Eggleton
For use outside of tests themselves, we want a better error than AssertionError, so create one and allow us to request it when calling runCmd(). This enables us to avoid tracebacks during master image operations if the power control command fails. (From OE-Core rev: 89868383685091b0d3723fb8f29590f3f6610078) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30scripts/contrib/dialog-power-control: add a trivial power prompt scriptPaul Eggleton
If you want to do automated hardware testing but don't have a controllable power strip this script can be useful so that you know when you need to cycle the power. (From OE-Core rev: f71e9fe7c31fa44f5185d9ab64813ba2af57ca2a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30scripts/contrib/serdevtry: add script to handle transient serial terminalsPaul Eggleton
When running automated tests (or just generally interacting with) boards whose serial console devices are on the board itself and thus disappear when powered down or practically disconnected, such as the BeagleBone white, some terminal programs (e.g. picocom) will exit when the device disappears and need to be restarted after the serial device returns. This script handles this automatically for such terminal programs. (From OE-Core rev: 0537269df779532245eb2954e04fc26b3edfed85) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30classes/testimage: if start fails, don't try to stopPaul Eggleton
If we couldn't start the target, it doesn't make sense to try and stop it here since logically it shouldn't now be in any kind of "started" state. (It's the start function's job to clean up after itself if it fails - to that end, fix up the QemuTarget class so that it does.) (From OE-Core rev: 819ebddae6b78120e5e082423793ff988419b5c4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30oeqa/controllers/masterimage: more robust master image startupPaul Eggleton
Instead of powering up the target when the object is constructed, wait until deploy is called. Then there are basically two different scenarios: a) The device is booted into the master image already, in which case we can just use it b) The device is booted into another image or can't be contacted, in which case we need to power cycle it. Here we also now wait until it has booted up instead of trying to contact it immediately. (From OE-Core rev: c2257fa50071e4704a8152b5f1d16f899b4bed98) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>