summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-04-05lib/bb/ui/hob: exit cleanly if the required pygtk version isn't availableJoshua Lock
Hob uses API from pygtk 2.22, therefore check to see whether this version is available and exit cleanly if not. (Bitbake rev: 192d5fdf9ea27cdc8b043204857ae5b21173a011) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: reset issue indication and build status before build starts on build ↵Shane Wang
details screen (Bitbake rev: 5fed953105fd58f09e42dce233aab2c6eced7c37) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: remove grab_default() for deploy buttonShane Wang
When the deploy button is disabled since there is no deployable image, the console will show the warning message: WARNING: /home/yocto-build5/poky-contrib/bitbake/lib/bb/ui/crumbs/imagedetailspage.py:333: GtkWarning: /build/buildd/gtk+2.0-2.22.0/gtk/gtkwidget.c:5684: widget not within a GtkWindow self.deploy_button.grab_default() This patch is to remove the warning message. (Bitbake rev: 51a9a5557bb798b559874a4e6dc9924380b5d9a4) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: add the "info" indication icon for "information" in the dialogs.Shane Wang
Previously we reused the info display file which is for indication of tooltips. But it is too small, when it is shown on the dialog as the dialog indication icon, it becomes unclear after being stretched out. So, we replace it with a larger icon. (Bitbake rev: 87282847f1ba56420b0c6dbf04bea6e518962398) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: fix IMAGE_INSTALL setting while save templateDongxiao Xu
If save every selected package into IMAGE_INSTALL field, and then build the saved bb file by bitbake command line, it will report errors since some packages could not be found since they are dynamically generated. With this commit, Hob will only save those packages into the IMAGE_INSTALL variable which are brought in by user. (Bitbake rev: 6c970d07422bb9a8fcf339315587cfc9b207a44e) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: Fix toolchain buildDongxiao Xu
Originally we added -dev and -dbg postfixes to our selected packages as toolchain packages. However, some package names are modified in recipes, so we could not rely on its base name. The new approach is to detect if a package is selected, then include those packages under the same recipe endswith "-dev" and "-dbg". This fixes [YOCTO #2185] (Bitbake rev: f99c66071bce63780301e1639d74316503ca934c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: Set stop button sensitive after task startedDongxiao Xu
(Bitbake rev: e62a5cfbf21d22ab9f88dcd954132c1c52802360) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: Remove duplication for certain bitbake variablesDongxiao Xu
Sometimes, certain variables have duplicated values inside, for example, IMAGE_FSTYPES = "tar.bz2 ext3 tar.bz2 ext3" We need to remove the redundancy for those values. (Bitbake rev: 98849cf9201239b23bbbe9247db4d6901f0ed905) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: Remove some calling of initiate_new_build()Dongxiao Xu
initiate_new_build() function is in async mode and could not be called before another async function. Also we could not initialize the build if user simply change a setting, therefore remove this function. (Bitbake rev: c184cefe90115623e2312ad2bbe34ea95788c129) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: Update the cache when setting changedDongxiao Xu
If values in advanced is changed, we also need to reparse the cache to get the latest value. (Bitbake rev: 7b2f6744201511060f26cd2761e9556efec4b9a2) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-05Hob: Fix MACHINE settingDongxiao Xu
Define the empty curr_mach to be "" instead of None. Fix the judgement for ' if self.curr_mach == "" ' to be ' if self.curr_mach '. Also set machine to bitbake server when "MACHINE" is not empty. (Bitbake rev: 662fa1b126d5b9b3a80193205c22b2fe29305185) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04self-hosted-image: Increase space for build and allow builder user sudo access1.2_M4.rc2Saul Wold
We need to have about 40G to do a full sato build even with rm_work enabled Add sudo priveleges inorder to allow the builder user to setup the tap/tun devices needed by runqemu (From OE-Core rev: 3e4562500956550dbae5467a5fe9289f1d32f775) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04conf/machine/include: Update SH tunings to match READMEMark Hatle
Update the experimental SH tunings to match the tunings README. These tunings have not been tested, and are experimental! (From OE-Core rev: 603a15bf4c838e4b6352e31f70a958d93f91138f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04conf/machine/include: Cleanup ARM tunings to match READMEMark Hatle
Cleanup the ARM tunings to match the new tunings README file. The ARM tunings define TUNE_PKGARCH in a way that only one main arm architecture, i.e. armv6, may be defined at the same time. We may have to revise these settings in the future, as well as figure out a way to better differentiate various optimize tunings in the package arch. (This was not done, to preserve existing behavior!) Fix a number of minor issues w/ the armv5 tunings where DSP variants were referenced but not defined. Fix incorrect armv7 entries in armv7a. Fix PACKAGE_EXTRA_ARCHS definitions inside of tune-cortexm3 and tune-cortexr4. (From OE-Core rev: 0e71abea5458122188d5eddef2c17147f61ff895) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04conf/machine/include: Cleanup PowerPC tunings to match READMEMark Hatle
Cleanup the PowerPC tunings to match the new tuning README file. Default PowerPC to using TUNE_PKGARCH = ${TUNE_PKGARCH_tune-<tune>} Fix AVAILTUNE settings in ppc603e, and ppce500mc to be addative. Correct potentially overlapping "spe" definitions in ppce500 and ppce500v2. (From OE-Core rev: f81f71bcff4bb1032b034b068efe6065113ca9e7) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04conf/machine/include: Cleanup MIPS tunings to match READMEMark Hatle
Cleanup the MIPS tunings to match the new tuning README file. Also add a MIPS specific README file to explain the MIPS specifical architectural issues. Finally correct the variant configurations within the tune-mips32.inc. (From OE-Core rev: efbfa2ace3362393a20340af93e8dcab17a8619a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04conf/machine/include: Cleanup IA tunings to match READMEMark Hatle
We perform a basic cleanup of the IA32 architecture and related tunings in order to match the rules and descriptions within the new tuning README file. A number of small issues were corrected in the "c3" tuning to bring it inline with the README. (From OE-Core rev: ab77d3401908964f3249c761969600b5ec1bfbd0) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04conf/machine/include/README: Add readme to explain cpu tuningsMark Hatle
Add a new README that covers the basic items used with various cpu tunings. The goal is to better help people understand the various settings and where things should or should not be defined. Corresponding architecture README files will also be generated to explain the particulars of architectural tunings. Also remove the default TUNE_PKGARCH setting in bitbake.conf. This was done to ensure an error occurs if an invalid tuning is defined. (From OE-Core rev: e138f9f7e48e0af94c5c88045c4f0581cc68248d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04archive-patched-source.bbclass: Archive patched sourceXiaofeng Yan
This bbclass inherits archiver.bbclass to archive patched source [YOCTO #1977] (From OE-Core rev: 8f25bf3881ee568bbe03132d2205da5382fa7dd6) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04Remove redundant reference to "task-self-hosted" from self-hosted-image.bbRobert P. J. Day
This recipe already includes "task-self-hosted" in the IMAGE_INSTALL line: IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" so there's no apparent need to include it again further down. (From OE-Core rev: bbc7f24d463c11b16f000462528c18bbb86b1e88) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04qt-4.7.4: Fix build with gcc 4.7Khem Raj
g++ 4.7 is detecting inheritence problems which we solve by explictly specifying elements in constructors (From OE-Core rev: 553ac1bf0ebf2ecf4e45ace4016b50c810ef7b26) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04qt-mobility: Fix build with gcc 4.7Khem Raj
C getpid needs unistd.h for getting its signature (From OE-Core rev: da89bb83298eaf28faebcc8782f207927fbe190a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04webkit: Fix build with gcc-4.7Khem Raj
Include unistd.h for all linux and not just for android. (From OE-Core rev: c870606c9da2fa90df2cd7c4a198e3bf5340304b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04archiver.bbclass: enhance code readabilityXiaofeng Yan
The modification is as follow: - Modify some codes with more preferable readability and vague description. - Use existed functions instead of custom functions. (From OE-Core rev: 514319c4a15156cd63a4ac3c6ee903f64c98884e) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04eglibc packaging: locale packaging configurationNitin A Kamble
The PACKAGE_NO_GCONV var manipulations ware happening in the eglibc-options.inc file, and the eglibc-locale recipe do not see it. Moving that into the libc-package.bbclass which is common to eglibc & eglibc-locale recipes. This fixes bug: [YOCTO #2089] This avoids this error for poky-tiny NOTE: package eglibc-locale-2.13-r19: task do_populate_sysroot: Started ERROR: Error executing a python function in /opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb: OSError: [Errno 2] No such file or directory: '/home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/package/usr/lib/gconv' ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "package_do_split_gconvs", line 264, in <module> ERROR:· ERROR: File "package_do_split_gconvs", line 45, in package_do_split_gconvs ERROR:· ERROR: File "package.bbclass", line 30, in do_split_packages ERROR:· ERROR: The code that was being executed was: ERROR: 0260:»------»-------bb.note("generation of binary locales disabled. this may break i18n!") ERROR: 0261: ERROR: 0262: ERROR: 0263: ERROR: *** 0264:package_do_split_gconvs(d) ERROR: 0265: ERROR: (file: 'package_do_split_gconvs', lineno: 264, function: <module>) ERROR: 0041:»------»-------»-------d.setVar('RPROVIDES_%s' % pkg, pkg.replace(bpn, 'glibc')) ERROR: 0042: ERROR: 0043:»------do_split_packages(d, gconv_libdir, file_regex='^(.*)\.so$', output_pattern=bpn+'-gconv-%s', \ ERROR: 0044:»------»-------description='gconv module for character set %s', hook=calc_gconv_deps, \ ERROR: *** 0045:»------»-------extra_depends=bpn+'-gconv') ERROR: 0046: ERROR: 0047:»------def calc_charmap_deps(fn, pkg, file_regex, output_pattern, group): ERROR: 0048:»------»-------deps = [] ERROR: 0049:»------»-------f = open(fn, "r") ERROR: (file: 'package_do_split_gconvs', lineno: 45, function: package_do_split_gconvs) ERROR: Function failed: package_do_split_gconvs ERROR: Logfile of failure stored in: /home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/temp/log.do_package.31042 NOTE: package eglibc-locale-2.13-r19: task do_package: Failed ERROR: Task 552 (/opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb, do_package) failed with exit code '1' Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04gcc-cross-intermediate: fix do_install for x32Nitin A Kamble
This Fixes [Ycoto #2223] bug. The gcc osdir is obtained in the do_install by invocation of command "gcc -print-multi-os-directory". For x32 it returns gcc osdir for the default abi which is x86_64. Fix this by adding target abi parameter to the gcc command line to get correct gcc osdir with invocation of command "gcc -mx32 -print-multi-os-directory" (From OE-Core rev: e65b6a4282d5c4882d0565b79ccba99db90161ff) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04package_{deb,ipk,rpm}: apply umask to files generated in ↵Andreas Oberritter
do_package_write_{deb,ipk,rpm} * Explicitly set umask to 022. Otherwise the build system's umask may leak into the image. (From OE-Core rev: d2a54427481856238bdfec9723cf575088320512) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04copyleft_compliance: also print the reason for including a packageEric Bénard
(From OE-Core rev: 20996da46aff03e61de50444ab3a0ab46c057dfd) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04license.py: fix behaviour of copyleft_complianceEric Bénard
actually if a package has a license in its LICENSE variable which is not in the whitelist nor in the blacklist and even if an other license in this variable is in the whitelist, the package gets excluded and is not taken in account in the copyleft_compliance. This patch solves this by excluding a recipe _only_ if the LICENSE variable includes a pattern from the blacklist and including a recipe only if it includes a variable from the whitelist _and_ none from the blacklist. Example in busybox which has LICENSE="GPLv2 & BSD-4-Clause", with the actual behaviour (where he blacklist contains only CLOSED Proprietary) we get : DEBUG: copyleft: busybox-1.19.4 is excluded: recipe has excluded licenses: BSD-4-Clause which is not sane because busybox is covered by a copyleft license which is GPLv2 and should match the default whitelist which is GPL* LGPL*. (From OE-Core rev: 987d06447d2eacf2e01f08e29469c00fbb0ef1db) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04license.bbclass: Check if copyfile succeeded with isfileAndrei Gherzan
A cleaner way to check if copyfile suceeded is to use os.path.isfile. In this way we can omit warns in some python versions where copyfile return the same non-0 value even is this action is successfull. (From OE-Core rev: fa51fe19a1dc1ddc4c9ec879a782953fd6a15117) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04binutils: Inform binutils that armv5e really is valid!Mark Hatle
A comment in the binutils sources indicate that it should support all of the -march= parameters that gcc supports. The tune validations noted that gas failed on -march=armv5e. It is not yet clear to me if this patch belongs upstream or not. (From OE-Core rev: 4f2503ebdb5c491b758cbdf6eb7df96d4295c24f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04documentation/yocto-project-qs/yocto-project-qs.xml: Added CentOS distroScott Rifenbark
Reported-by: David Stewart <david.c.stewart@intel.com> (From yocto-docs rev: 4df12f3437488f6d8dbfb54dd3de25f5636162c1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-04documentation/bsp-guide/bsp.xml: Patch to fix small issuesRobert P. J. Day
Applied a patch from Robert P. J. Day to fix some small issues in the BSP manual. (From yocto-docs rev: 7744d5101fd2b5a46a53707976b8899eb03f1c08) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03elfutils: disable lzma (and bzip2 for native)Paul Eggleton
Fix some library dependency issues: * Disable lzma as xz-native is unstated in DEPENDS * Disable bzip2 for native as it is in ASSUME_PROVIDED and thus isn't available when elfutils-native is normally built, but if it gets rebuilt the link will be made; plus we don't need it. (From OE-Core rev: 1634d736c55f767fe82a46bbb7f83c32006fece9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03gdb: build with expat, add missing RRECOMMENDS_gdbserverAndreas Oberritter
* Fixes communication between gdbserver and gdb-cross by using the same expat settings for both recipes. * Adds missing build dependencies for expat/expat-native. * Adds missing glibc-thread-db runtime recommendation to gdbserver, which was set only for gdb. (From OE-Core rev: 38ee88e3b32b7444d7f1eb64f1b4f69a48fe0458) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03eglibc: SDK_GLIBC_ADDONS for eglibc-nativesdk.Lianhao Lu
Use SDK_GLIBC_ADDONS for eglibc-nativesdk so that it is not dependant on the target eglibc's GLIBC_ADDONS settings. (From OE-Core rev: e165203a6a7eb1fd47a20c3ede4d5a20ad49487f) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03documentation/dev-manual/dev-manual-common-tasks.xml: removed ↵Scott Rifenbark
MULTILIB_IMAGE_INSTALL Fixes [YOCTO #1980]. Changed MULTILIB_IMAGE_INSTALL to IMAGE_INSTALL in the multilib example. This variable is no longer used. Reported-by: Matthew McClintock <msm@freescale.com> (From yocto-docs rev: dfcbecf945b19e559b39b5824dc6b8bb37c18702) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03documentation/dev-manual/dev-manual-common-tasks.xml: Edit to md5sumScott Rifenbark
Example corrected. (From yocto-docs rev: 844ffad1e3b998d62ea7c10273785d710dc3541e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03documentation/dev-manual/dev-manual-common-tasks.xml: Updated makefile sectionScott Rifenbark
Fixes [YOCTO #1888] Per Darren Hart I swapped in the real example and added some text explaining what the user needs to do if their source is from a tarball. Reported-by: Darren Hart <darren.hart@intel.com> (From yocto-docs rev: a1991f0b6f32a0a296ae4d115a834ed61042720b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03documentation/bsp-guide/bsp.xml: Added some front-matterScott Rifenbark
Due to the addition of the BSP Tools section, I needed to add a bit of front-matter to the start of the chapter indicating that we provide information on how to create and manage a BSP Layer. (From yocto-docs rev: 7ae34fa58aba6b17866a5379bdcdffd83491ff20) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03documentation/bsp-guide/bsp.xml: Removed NoteTom Zanussi
Remove the 'note' that says that the BSP Guide doesn't show how to create a new BSP. With the addition of the Yocto BSP Tools section, that's no longer true. Also, the wiki page mentioned is out-of-date and probably shouldn't be pointed to any longer for that reason. (From yocto-docs rev: 972c2d2bc9f50f5f65b296b7396dc640710ad5b2) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03documentation/bsp-guide/bsp.xml: Edits to the BSP Tools sectionScott Rifenbark
I have scrubbed the new section for the BSP Tools. Changes reflect re-wordings, formatting, etc. (From yocto-docs rev: c13d5a42665d256c6da6d663611291eef9617f1f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-03documentation/bsp-guide/bsp.xml: New section on using BSP tools.Tom Zanussi
Some documentation introducing and helping get people started with the Yocto BSP Tools (yocto-bsp and yocto-kernel). (From yocto-docs rev: 56a6db181f5cdf3c23daa021fe1e9ecb15843678) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02gettext: Fix sysroot conflict over owner of macrosRichard Purdie
gettext-minimal-native andgettext-native are trampling over each other's files. This can be reproduced with: bitbake gettext-minimal-native bitbake gettext-native bitbake gettext-native -c clean bitbake shadow-native which will fail since the aclocal gettext macros will have disappeared. This patch fixes the problem by giving ownership of them to gettext-minimal-native and ensuring there is a correct dependency on this. (From OE-Core rev: 5bcb68a232539cf11a30e3b812b2fbd6d7d76e35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02gst-ffmpeg: Fix build failures from sstate relocationRichard Purdie
This is a similar situation to: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=3c96a5386355969428163ddb60216cc989e00b3d Builds were failing with a failure in configure: | checking for i586-poky-linux-gcc... ccache i586-poky-linux-gcc -m32 -march=i586 -L/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib | checking whether the C compiler works... no | configure: error: in `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gst-ffmpeg-0.10.13-r2/gst-ffmpeg-0.10.13': | configure: error: C compiler cannot create executables | See `config.log' for more details config.log shows: configure:3976: ccache i586-poky-linux-gcc -m32 -march=i586 -L/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5 /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4/ld: cannot find crt1.o: No such file or directory /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4/ld: cannot find crti.o: No such file or directory /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4/ld: cannot find crtbegin.o: No such file or directory /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4/ld: cannot find -lgcc /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4/ld: cannot find -lgcc_s collect2: ld returned 1 exit status The reason being the --sysroot option is missing from the gcc commandline and its looking in nightly-x86, not nightly-world in this case. There is no reason to add extra -L options to the compiler, the sysroot already takes care of this. We can therefore simply remove this incorrect CC line. (From OE-Core rev: 78299c87eafbea8331fa062f61095dd8de429109) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02gst-ffmpeg: Fix build with gcc 4.7Khem Raj
A cmp instruction with two constants is invalid, therefore 'g' constraint is not correct but must be "rm" instead. (From OE-Core rev: 1161c40a26146629613bd6a17b263175a492b751) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02apt: Fix a latent bug exposed by gcc 4.7Khem Raj
Further Details are in patch itself (From OE-Core rev: 0dc952e35da00a753317a4f878b23eab8bb7bc4a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02tiny: Update linux-yocto-tiny to 3.2Darren Hart
Migrate linux-yocto-tiny from 3.0 to 3.2. The 3.0 recipe was based entirely on recipe-space fragments and was only a proof of concept. The 3.2 linux-yocto meta-data now has a proper tiny KTYPE defined. By default this recipe supports only the qemux86 machine, which builds the common-pc support (including networking, sound, USB, VGA and serial consoles, etc.). New machines can be added and will use the tiny KTYPE, but will need to add any desired hardware support as the base config is very minimal. No filesystems are supported by default, only the initramfs. (From OE-Core rev: 44c556f5300b1d811a1ae71f501320d1a6b0fb2e) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02linux-yocto: update tiny meta and configuration for kernel 3.2Bruce Ashfield
Updating the META SRCREV to pickup these commits: 59f350e meta: Add common-pc-tiny.scc 0996ca9 tiny: Minimize the tiny config d6b57bb meta: common-pc add dependencies to cfg Which update the configuration for the tiny profile of the kernel for the 3.2 release. cc: Darren Hart <dvhart@linux.intel.com> (From OE-Core rev: df3b8f716cc9203251cd4d4b5e673d7ecab5111b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02self-hosted-image: fix indentation: 8 spaces --> TabDexuan Cui
(From OE-Core rev: 80e1cf4deb2a875449876f947a7a8ba29d6def5b) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>