summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2013-03-23sudo: Fix out of tree builds ${B} != ${S}Richard Purdie1
The last change to sudo broke out of tree builds, fix this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23Perl packages shouldn't be allarchJesse Zhang5
Perl packages should know about arch so that they could install to the correct libdir. Or else they always install to the default libdir in multilib builds. Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23packagegroup-core-tools-debug: split out Eclipse packagesPaul Eggleton7
Split out the packages added for Eclipse remote debugging to a separate package group so that we can avoid pulling them in if not using Eclipse. Fixes [YOCTO #3251]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23packagegroup-core-tools-debug: remove rsyncPaul Eggleton1
This was added for supporting Anjuta, which is no longer actively supported; in any case the anjuta-remote-run package RDEPENDS on rsync so it will be brought in by that if that is added. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23sudo: Compile mksigname and mksiglist for build hostKhem Raj1
cross compiling sudo doesnt work well since it uses mksigname and mksiglist to generate C sources which are then used in sudo build itself. With this patch now we make sure those hosttools are compiled for build machine. It fixes the build failures like ./mksigname > signame.c /bin/sh: ./mksigname: cannot execute binary file make[1]: *** [signame.c] Error 126 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23polkit: removeRoss Burton6
Previous commits have meant that PolicyKit isn't used by default anymore, so remove this now that it's been integrated into meta-gnome. Rationales for this move inludes that PolicyKit isn't "core" for embedded systems, and future versions require the SpiderMonkey JavaScript runtime. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23linux-firmware: Package Broadcom firmwaresOtavio Salvador1
Adds specific packages for bcm4329, bcm4330 and bcm4334, including handling of symbolic link for the needed firmware filename. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23cairo: explicity disable lzoSaul Wold1
By explicitly disabling the LZO check, we ensure a deterministic build [YOCTO #4076] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23classes/buildhistory: trim trailing spaces in file listingsPaul Eggleton1
These are mildly annoying when viewing git diffs of the buildhistory repository, so let's just get rid of them. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23classes/buildhistory: implement history collection for SDKsPaul Eggleton11
SDKs are constructed in a similar manner to images, and the contents can be influenced by a number of different factors, thus tracking the contents of produced SDKs when buildhistory is enabled can help detect the same kinds of issues as with images. This required adding POPULATE_SDK_POST_HOST_COMMAND and SDK_POSTPROCESS_COMMAND variables so that data collection functions can be injected at the appropriate points in the SDK construction process, as well as moving the list_installed_packages and rootfs_list_installed_depends functions from the rootfs_{rpm,ipk,deb} to the package_{rpm,ipk,deb} classes so they can also be called during do_populate_sdk as well as do_rootfs. Implements [YOCTO #3964]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23libuser: Use abs_srcdir instead of srcdirKhem Raj1
srcdir is still relative to pwd. We need to use abs_srcdir to get absolute source directory names Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22vte: Fix conflict between FILES_${PN}-dbg and FILES_vte-dbgMark Hatle1
Due to quarks with the way bitbake handles variable key values, the hard coded FILES_vte-dbg or automatic FILES_${PN}-dbg could replace each other, leaving the system in an inconsistent state. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22mesa: rename mesa-dri recipe to just mesaLaurentiu Palcu14
Rename mesa-dri recipes to just mesa. Also, replace all references to mesa-dri in all recipes/configs. The reason for this renaming (quote from bugzilla): "mesa-dri is a artefact of mesa-xlib existing, which doesn't anymore. mesa-dri should be renamed to mesa." [YOCTO #3385] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22local.conf.sample.extended: update for disk monitorRobert Yang1
The previous disk monitor is based on the disk, and one disk only can have one action, now it is based on the path, so we remove the additional comments from local.conf.sample.extended [YOCTO #3995] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22fix march sanity check issueZhenhua Luo1
1. check if gcc_test is really generate before os.remove("gcc_test") to avoid following error: ERROR: Execution of event handler 'check_sanity_eventhandler' failed Traceback (most recent call last): File "check_sanity_eventhandler(e)", line 4, in check_sanity_eventhandler(e=<bb.event.ConfigParsed object at 0x3151450>) File "sanity.bbclass", line 107, in check_sanity(sanity_data=<bb.data_smart.DataSmart object at 0x11ba110>) File "sanity.bbclass", line 22, in check_gcc_march(sanity_data=<bb.data_smart.DataSmart object at 0x11ba110>) OSError: [Errno 2] No such file or directory: 'gcc_test' 2. set result to False when build failed with -march=native to ensure -march=native is appended to BUILD_CFLAGS when host gcc really supports this flag, otherwise following error appears when build native packages. | cap_text.c:1: error: bad value (native) for -march= switch | cap_text.c:1: error: bad value (native) for -mtune= switch Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22perl: remove the duplicated RDEPENDSRobert Yang1
Remove a duplicated line: RDEPENDS_${PN}-module-cpanplus += "${PN}-module-load" [YOCTO #4064] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22perl-native: remove duplicated LIC_FILES_CHKSUMRobert Yang1
Remove duplicated LIC_FILES_CHKSUM: LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" [YOCTO #4064] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22pm-utils: remove duplicated RDEPENDSRobert Yang1
Remove duplicated RDEPENDS_${PN} = "grep". [YOCTO #4064] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22consolekit: don't inherit gnomeRoss Burton1
By inheriting gnome this package was build-depending on gtk-update-icon-cache-native, gconf, gconf-native, shared-mime-info and hicolor-icon-theme for no reason. Change this to inherit autotools pkgconfig to reduce the build-dependencies. Also, add a missing dbus-glib build-dependency that was previously pulled in through something in the gnome class. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22package_{ipk, deb, rpm}: drop the TARGET_OS conditionalChristopher Larson3
The tclibc file for uclibc already empties IMAGE_LINGUAS, so there's no point to this conditional as far as I can tell, and it can cause issues for certain values of TARGET_OS. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22package_deb: don't install glibc-localedata-i18n separatelyChristopher Larson1
This was removed from package_rpm and package_ipk years ago, and shouldn't be needed, installing the packages from package_linguas should be sufficient. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22coreutils: disable ACL as we do not depend on itMarcin Juszkiewicz1
Coreutils does not depend on ACL but also does not disable it. Effect is that from time to time I have a copy in sstate-cache which got built with ACL and then I have problem while building images or sdk: | Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-standalone-hhvm-sdk-target: | * libacl1 (>= 2.2.51) * | * opkg_install_cmd: Cannot install package packagegroup-core-standalone-hhvm-sdk-target. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22perl: avoid splitting out .debug directories as packagesPaul Eggleton1
The recursive parameter is set to True, the regex for the first call to do_split_packages matches any path under ${libdir}/perl/${PV}/auto/, and the .debug directories contain .so files, so each one was getting picked up as a package. Change the regex to disallow dots in the path beneath auto/ and thus avoid the .debug directories. Fixes [YOCTO #4048]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22connman-conf: Avoid appending IPv4 addressJukka Rissanen1
If run more than once, the IP addresses would be appended to IPv4 variable. Avoid that by rewriting the IPv4 always. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22connman-conf: Move the setup script into /usr/lib/connmanJukka Rissanen2
The /etc/connman is not suitable for the setup script. There are other connman related scripts in /usr/lib/connman so moving the wired setup script there. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22distrodata.bbclass: added some more git processingEmilia Ciobanu1
* Truncated all git MD5 sums to 7 digits * Added regex checking for git packages as well Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22distro: Add separatebuilddir.incRichard Purdie1
Going forward its going to be useful to separate build data from source data in those autotooled projects which support it. Unfortunately there is a lot of breakage so for now, this starts the creation of an opt in list which we can iterate over enable more recipes over time. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22apt: Fix case where ${B} != ${S}Richard Purdie3
Need to reference objects from ${B}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22base-passwd: Fix case where ${B} != ${S}Richard Purdie1
Need to reference build objects from ${B}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22babeltrace: Fix case where ${B} != ${S}Richard Purdie1
Autotools need to run in ${S}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21dhcp: Fix case where ${B} != ${S}Richard Purdie2
Add patch to allow out of tree builds to work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21directfb: Fix case where ${B} != ${S}Richard Purdie2
Add patch to allow out of tree builds to work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21mtdev: Fix case where ${B} != ${S}Richard Purdie2
Add patch to allow out of tree builds to work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21pth: Fix case where ${B} != ${S}Richard Purdie1
Ensure the autotools commands are executed in ${S} to allow out of tree builds to work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21lzop: Fix case where ${B} != ${S}Richard Purdie1
Remove path assumptions and ensure out of tree builds work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21pm-utils: Fix case where ${B} != ${S}Richard Purdie1
Change to the correct directory to execute gnu-configize. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21rpm: Fix case where ${B} != ${S}Richard Purdie1
We need to run autogen.sh in the correct directory (${S}). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21python-pygtk: Fix case where ${B} != ${S}Richard Purdie1
Fix out of tree builds by adding missing path component. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21dpkg: Fix case where ${B} != ${S}Richard Purdie1
Add missing path component to make out of tree builds work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21xinted: Fix case where ${B} != ${S}Richard Purdie1
do_install needs to reference files in ${B} and we need to run do_configuze in ${S}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21texinfo: Fix case where ${B} != ${S}Richard Purdie1
The install function needs to reference generated files in ${B}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21watchdog: Fix case where ${B} != ${S}Richard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21pam: Fix case where ${B} != ${S}Richard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21libuser: Fix case where ${B} != ${S}Richard Purdie2
Fix out of tree builds and a parallel make race, see the patch header for details. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-20alsa-tools: add patch for mips since it does not have io.hSaul Wold2
[YOCTO #4051] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-20grep: Always use locale.hAlexandru DAMIAN2
The changes in the grep 2.5 configuration always leave out HAVE_LOCALE_H - it has been removed from other files, but not from everywhere. This leads to a crash in certain configurations where the size of int is not the size of pointer; this happens because setlocale() is used while being undeclared. [YOCTO #3959] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19harfbuzz: update the license informationMaxin B. John1
harfbuzz is using the 'Modern Variants' of MIT License: https://fedoraproject.org/wiki/Licensing:MIT?rd=Licensing/MIT#Modern_Variants We can update the LICENSE as 'MIT & ICU'. Fixes this warning: WARNING: harfbuzz: No generic license file exists for: Old-MIT in any provider WARNING: harfbuzz: No generic license file exists for: UCDN in any provider WARNING: harfbuzz: No generic license file exists for: HarfBuzz-old in any provider Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19perf: Fix parsing errorRichard Purdie1
Due to the use of ${@...} the code will try and expand this when performing the initial parsing. If the sysroot doesn't exist with an existing kernel, this will fail at parsing time. Sinec we're already in python, just remove the ${@....} wrapping and then we execute at do_package time which is what we want. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19perf: make PKGV match kernel versionTom Zanussi1
Have perf grab and use the kernel version it's built from for PKGV, rather than the default perf recipe version, so the final packages get the kernel version instead of the default 1.0, which represents a backwards value from the previous recipe. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19layer.conf: avoid unnecessary early expansion with :=Christopher Larson1
bitbake handles immediate expansions of LAYERDIR for us automatically. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>