summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa20
* bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19console-tools: Fix build issues with make 3.82Richard Purdie2
The intl directory is part of older gettext and has macros which no longer get expanded with recent gettext versions. This simply removes the intl directory from the equation since we'd never need it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19kernel.bbclass: remove explicit version.h targetBruce Ashfield1
The compilation routine for the kernel has an explicit call to build version.h, which works fine for most kernels, but the location of it has recently changes. commit d183e6f5 [UAPI: Move linux/version.h] commit 10b63956 [UAPI: Plumb the UAPI Kbuilds into the user header installation and checking] moves the file to include/generated/linux/version.h and then to include/generated/uapi/linux/version.h. As a result kernel builds of 3.7 or bisection builds of intermediate kernel commits will fail with: make[2]: *** No rule to make target `include/linux/version.h'. Stop. Making the explicit version.h build conditional on the version, or via a file test would fix the problem, but it introduces some complexity to the build. Even without an explicit call to build version.h, it is always produced by the kernel build, so it can simply be removed. This extra make line was originally so that the kernel version could be determined, so that then different instructions could be executed depending on whether it was a 2.4 or 2.6 kernel. Since we no longer support 2.4, this code is no longer needed. [YOCTO: #3293] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19perl: fix dependeciesRobert Yang1
This patch fixes 2 problems. The first one is that when run "perl -V" on target, it fails with lack of some .pm files. So add these perl module files to package perl itself to fix this failure. The second problem is that package nativesdk-perl-modules doesn't depends on the single perl modules. In the .bb file, dependencies of perl-modules are set by: RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}" The PACKAGES would be reset by do_split_packages since: PACKAGES_DYNAMIC = "perl-module-*" PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*" Then: 1) The target perl-modules RRECOMMENDS on perl-module-*, this is what we expect. 2) But the nativesdk-perl-modules doesn't RRECOMMENDS on nativesdk-perl-module-*, this is not what we expect. The value of PACKAGES after do_split_packages has been set correctly (it contains the nativesdk-perl-module-* packages) But the: RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}" doesn't work correctly for nativesdk, the d.getVar('RRECOMMENDS_perl-modules', True) doesn't get the new value of the PACKAGES, it gets the value of PACKAGES before the do_split_packages. This patch will fix the problem. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19bison: Fix gplv2 version to work with recent gettextRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19diffutils: Fix gplv2 version to work with recent gettextRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19sed: Fix gplv2 version to work with recent gettextRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19grep: Fix gplv2 version to work with recent gettextRichard Purdie3
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19autotools: Use STAGING_DATADIR_NATIVE for config.rpathRichard Purdie1
For builds that don't use gettext, config.rpath may not exist in the target datadir. This change uses the native directory where it will always be present due to gettext-minimal-native (which allows us to autoreconf recipes using gettext even if we don't have gettext built). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18sstate: when warnings about sysroot overwrites, say what the recipe wasRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18gconf: Avoid error when trying to delete files that don't existPhil Blundell1
Use "rm -f" in do_install_append() so we don't fail if the files we're trying to delete have already been removed. This can happen if the distro policy suppresses both static libs and .la files. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18lib/oe/qa: Trap exceptions when running objdumpPhil Blundell1
This avoids propagating a failure if we encounter an ELF file that objdump can't parse for any reason. Some versions and/or configurations of objdump will refuse to read files for "the wrong" architecture. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18insane: Don't try to run objdump on symlinksPhil Blundell1
If the link is absolute then we might end up reading from a host binary or a nonexistent path, neither of which will produce useful results and may result in objdump failure and python backtrace spew. If the link does point to a binary within the installation root then we will scan the pointed-to file at some point anyway so there is no need to do it again. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18insane: Rationalise phdrs-based QA checksPhil Blundell2
Various different QA checks are based on essentially the same data from the ELF program headers. Calling objdump to extract it repeatedly is inefficient, particularly if the shell is involved. Instead, let's cache the output from objdump inside the qa.elf object and allow it to be reused by multiple tests. Also, using objdump instead of scanelf to check for bad RPATHs (in the same way that the useless-rpaths check was doing already) allows the dependency on pax-utils-native to be dropped. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18gnome-icon-theme: update mapping program locationSaul Wold1
When we changed the /usr/libexec default to be /usr/lib/<pn>, the icon name mapping needed to be updated also. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18sato-icon-theme: update mapping program locationSaul Wold2
When we changed the /usr/libexec default to be /usr/lib/<pn>, the icon name mapping needed to be updated also. (From OE-Core rev: 58b20de32f4b6ca684120d1b87a7aece2df6f0a6) (From OE-Core rev: b3ff57c7a15c8509397d4b8e84410aab08ea4d1c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18qemu: don't ignore libexecdir in configureSaul Wold3
This allow the relocation of libexecdir to be done correctly for the qemu-brigde-helper. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18perf: set the perfexecdirSaul Wold1
This allows the files installed into /usr/libexec to be relocated to ${libexecdir}. removed unneded prefix=/usr, which would prevent ${prefix} relocation. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18ia32-base.inc: don't depend on mesa-driRoss Burton1
mesa-dri is an empty package, so depending on it doesn't achieve anything. Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-10-18sysklogd: fix update-rc.d handlingAndy Ross1
The sysklogd recipe had a cut-n-paste version of the update-rc.d.bbclass code which didn't work, but this was hidden because all images contain the busybox version which does. Building a busybox-free image unmasked the issue and syslogd wouldn't start on first boot. The comments seem to be wrong/stale. AFAICT update-rc.d and update-alternatives work fine with each other, though there is an ordering constraint (alternatives must be specified last, so it "wraps" update-rc.d). This version builds and works both with and without busybox. Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18pulseaudio: add missing switch-on-port-available dependency to the serverRoss Burton2
The PulseAudio server recently added a dependency by default on the switch-if-port-available module, but this was not enforced by the package dependencies so the server won't start. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18lttng: support more compatible hostsVladimir Zapolskiy6
THis change extends COMAPTIBLE_HOST matchings, which allows to include more hosts with TARGET_OS like linux-gnuspe or linux-gnueabi etc. Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18qt4: use extra variable for more QT_CONFIG_FLAGS fragmentsMartin Jansa2
* qt4-embedded was forcing -DQT_KEYPAD_NAVIGATION which depends on feature-completer * separate variable makes it easier to not enable QT_KEYPAD_NAVIGATION in some upper layer where we have disabled feature-completer Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18gtk-doc.bbclass: Run gtkdocize in ${S} not ${B}Phil Blundell1
Otherwise it will fail if these two directories are not the same. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18build-appliance: ensure zip file is linked locallySaul Wold1
This makes the symbolic link portable with the dated zip file, otherwise the link still points to the original deploy directory. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18buildhistory.bbclass: Fix hostname print for 'No changes' caseOtavio Salvador1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18autotools.bbclass: Fix gettext macro versions issuesRichard Purdie1
gettext m4 macros don't use the usual versioning/serial mechanism used by aclocal. It therefore won't update them over and above any local version of the macro. Equally, we don't run gettextize due to it doing slightly crazy things to the build. When we put the aclocal directory as a -I option to aclocal, if this was found first compared to any recipe provided macros, the correct version of the gettext macro would still "win". With the switch so correctly override the system directory, older recipe provided macros may get used. This patch manually removes the problematic m4 macros in the case we're using gettext and need to use the correct m4 macros. This patch also always ensures the gettext manipulations happen, even in the -native case since missing or stale gettext files could cause build failures. (From OE-Core rev: e9645d2bbeabaa5251d49edd659ab320fd66d0ee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18autotools: Fix race over aclocal macro directoryRichard Purdie1
The previous steps taken to address races over the aclocal macro directory and the removal of files hasn't been sufficient since aclocal still looks at that directory as part of its default search path. This patch passes the aclocal-copy directory into aclocal as its system directory, removing any chance of it accessing the original aclocal directory. Hopefully this should therefore fix the race issues once and for all. In order to do this, cp-noerror needs to not error if the directory already exists. Its also been noticed that aclocal defaults to using STAGING_DATADIR_NATIVE even when building for the target. Only using the target directory would cause errors such as missing pkgconfig macros (since we only depend on pkgconfig-native, not pkgconfig). This patch processes both sets of macros maintaining existing behaviour. At a future date we could look into potentially optimsing this. [YOCTO #3216] (From OE-Core rev: ad29b331e0d61708e68ef772cdb19154956fa67e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18scripts/cp-noerror: Try and use hardlinks if possibleRichard Purdie1
Since we generally have lots of copies of the directories created using this tool, use hardlinks where possible. This should save a little disk space and improve performance slightly. (From OE-Core rev: bfa11c028c2da093f7b4e6b7b1d611da90ae052f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18scripts/cp-noerror: Copy the code from shutils.copytree, update not to error ↵Richard Purdie1
if the mkdir fails Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18texi2html: Add check for directory existenceRichard Purdie1
Without this, if configure fails, it won't be able to run again as the directory already exists. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18diffutils: Remove rather bizzare gettext macrosRichard Purdie1
diffutils has a rather confused set of getext macros with different names and strange conflicting version requirements. This patch removes the problematic macros allowing it to 'gettextize' to the latest standard gettext code without issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18kexec-tools: Add dependency on xzRichard Purdie1
kexec-tools optionally looks for the lzma code provided by xz. Since this is generally useful for lzma compressed kernels, add the dependency and make builds determinstic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18gettext: Add config.rpath and Makefile.in.in to gettext-minimal-nativeRichard Purdie5
We need gettext-minimal-native to be able to install config.rpath and Makefile.in.in so that we don't get version mismatch errors when subsequently using the reconfigured software. This patch moves the two files to be provided by minimal-native so that we can better 'gettextize' software without needing the full gettext-native when using --disable-nls. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18console-tools: Clean up recipeRichard Purdie10
This cleans up various bits of nastiness in this recipe: * Drop unneeded m4 macros * Update to a recent version of gettext (needs addition of Makevars file) * Drop split do_compile and SUBDIRS hacks, just patch out the docs * Remove some of the configure.in hacks since they seem unneeded now and break gettext (the AC_OUTPUT change). * Wipe out acinclude.m4 since it has corrisive contents Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18qemu: Explicitly disable bluez, its not in DEPENDSRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18bitbake.conf: change libexecdir to ${libdir}/${BPN}Saul Wold1
In order to be more compliant with the Filesystem Hierarchs Standard (FHS), this change removes the /usr/libexec default in favor of ${libdir}/${BPN} (which is typically /usr/lib). http://www.pathname.com/fhs/pub/fhs-2.3.html This also address the native and STAGING variations [YOCTO #2915] (From OE-Core rev: 68c31b095a1cb20bd297df596024fc568614f5e8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18xorg-proto: remove evieextRoss Burton2
It was removed from xserver in 2008. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18xorg: remove xf86rushprotoRoss Burton2
The dependency in xserver is spurious and was removed in 2005. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18sanity.bbclass: trigger network tests explicitlyBogdan Marinescu1
The network tests in sanity.bbclass can now be trigerred explicitly by firing the NetworkTest event. This is part of the fix for bug #3026. [YOCTO #3026] Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18sstate: Use -m option to tar when unpacking sstateRichard Purdie1
We've noticed failures on the project autobuilders where a shared sstate directory is used across multiple builders and the clocks become skewed. Most of the time this causes harmless building but if this happens where an environment is changed (make install vs make in qt4-x11-free for example), the build can fail. This avoids modification times in the future and should make builds safer in shared environments sstate was designed for. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18libdrm: Add --disable-cairo-tests switch and update to upstream patchDaniel Stone4
Rather than implicitly relying on Cairo being disabled through not being present, add a configure switch to forcibly disable it. The updates the code to use a patch backported from upstream git instead of our custom version. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18libdrm: Bump git recipe to latest 2.4.39+ revisionDaniel Stone1
Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18scipts/combo-layer: Fix check_rev_branch() for cases where the revision is ↵Richard Purdie1
on more than one branch If a revision is in more than one branch, the check_rev_branch() function can't cope with it and the tool returns incorrect errror messages. This patch ensures it copes with this situation. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18lttng-tools: skip new libexec insane testSaul Wold1
Because lttng-tools installs files into /usr/lib/lttng/libexec, the test matches and throws a false positive, so use INSANE_SKIP Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18qemu: add libexecdir to configure callSaul Wold1
This address the following when libexecdir is not set to /usr/libexec WARNING: QA Issue: qemu: Files/directories were installed but not shipped /usr/libexec /usr/libexec/qemu-bridge-helper /usr/libexec/.debug /usr/libexec/.debug/qemu-bridge-helper Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18insane.conf: add new libexec testSaul Wold1
This tests for /usr/libexec as we are moving things to /lib/. the test is ignored if the distro defaults to /usr/libexec. Currently this test will be disabled by default since the current value of ${libexecdir} is "/usr/libexec". Also this tests needs to be enabled in the WARN_QA list. [YOCTO #2915] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18chkconfig: pass CFLAGS to MakefileJoe Slater1
The environment CFLAGS is not used by the chkconfig Makefile, so debug and optimization options are ignored. So, we use RPM_OPT_FLAGS to pass CFLAGS into Makefile. Upstream-Status: Inappropriate [configuration] Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18packagegroup-self-hosted: recommend kernel modules instead of depending on themMarcin Juszkiewicz1
Requested kernel modules may be integrated in kernel or totally disabled as not needed on target. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18Move 'tag=' to SRCREV in mtd-utils recipeEvade Flow1
Signed-off-by: Evade Flow <evadeflow@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>