summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sstate-cache-management.sh: fixes and enhancementRobert Yang2012-03-301-49/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a few problems and enhance its functions, it shoud be more useful than before. * Search in meta and meta-* for archs, and grep AVAILTUNES for archs, (only search meta, and grep DEFAULTTUNE before), add the host arch. and also can search in extra layers with --extra-layer. * Reduce the analyzing time when remove duplicated files. It would cost more than 10 minutes to analyze 11,000 files before, now only needs about 50 seconds. * Check the access time rather than create time. * Need the user's confirm before really remove the file, or use --yes to assume yes. * Add --stamps-dir to keep sstate files which are used by the build directory, and remove others this can make the sstate cache dir clean, it is faster and should be useful than the --remove-duplicated. * Add --verbose to explain what is being done. * Add "-d" which is short for --remove-duplicated [YOCTO #2198] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk: don't echo opkg-cl output to log.do_rootfsMartin Jansa2012-03-301-0/+2
| | | | | | | * log_check can find some files with ERR or Fail substring e.g. in "Source: " field Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-packgae.bbclass: Add i686 support in locale_arch_optionsNoor Ahsan2012-03-291-0/+1
| | | | | | | | | * While building for i686 architecture an error was coming that locale_arch_options does not have support for i686. Add missing support. * Verified on intel architecture. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bc: use update-alternatives to make dc play nice with busyboxDenys Dmytriyenko2012-03-291-2/+5
| | | | | | | | busybox' default configuration enables dc app, which bc also provides, setup update-alternatives to resolve the conflict. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer: Provide easy way to enable runtime debuggingGary Thomas2012-03-294-4/+8
| | | | | | | | | | | The gstreamer framework has a very useful debugging setup which is essential for debugging pipelines and plugins. This patch makes it simple to enable this (disabled by default). To enable debugging, just add this line to local.conf GSTREAMER_DEBUG = "--enable-debug" Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: set console=ttyS0 when running with nographic optionScott Garman2012-03-291-0/+1
| | | | | | | | | | | When passing the nograhic option to the runqemu script, set console=ttyS0 in the kernel options so the user can view the kernel boot messages. This fixes [YOCTO #1475] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Use '+=' for IMAGE_FSTYPESTom Rini2012-03-291-1/+1
| | | | | | | | | As per http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/020053.html a machine conf file should use '+=' to set IMAGE_FSTYPES. Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: remove existing license.manifest before appending new dataEric Bénard2012-03-291-0/+4
| | | | | | | | without this fix, we append license each time we build again the same image, ending with a large not up to date file. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fix remaining CP_ prallel make racesRichard Purdie2012-03-292-47/+89
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Ensure we depend on fileRichard Purdie2012-03-281-1/+1
| | | | | | | | rpm links to libmagic from file so it needs to be listed in DEPENDS else we can have race conditions causing build failures such as those seen on the autobuilder recently. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.15: Update SRCREVKhem Raj2012-03-284-27/+131
| | | | | | | Get new patches and remove the one that got merged upstream Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter: clutter_git is really clutter-1.8_git, renameRichard Purdie2012-03-281-0/+0
| | | | | | | | | | | | Both these clutter recipes provide 1.8. With different PN namespace, a world build cna build both causing the clutter libraries to "disappear" at certain points of the build. In particular, this causes issues for mx. This patch puts then into the same PN namespace so only one can be built. [YOCTO #2158] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Make builds deterministicRichard Purdie2012-03-281-2/+2
| | | | | | | | | | | | libtiff now depends on lzma which can be obtained from xz and doesn't use lzo. Previously, libtiff would detect and use lzma if it was present leading to a number of race conditions including failures in things linking to libtiff such as ghostscript since lzma could be removed while being rebuild leading to failures in linking. This patch corrects the dependency. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-intermediate: Ensure we move the libraries from the correct locationRichard Purdie2012-03-281-1/+2
| | | | | | | | | | | | | This fixes multilib issues if you try for example to use a BASELIB of /lib32 which wouldn't work without this change since the compiler install location is taken from gcc -print-multi-os-directory which can still turn out to be "/lib". The reason is that a 32 bit gcc has no multilib code enabled and will always return "." as that value rather than "../${base_libdir}" which our changes to gcc enable and return in 64 bit mode. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fixes for parallel_makeRichard Purdie2012-03-282-10/+844
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* procps: don't print error message with kernel 3.0+Andreas Oberritter2012-03-282-1/+46
| | | | | | | | | | | | | * All procps tools print a message like this when the kernel version consists of only two numbers: | Non-standard uts for running kernel: | release ... gives version code ... * Import a patch from Debian to quieten this message. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powerpc e500: set -mfloat-gprs=doubleChristopher Larson2012-03-282-2/+2
| | | | | | | | | | Use of FPRs instead of GPRs is incompatible with e500/SPE, so let's be explicit about the use of GPRs to avoid potential errors. For example, with the Sourcery G++ toolchain, one can hit: conftest.c:1:0: error: E500 and FPRs not supported. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl: add mapping for powerpc-nfChristopher Larson2012-03-281-0/+1
| | | | | | | | This ensures we get the files from the correct multilib dir in the external toolchain when using powerpc with soft-float. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/bitbake: Update to help rebuild pseudo-nativeMark Hatle2012-03-281-5/+31
| | | | | | | | | | | | Attempt to detect when pseudo-native has been updated. If it has been updated, or if the user is attempting an operation with pseudo-native in the name, force a build of pseudo-native, prior to running the main build. Note: This causes a build, then clean in the case of bitbake -c cleansstate pseudo-native Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Pseudo: Update to 1.3Peter Seebach2012-03-288-418/+14
| | | | | | | | | | | | | | | | The various local patches have made it into upstream, so we update the build files and jump to pseudo 1.3. This also includes a popen() fix which fixes some edge cases that caused failures trying to check git branches and the like. [Yocto bug #2181] Signed-off-by: Seebs <peter.seebach@windriver.com> Updated the pseudo_git.bb to match. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf.sample.extended: Add documentation of archive source code ↵Richard Purdie2012-03-281-0/+21
| | | | | | configuration Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zypper: Fix build with gcc 4.7Khem Raj2012-03-282-1/+22
| | | | | | | More details in patch header Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: support externalsrc buildsBruce Ashfield2012-03-281-0/+2
| | | | | | | | | | | | There are a few extra task that modify the source tree that should be removed when externalsrc is inherited by a recipe that uses a linux-yocto tree. Adding those tasks to SRCTREECOVEREDTASKS means that they are skipped and externalsrc works as intended. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune/armv7: DeleteKhem Raj2012-03-283-59/+2
| | | | | | | | | | | | | | | | | | | | armv7 is least common denominator of armv7-a armv7-m and armv7-r and armv7-m does not support ARM instructions but only thumb2 instruction set which means armv7 when chosen will complain if code is compiled in arm mode which is default in OE if not specified other wise if we chose this tuning errors like below pop up error: target CPU does not support ARM mode This tuning seems theoretical and base tune for armv7 would be one of armv7-a, armv7-m or armv7-r Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr 4.8.9: failed to build on x86_64 boardRobert Yang2012-03-273-1/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nspr failed to build on x86_64 board(e.g., qemux86-64): x86_64-poky-linux-gcc -m64 ... -m32 ... ... fatal error: gnu/stubs-32.h: No such file or directory This is because there are both '-m64' and '-m32' in gcc's options, and the later one is used, but what we need is '-m64' since it is x86_64, this is caused by an incorrect logic in configure.in, we should assume that the pkg uses 64bit when target_cpu is x86_64 (it has two options: --enable-n32 and --enable-64bit, both of them are not set by default), we only can assume that the pkg uses 32bit when USE_N32 is set. But what it did was that assumed 32bit when target_cpu was x86_64 unless --enable-64bit was set, this seems unreasonable and caused the "gcc -m64 -m32" error. Some had noticed this error before: https://lists.yoctoproject.org/pipermail/poky/2011-May/005799.html NOTE: * Both fix configure and configure.in since we can't run the "autoreconf" for nsrp, please see more explanation in trickly-fix-build-on-x86_64.patch. * Also fixed powerpc64, this is just fixed by conclusion since we don't suport ppc64. [YOCTO #2179] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* contacts.inc: conditionally install shemaRobert Yang2012-03-272-1/+40
| | | | | | | | | | | | | Install schema should respect to GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL, If GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, the schema should not be installed, but it always installed shema before, this was incorrect and it would cause host contamination since it would read $HOME/gconf/.gconf. [YOCTO #2178] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* contacts 0.9: failed to buildRobert Yang2012-03-271-1/+14
| | | | | | | | | | | | | | | | | contacts_0.9.bb failed to build since lacks of: * SRC_URI[md5sum] or SRC_URI[sha256sum] * LIC_FILES_CHKSUM And an indent error in Makefile.am. Fix these problems at the moment, maybe we should remove this old version recipe since there is a contacts_git.bb [YOCTO #2178] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: remove duplicate setting of -i for inode countSaul Wold2012-03-271-2/+3
| | | | | | | inode count is already set in the EXTRA_IMAGECMD definition Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* builder: Enable auto starting of HobSaul Wold2012-03-272-4/+8
| | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vmdk: Update for direstdiskSaul Wold2012-03-271-3/+12
| | | | | | | | The conversion to directdisk is necessary due to the limitation in the mkdosfs version we carry and larger filesystems. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boot-directdisk: Fix Block CalcuationSaul Wold2012-03-271-6/+13
| | | | | | | | | | | | This also changes the timeout to be settable The block calcuation was not correctly rounding, see comment Thanks to Darren Hart for fixing this. Cc: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-vmdk: Add symbolic link for a short named vmdk imageSaul Wold2012-03-271-0/+2
| | | | | | | | This adds a link from the date stamped vmdk image to a shortened name file. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: pre-populate the builder user with poky sourceDexuan Cui2012-03-271-2/+39
| | | | | | | | | | | | | | | | | | | | This patch installs the poky source into the /home/builder/poky/ of the self-hosted-image. This makes the user of self-hosted-image easier to start a build. I think the recent poky master is stable enough, so I specify a commit number by SRCREV -- we may want to update this number before releasing 1.2. This patch fixes [YOCTO #2065] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Added code for supporting target based pseudo fixed indentation Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-canadian: Clean non shipped empty directories.Lianhao Lu2012-03-271-5/+6
| | | | | | | Cleaning up non shipped empty directories. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile: Deal with hardcoded path issuesRichard Purdie2012-03-271-1/+6
| | | | | | | Without this build of autogen-native break if the guile-native package has been recloated. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk: replace 3 opkg-cl calls with one in get_package_filenameMartin Jansa2012-03-261-3/+4
| | | | | | | | * || true is needed for cases where grep doesn't find anything * and quotes around info are needed to keep line breaks Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: scons: add EXTRA_OESCONSDenis 'GNUtoo' Carikli2012-03-261-2/+4
| | | | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archive-configured-source.bbclass: Archive configured sourceXiaofeng Yan2012-03-261-0/+14
| | | | | | | | | This bbclass prepares for archiving configured source. [YOCTO #1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archive-original-source.bbclass: Archive original sourceXiaofeng Yan2012-03-261-0/+14
| | | | | | | | | | | | | This bbclass prepares for archiving original source. If original source is tarball, then copy this tarball to ${DEPLOY_DIR}/sources. If original source is dirctory, then archive this directory to tarball [YOCTO #1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archiver.bbclass:Xiaofeng Yan2012-03-261-0/+460
| | | | | | | | | | | | | | | | | 1 Archive sources in ${S} in the different stage (do_unpack,do_patch,do_configure). 2 Archive patches including series 3 Archive logs including scripts (.bb and .inc files) 4 dump environment resources which show all variable and functions used to xxx.showdata.dump when running a task 5 dump all content in 's' including patches to file xxx.diff.gz All archiving packages will be deployed to ${DEPLOY_DIR}/sources/ [YOCTO #1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: Add srpm function to this bbclassXiaofeng Yan2012-03-261-3/+50
| | | | | | | | | | | Add a new function to archive source, patches and logs to a source rpm package. Every source rpm package will be deployed to ${DEPLOY_DIR}/sources/deploy-srpm [YOCTO #1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* src_distributelocal.bbclass: Remove src_distribute_local.bbclassXiaofeng Yan2012-03-261-33/+0
| | | | | | | | | This bbclass has been merged into archiver.bbclass [#YOCTO 1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* src_distribute.bbclass: Remove src__distribute.bbclassXiaofeng Yan2012-03-261-49/+0
| | | | | | | | | This bbclass has been merged into archiver.bbclass [#YOCTO 1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sourcepkg.bbclass: Remove sourcepkg.bbclassXiaofeng Yan2012-03-261-107/+0
| | | | | | | | | This bbclass has been merged into archiver.bbclass. [YOCTO #1977] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: common-pc: Add PCNET32 to the configBruce Ashfield2012-03-262-2/+2
| | | | | | | | | | | | | | | | | Updating the meta SRCREV to pick up this commit: [ common-pc: Add PCNET32 to the config Qemu and VM Ware both support PCNET32 and the latter requires it for 32 bit images. Signed-off-by: Darren Hart <dvhart@linux.intel.com> ] Signed-off-by: Darren Hart <dvhart@linux.intel.com>5A Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: touch .scmversion also in ${S}Martin Jansa2012-03-261-1/+1
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix empty file case that caused build error at do_rootfsJessica Zhang2012-03-261-1/+1
| | | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* speex: fix FILES variablesEric Bénard2012-03-261-2/+1
| | | | | | | | actually FILES_${PN} and FILES_${PN}-dev match the same files. these files are supposed to go into ${PN} so remove the other entry. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix packaging dependencies on minimal systemsGary Thomas2012-03-263-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you install the top-level python package only on a minimal system which has no other python packages installed then python is not functional at all. Without any extra packages installed this error is seen: # python Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 64, in <module> import traceback ImportError: No module named traceback Installing python-lang only partly fixes the problem as this error still exists: # python Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 569, in <module> main() File "/usr/lib/python2.7/site.py", line 551, in main known_paths = addusersitepackages(known_paths) File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages user_site = getusersitepackages() File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "/usr/lib/python2.7/site.py", line 243, in getuserbase USER_BASE = get_config_var('userbase') File "/usr/lib/python2.7/sysconfig.py", line 520, in get_config_var return get_config_vars().get(name) File "/usr/lib/python2.7/sysconfig.py", line 400, in get_config_vars import re ImportError: No module named re Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: Define runnable and deployable patternDongxiao Xu2012-03-261-0/+4
| | | | | | | | Define runnable image type and machine pattern. Define deployable image type. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>