summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* syslinux: Avoid using linux.ext2_fs.h if possibleDarren Hart2012-04-062-2/+978
| | | | | | | | | | | | Fixes [YOCTO 2236] With recent Linux kernel headers, such as 3.3 in Fedora 16, the linux/ext2_fs.h header has been removed. This causes compile failures for syslinux-native. Backport a fix to address this from syslinux-4.06-pre3. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Ross Burton <ross.burton@intel.com> CC: Joshua Lock <josh@linux.intel.com>
* gdbm: Activate -enable-libgdbm-compat and add symlinks to headers in ↵Andrei Gherzan2012-04-061-1/+12
| | | | | | | | | | | | | include/gdbm ndbm.h is needed by python for dbm module. This is why -enable-libgdbm-compat was added to configure. The second change is because python is looking for the gdbm headers in include/gdbm. The easiest way to solve this issue is to add symlinks in include/gdbm. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* self-hosted-image: Increase space for build and allow builder user sudo accessSaul Wold2012-04-041-6/+6
| | | | | | | | 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 Signed-off-by: Saul Wold <sgw@linux.intel.com>
* conf/machine/include: Update SH tunings to match READMEMark Hatle2012-04-044-6/+65
| | | | | | | | Update the experimental SH tunings to match the tunings README. These tunings have not been tested, and are experimental! Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include: Cleanup ARM tunings to match READMEMark Hatle2012-04-046-7/+47
| | | | | | | | | | | | | | | | | | | 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include: Cleanup PowerPC tunings to match READMEMark Hatle2012-04-049-20/+47
| | | | | | | | | | | | 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include: Cleanup MIPS tunings to match READMEMark Hatle2012-04-043-7/+84
| | | | | | | | | | 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include: Cleanup IA tunings to match READMEMark Hatle2012-04-045-27/+59
| | | | | | | | | | | 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* conf/machine/include/README: Add readme to explain cpu tuningsMark Hatle2012-04-042-1/+77
| | | | | | | | | | | | | | 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* archive-patched-source.bbclass: Archive patched sourceXiaofeng Yan2012-04-041-0/+14
| | | | | | | | This bbclass inherits archiver.bbclass to archive patched source [YOCTO #1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* Remove redundant reference to "task-self-hosted" from self-hosted-image.bbRobert P. J. Day2012-04-041-4/+0
| | | | | | | | | | | 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. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
* qt-4.7.4: Fix build with gcc 4.7Khem Raj2012-04-044-2/+70
| | | | | | | | g++ 4.7 is detecting inheritence problems which we solve by explictly specifying elements in constructors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt-mobility: Fix build with gcc 4.7Khem Raj2012-04-042-2/+52
| | | | | | | C getpid needs unistd.h for getting its signature Signed-off-by: Khem Raj <raj.khem@gmail.com>
* webkit: Fix build with gcc-4.7Khem Raj2012-04-042-1/+23
| | | | | | | Include unistd.h for all linux and not just for android. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* archiver.bbclass: enhance code readabilityXiaofeng Yan2012-04-041-119/+108
| | | | | | | | | The modification is as follow: - Modify some codes with more preferable readability and vague description. - Use existed functions instead of custom functions. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* eglibc packaging: locale packaging configurationNitin A Kamble2012-04-042-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* gcc-cross-intermediate: fix do_install for x32Nitin A Kamble2012-04-041-1/+1
| | | | | | | | | | | | 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" Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* package_{deb,ipk,rpm}: apply umask to files generated in ↵Andreas Oberritter2012-04-043-0/+3
| | | | | | | | | do_package_write_{deb,ipk,rpm} * Explicitly set umask to 022. Otherwise the build system's umask may leak into the image. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* copyleft_compliance: also print the reason for including a packageEric Bénard2012-04-041-4/+4
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* license.py: fix behaviour of copyleft_complianceEric Bénard2012-04-041-4/+7
| | | | | | | | | | | | | | | | | | | | | | 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*. Signed-off-by: Eric Bénard <eric@eukrea.com>
* license.bbclass: Check if copyfile succeeded with isfileAndrei Gherzan2012-04-041-2/+3
| | | | | | | | 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. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* binutils: Inform binutils that armv5e really is valid!Mark Hatle2012-04-042-1/+22
| | | | | | | | | | 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* elfutils: disable lzma (and bzip2 for native)Paul Eggleton2012-04-031-2/+3
| | | | | | | | | | | 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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: build with expat, add missing RRECOMMENDS_gdbserverAndreas Oberritter2012-04-034-6/+6
| | | | | | | | | | | * 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. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: SDK_GLIBC_ADDONS for eglibc-nativesdk.Lianhao Lu2012-04-036-7/+14
| | | | | | | | Use SDK_GLIBC_ADDONS for eglibc-nativesdk so that it is not dependant on the target eglibc's GLIBC_ADDONS settings. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Fix sysroot conflict over owner of macrosRichard Purdie2012-04-022-3/+7
| | | | | | | | | | | | | | | | 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-ffmpeg: Fix build failures from sstate relocationRichard Purdie2012-04-021-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-ffmpeg: Fix build with gcc 4.7Khem Raj2012-04-022-1/+59
| | | | | | | | A cmp instruction with two constants is invalid, therefore 'g' constraint is not correct but must be "rm" instead. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix a latent bug exposed by gcc 4.7Khem Raj2012-04-022-2/+61
| | | | | | | Further Details are in patch itself Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiny: Update linux-yocto-tiny to 3.2Darren Hart2012-04-0216-763/+25
| | | | | | | | | | | | | | | | 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. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update tiny meta and configuration for kernel 3.2Bruce Ashfield2012-04-022-2/+2
| | | | | | | | | | | | | | | 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> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: fix indentation: 8 spaces --> TabDexuan Cui2012-04-021-5/+5
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* builder: uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKEDexuan Cui2012-04-022-1/+6
| | | | | | We use sed to enable the 2 settingis in conf/local.conf. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* self-hosted-image: renew the poky src's SRCREV that's installed into the targetDexuan Cui2012-04-021-2/+2
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* self-hosted-image: improve do_populate_poky_srcDexuan Cui2012-04-021-2/+7
| | | | | | | | | | | 1) remove the assumption ${DL_DIR} ends with downloads/. Thanks Paul Eggleton for pointing this out. 2) remove downloads/git2_* tarballs to speed up the rootfs creation. This is ok since we still have the git2/. Thanks Richard Purdie for suggesting this. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* genext2fs: support large files and filesystems without using large amounts ↵Dexuan Cui2012-04-0222-10/+4776
| | | | | | | | | | | | | of memory update_to_1.95.patch was generated by making a diff bewteen the 1.4.1 release and the latest 1.9.5 version in the cvs repo: http://genext2fs.cvs.sourceforge.net/viewvc/genext2fs/genext2fs/genext2fs.c?revision=1.95 The patches 0001-0019 come from mailing list of genext2fs-devel http://sourceforge.net/mailarchive/forum.php?forum_name=genext2fs-devel&max_rows=100&style=flat&viewmonth=201106 Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* qemugl: Fix GL apps failure on Ubuntu 11 host with nVidia GLX driverZhai Edwin2012-04-021-3/+8
| | | | | | | | | | | | | Previous version of nVidia GLX driver in Ubuntu 10 cause qemu segfault, so we fall back to Mesa GLX driver if detecting nVidia driver installed. From Ubuntu 11, nVidia GLX driver works well, while previous work around cause GL apps failure. So this work around is limited in Ubuntu 10 only, and will be removed in future. [YOCTO #1886] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: make seperate commits for every changed top level entry in the ↵Koen Kooi2012-04-011-1/+4
| | | | | | | | | buildhistory dir This seperates out image changes from package changes making the image diffs a lot easier to read. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: record all buildsKoen Kooi2012-04-011-0/+2
| | | | | | | When nothing has changed an empty commit prefixed with "No changes" will get generated so that the commit log of the buildhistory repo provides a complete log of all builds performed, not just those that resulted in changes. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: remove duplicate entries from dot graphKoen Kooi2012-04-011-5/+5
| | | | | | | | | There are various conditions that lead to duplicate entries in the dot graph which need to get fixed, but this patch is a catchall. A previous attempt to address this only works on rpm which gives a \n seperated output, opkg doesn't. Another benefit is that the sort order is now know, leading to less spurious diffs in buildhistory commits. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross-canadian.bbclass: fix rpath for sdk executablesNitin A Kamble2012-03-311-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This makes the libraries located in places like this findable: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib Which avoids linking cross canadian sdk executables with host libraries like this: $ ldd /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gdb linux-vdso.so.1 => (0x00007fffb7fff000) libreadline.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/x86_64-oe-linux/../libreadline.so.6 (0x00007fbfb5511000) libdl.so.2 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libdl.so.2 (0x00007fbfb530c000) libncurses.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libncurses.so.5 (0x00007fbfb50e9000) libtinfo.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libtinfo.so.5 (0x00007fbfb4ec2000) libz.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/x86_64-oe-linux/../libz.so.1 (0x00007fbfb4cac000) libm.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libm.so.6 (0x00007fbfb4a2a000) libpthread.so.0 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libpthread.so.0 (0x00007fbfb480d000) libutil.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libutil.so.1 (0x00007fbfb4609000) libexpat.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/x86_64-oe-linux/../libexpat.so.1 (0x00007fbfb43e0000) libc.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libc.so.6 (0x00007fbfb4059000) /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000003f05000000) [RP: Whitespace tweaks] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa8/9: fix PACKAGE tunes being all armv7at even for non-Thumb onesDenys Dmytriyenko2012-03-312-4/+4
| | | | | | | | | | | All PACKAGE_EXTRA_ARCHS for cortexa8, cortexa8t and cortexa8-neon have typo in referencing tune-armv7at even for non-Thumb modes. Probably a copy/paste error. That's not the case for recently-added hard-fp tunes. Same for cortexa9. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/bitbake: add/fix some commentsPaul Eggleton2012-03-311-3/+13
| | | | | | | | Add some comments explaining what this script does, fix one grammatical error in a comment and make the tar-replacement-native comment give the full reason why it is needed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/bitbake: allow switching between build directoriesPaul Eggleton2012-03-311-5/+10
| | | | | | | | | | | | | | The recent addition of the check to ensure the user was in their build directory disabled the ability to switch between build directories without re-running the build environment setup script. We can rely upon checking for conf/bblayers.conf instead, so use this check. This does allow BUILDDIR (which is normally set by the environment script) to be unset; however if it is set then it is assumed to be the correct build directory and will be used in the error message that is shown when we can't find conf/bblayers.conf. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/bitbake: try harder to check if pseudo existsPaul Eggleton2012-03-311-3/+9
| | | | | | | | | | | If pseudodone doesn't exist, we can get STAGING_BINDIR_NATIVE by calling bitbake -e and use that as the path to check for pseudo before we give up and try to build it explicitly first. This is useful for people who share TMPDIR between multiple build directories. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* nasm: fix issue with repeat configureNitin A Kamble2012-03-311-4/+4
| | | | | | | | | | | | | | | | | | | | This Fixes bug: [YOCTO #2176] This fixes the following issue as mentioned in the bug: If nasm-native has to be rebuilt (due to a signature change) it will fail: | checking for a BSD-compatible install... /usr/bin/install -c | /media/large/tmp/work/x86_64-linux/nasm-native-2.07-r1/nasm-2.07/configure: line 4261: syntax error near unexpected token `-W' | /media/large/tmp/work/x86_64-linux/nasm-native-2.07-r1/nasm-2.07/configure: line 4261: `PA_ADD_CFLAGS(-W)' | ERROR: oe_runconf failed NOTE: package nasm-native-2.07-r1: task do_configure: Failed The failure appears to be caused by do_patch_fixaclocal being run a second time Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig.bbclass: corrected dependency for -nativesdk.Lianhao Lu2012-03-311-0/+1
| | | | | | | | For -nativesdk, the dependency should be pkgconfig-nativesdk instead of pkgconfig. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Drop -nativesdk dependency to lib-cross.Lianhao Lu2012-03-311-0/+1
| | | | | | | | | -nativesdk recipes should not have dependency to lib-cross, which is never used. This unnecessary dependency would result different task hash values in sstate for different MACHINE settings. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* crosssdk.bbclass: Set TUNE_PKGARCH to SDK_PKGARCH.Lianhao Lu2012-03-311-0/+5
| | | | | | | | | | The TUNE_PKGARCH of crosssdk should be set to SDK_ARCH, not the one from target machine's configuration. Fixed bug [YOCTO #2206] Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk.bbclass: Set PACKAGE_ARCHS to SDK_PACKAGE_ARCHS.Lianhao Lu2012-03-311-7/+1
| | | | | | | | | | | | This patch fixed the issue of reading incorrect pkgdata files. Previous appending '-nativesdk' suffix to PACKAGE_ARCHS would result the i686-nativesdk recipes reading in x86_64-nativesdk pkgdata files if the MACHINE is set to qemux86-64. Fixed bug [YOCTO #2203]. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>