summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* scripts/combo-layer: a simple way to script the combo-layer confLeandro Dorileo2011-08-111-1/+12
| | | | | | | | | | | | | | | | | | | | This small patch introduces a a very simple and basic way to script the combo-layer conf file. With that a combo can be shared with no need to change its config - associated to the use of environment variables for example. *Similar* to bitbake it considers every value starting with @ to be a python script. So local_repo could be easily configured as: [bitbake] local_repo = @os.getenv("LOCAL_REPO_DIR") + "/bitbake" or any more sophisticated python syntax. This version updates the config file description so users can be aware of. Signed-off-by: Leandro Dorileo <ldorileo@gmail.com>
* sstate: Add level 2 debug so its possible to see what sstate is doingRichard Purdie2011-08-111-2/+8
| | | | | | | | | | Currently its hard to figure out if/when sstate is checking for possible packages to speed up builds. This patch adds level 2 debug output which better indicates what files are being searched for an why. [YOCTO #1259] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Various fixups to ensure consistent gcc buildsRichard Purdie2011-08-1118-33/+17
| | | | | | | | | | | | | We ensure that: * the shared work directory contains PR and ensure PR values are consistent across gcc builds * the regexp to handle library directories is in a specific task and run once This avoids breakage that was seen in incremental builds after commit be1f70d68b6b75772ebab8bdff683ddd7c42b0cd where the interpretor could become corrupted. This was due to the sed expression corrupting the source directory. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdkKumar Gala2011-08-103-2/+3
| | | | | | | | | Don't use GLIBC_EXTRA_OECONF for the nativesdk builds. Easiest solution is to just override it settings. Otherwise we might pickup configure options ment for the target build. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe.terminal: improve how we spawn screenChris Larson2011-08-101-1/+6
| | | | | | | | | - Name the screen session 'devshell', to avoid confusion if running bitbake itself under a screen session. - Display a warning message when spawning screen, so it's clear to the user that screen has been run (otherwise do_devshell just appears to hang). Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Rework how the devshell functionsChris Larson2011-08-103-18/+147
| | | | | | | | | | | | | | | | | | | | | | | | In the new implementation, each known terminal is defined as a class in oe.terminal, as a subclass of bb.process.Popen. terminal.bbclass wraps this functionality, providing the metadata pieces. It obeys the OE_TERMINAL variable, which is a 'choice' typed variable. This variable may be 'auto', 'none', or any of the names of the defined terminals. When using 'auto', or requesting an unsupported terminal, we attempt to spawn them in priority order until we get one that's available on this system (and in the case of the X terminals, has DISPLAY defined). The 'none' value is used when we're doing things like automated builds, and want to ensure that no terminal is *ever* spawned, under any circumstances. Current available terminals: gnome konsole xterm rxvt screen Signed-off-by: Chris Larson <chris_larson@mentor.com>
* core-image: adjust to use the new IMAGE_FEATURES supportChris Larson2011-08-101-60/+17
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* image: add support for generally useful {dev,doc,dbg}-pkgs featuresChris Larson2011-08-101-2/+32
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* image: implement IMAGE_FEATURESChris Larson2011-08-101-3/+14
| | | | | | | | | | | | | | IMAGE_FEATURES is analagous to DISTRO_FEATURES and MACHINE_FEATURES, for root filesystem construction. Currently, the only supported features are any defined package groups, as used by the oe.packagegroup python module. Example usage: PACKAGE_GROUP_myfeature = "vim iptables" IMAGE_FEATURES += "myfeature" Signed-off-by: Chris Larson <chris_larson@mentor.com>
* scripts/oe-buildenv-internal: improve the error detecting for $BDIRDexuan Cui2011-08-101-8/+15
| | | | | | | | | | | | | The previous fix for a bug in Ubuntu 10.04 readlink, be2a2764d8ceb398d81714661e6f199c8b11946c, notified the user when a trailing slash was used. As there is no semantic difference, simply remove any trailing slashes and proceed without nagging the user. See [YOCTO #671] for more details. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
* tune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the ↵Richard Purdie2011-08-101-1/+2
| | | | | | arch-ia32 version Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: Ensure nativesdk package extension is handled correctlyRichard Purdie2011-08-091-6/+9
| | | | | | | | | | | This avoids the warning: NOTE: multiple providers are available for runtime libsqlite3-dev (sqlite3, sqlite3-nativesdk) NOTE: consider defining a PREFERRED_PROVIDER entry to match libsqlite3-dev until such times as we convert nativesdk to use a prefix like multilib. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Add MULTI_PROVIDER_WHITELIST manipulation for multilibRichard Purdie2011-08-091-0/+14
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-distrovars.inc: Allow world builds to be successfulRichard Purdie2011-08-091-1/+2
| | | | | | | | | | | | Currently we exclude some packages with license issues from world builds but we don't exclude packages that depend on them leading to errors when trying a "bitbake world". This patch also blacklists the dependees so that a world build doesn't show horrible errors and requires the -k option. [YOCTO #1262] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIRDaniel Lazzari2011-08-091-1/+1
| | | | | | | | | | | Lazily appending causes a bug where wrong cache is cleared when BB_SRCREV_POLICY = "clear". Tested with qemuarm on uclibc/eglibc in same build dir Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Poke more paths for presence of libglKhem Raj2011-08-091-0/+1
| | | | | | | | | On ubuntu 11.10 libGL is not in /usr/lib/`uname -i`-linux-gnu/ directory so we search this dir too. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc_0.9.32: Sync mount.h from eglibcKhem Raj2011-08-092-1/+87
| | | | | | | | mount.h has few more defines that are being used by newer applications such as systemd Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Ensure PREFERRED_PROVIDER and PREFERRED_VERSION values are set ↵Richard Purdie2011-08-091-0/+45
| | | | | | for multilibs Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* module-init-tools-cross: Clean the RDEPENDS valueDongxiao Xu2011-08-091-0/+1
| | | | | | | | | cross recipes should not RDEPENDS on any package. Cross recipe has no "PACKAGES" define, thus clean RDEPENDS_${PN} value to ensure correctness in multilib. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: Avoid RDEPENDS on bash in native case.Dongxiao Xu2011-08-091-0/+1
| | | | | | | | gnome-doc-utils-native should not RDEPENDS on bash, thus add RDEPENDS override to fix the issue. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x86 tune inc files: add x32 abi tune parametersNitin A Kamble2011-08-083-3/+22
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* insane.bbclass: add entries for linux-gnux32Nitin A Kamble2011-08-081-0/+3
| | | | | | | For x86_64 new ABI : x32, there is a new name for the TARGET_OS: linux-gnux32 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* siteinfo.bbclass: add entries for new x86_64 ABI x32 targetNitin A Kamble2011-08-081-1/+11
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* eglibc: remove PACKAGES from eglibc.incMartin Jansa2011-08-081-2/+0
| | | | | | | | * PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition from eglibc.inc was overriden from recipes including eglibc.inc only Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: Supported multilib extend in more recipes.Lianhao Lu2011-08-081-13/+436
| | | | | | | Added more recipes supporting multilib extend. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Fix hard code libdir issue for multilibMei Lei2011-08-081-9/+9
| | | | | Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: add CCACHE_DIR dependency to do_kernel_configmeSaul Wold2011-08-081-0/+1
| | | | | | | | | | [YOCTO #1350] Since do_kernel_configme is added before the standard do_configure task we needed to add CCACHE_DIR so when the kernel builds it's host configure tools the CCACHE_DIR exists. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-yocto: merge v3.0.1Bruce Ashfield2011-08-081-6/+6
| | | | | | | | | | 3.0.1 -stable has been released. This now becomes the baseline for the 3.0 linux-yocto tree. As was the policy in the 2.6.34 and 2.6.37 kernels, the version stays at 3.0 in the recipe. Build and boot tested on qemu* targets. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: update atom-pc preempt-rt definitionBruce Ashfield2011-08-081-1/+1
| | | | | | | | The atom-pc preempt-rt configuration wasn't pulling in the common-pc settings, and wasn't defining re-use of the preempt-rt/base branch properly. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: allow configuration of arbitrary branchesBruce Ashfield2011-08-082-13/+5
| | | | | | | | | | | | | | | | When building an external tree or bootstrapping a BSP the external branch may not have been checked out. The tools now ensure that the tree is ready for configuration, so we no longer need to force the checkout of the external branch. This change is coupled with some kern tools tweaks as follows: 40d9bab updateme: allow the location of board descriptions based on defines 59859ca createme: use branch name when creating meta data 91b4275 configme: determine meta branch based on directories, not branch naming f5a915c kgit-meta: make branch creation and renaming more robust Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: pass KMACHINE to updateme, not MACHINEBruce Ashfield2011-08-081-1/+1
| | | | | | | | | To support the mapping of any oe/yocto MACHINE to a kernel branch that may not share that naming structure we have KMACHINE and KBRANCH. To allow the mapping to work, we actually have to pass KMACHINE into updateme and not MACHINE. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lttng-control: Update to 0.89Richard Purdie2011-08-081-3/+3
| | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: Update to 0.15Saul Wold2011-08-082-56/+7
| | | | | | | This address [YOCTO #1005] which was waiting for upstream updates from the lttng and GDB teams. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* liburcu: Update to 0.6.4Saul Wold2011-08-081-3/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gdb: Update to 7.3Saul Wold2011-08-088-53/+37
| | | | | | This has one upstream patch removed and a couple rebased Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gtk-icon-cache bbclass: don't assing to global RDEPENDSKoen Kooi2011-08-081-3/+3
| | | | | | | Only the package with the icons needs it [Squashed laster RDEPENDS fix from koen into commit] Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* apr-util: disable pqsql support to avoid configure errorMei Lei2011-08-061-1/+2
| | | | | | | | | | The pqsql config script will check host path and add host paths to compiler and linker options: adding "-I/usr/include/postgresql" to CPPFLAGS adding "-L/usr/lib" to LDFLAGS Disable pqsql support since we didn't use this feature in other recipes. Signed-off-by: Mei Lei <lei.mei@intel.com>
* python-native: Fix a compiler finding issueMei Lei2011-08-062-1/+22
| | | | | | | The CC variable sometimes add option information after compiler name, but python can't get the real compiler name if those information added. Fix this issue by dropping the option information when finding compiler name. Signed-off-by: Mei Lei <lei.mei@intel.com>
* gst-plugins: partially sync packaging with OE .devKoen Kooi2011-08-066-20/+40
| | | | | | | | | | | | | | | | | | | | | | | | | Gst-plugins get 2 extra packages: ${PN}-apps: helper apps in ${bindir} ${PN}-meta: meta package that will drag in all plugins, libs and apps ${PN} generates And all libs are split out and run through debian style renaming if enabled. The packaging include was split out to be reused by external plugins (e.g. gst-plugin-gl, gst-fluendo-*). The new package list looks like: libgstapp-0.10-0_0.10.32-r1_armv7a.ipk libgstfft-0.10-0_0.10.32-r1_armv7a.ipk [..] gst-plugins-base-videorate_0.10.32-r1_armv7a.ipk gst-plugins-base-videoscale_0.10.32-r1_armv7a.ipk [..] gst-plugins-base-meta_0.10.32-r1_armv7a.ipk [..] gst-plugins-base-apps_0.10.32-r1_armv7a.ipk Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* gcc: use ${base_lib} to match gcc default configurationKumar Gala2011-08-061-1/+1
| | | | | | | | Rather than tweaking MULTILIB_DIRNAMES & MULTILIB_OSDIRNAMES like is done for x86-64 via 64bithack.patch. We can just go with gcc defaults and utilize ${base_lib} for where to find gcc libs. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* bitbake.conf/powerpc64: Set baselib to 'lib64' for ppc64Kumar Gala2011-08-051-1/+3
| | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-core-boot.bb: Add PACKAGE definition to facilitate multilibDongxiao Xu2011-08-051-1/+7
| | | | | | | | | | | | | | If there is no PACKAGES defined in bb file, its default definition would be "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale". In multilib case, ${PN} is extended with ${MLPREFIX}, so there is no rename occurred for the PACKAGES. Therefore for task-core-boot, RDEPENDS_lib32-task-core-boot will be empty, resulting busybox, tinylogin, etc. are not bulit out. This fixed the issue that /bin/sh is not provided while do_rootfs. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: Added ${MLPREFIX} for task dependency.Lianhao Lu2011-08-051-1/+1
| | | | | | | | [YOCTO #1338] Added ${MLPREFIX} to the task dependency between eglibc-locale:do_install and the corresponding virtual/libc's do_populate_sysroot. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* ghostscript: Fixed the incorrect DEPENDS.Lianhao Lu2011-08-051-1/+1
| | | | | | | | [YOCTO #1337] Using ghostscript-native instead of ${PN}-native in DEPENDS to correct the invalid DEPENDS in multilib cases. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* Misc: Corrected the dependency on non-native for -native package.Lianhao Lu2011-08-053-3/+4
| | | | | | | | | | [YOCTO #1336] Corrected the wrong dependency on non-native for -native packages for the following recipes: - util-macros - intltool Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* qt4x11.bbclass: Using BPN instead of PN.Lianhao Lu2011-08-051-1/+1
| | | | | | | [YOCTO #1335] Using BPN instead of BP to decide the DEPENDS content for multilib cases. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* tcp-wrappers: Using ${PN} in PACKAGES.Lianhao Lu2011-08-051-3/+3
| | | | | | | | | [YOCTO #1334] Using ${PN} instead of tcp-wrappers in PACKAGES and FILES_*, since the FILES_tcp-wrappers would be overwritten by FILES_${PN} when the variable name gets expansioned. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* SRC_URI: Using BPN instaed of PN.Lianhao Lu2011-08-052-3/+3
| | | | | | | | [YOCTO #1333] In multilib cases, PN has the prefix of MLPREFIX. It is not correct to use PN in SRC_URI. We should use the pruned BPN instead. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* gtk-icon-cache: add hicolor-icon-theme to DEPENDSKoen Kooi2011-08-051-0/+2
| | | | | | | This fixes do_rootfs breaking because OE didn't resolve the RDEPENDS added with python Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machine/include/arm/feature-arm-thumb: Allow thumb to be disabledRichard Purdie2011-08-051-1/+1
| | | | | | | | | The previous commit to this file meant thumb was always being turned on even when TUNE_FEATURES did not contain "thumb". This is clearly wrong and this patch corrects this so thumb options are no longer specified in that case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>