summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2012-07-04perl: add @STAGINGDIR@ for config.sh substitionsTom Zanussi1
For some config.sh substitions, we'd like to be able to use STAGING_DIR_HOST; add @STAGINGDIR@ to allow for that. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perl: keep original libperl locationTom Zanussi1
Things like ExtTools expect to find libperl at the original (${libdir}/perl/${PV}/CORE/libperl.so) location, so keep it there but symlink to it for the original (?) reason. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04mkelfimage: Add stable git build (initial recipe)Raymond Danks1
Signed-off-by: Raymond Danks <ray.danks@se-eng.com> Acked-by: Darren Hart <dvhart@linux.intel.com>
2012-07-04image_types: Add elf image typeRaymond Danks1
On x86, an ELF image file may be stored as a coreboot payload. The image file is constructed, using the mkelfimage utility, from a kernel and an initrd. Signed-off-by: Raymond Danks <ray.danks@se-eng.com> Acked-by: Darren Hart <dvhart@linux.intel.com>
2012-07-04package.bbclass: enable the use of package_qa_handle_errorSaul Wold1
This will allow the reporting of these errors as either WARNINGs (default) or ERRORs if installed_vs_shipped is added to the ERROR_QA of the policy file (such as a <distro_name>.conf file. V2: found the code I had intended to send instead of that other junk, was just not watching what I pushed on that one, sorry. (this is edit in no in the actual commit message) Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04oprofile: Change /root to /home/rootMark Hatle2
OE uses /home/root instead of /root for the root user's directory. Update oprofile to match. Upstream-status: Inappropriate [OE Specific] Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-04speex: use lib_package bbclassSaul Wold1
This is a clean-up following the recent addition of PN-bin to bitbake.conf and lib_package Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04gnutls: use lib_package bbclassSaul Wold1
This is a clean-up following the recent addition of PN-bin to bitbake.conf and lib_package Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04db: use lib_package bbclassSaul Wold1
This is a clean-up following the recent addition of PN-bin to bitbake.conf and lib_package Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04pulseaudio: use lib_package bbclassSaul Wold2
This is a clean-up following the recent addition of PN-bin to bitbake.conf and lib_package Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04libacpi: use lib_package bbclassSaul Wold1
This is a clean-up following the recent addition of PN-bin to bitbake.conf and lib_package Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04lib_package: use PACKAGE_BEFORE_PNSaul Wold1
Since this check effective is not a change becase the package order that was in this file has not really changed no PR Bumps are needed. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04bitbake.conf: Add PACKAGE_BEFORE_PN to PACKAGESSaul Wold1
By doing this we can easily add addtional packages that can be greedy before PN, but after some of the other standard packages. This will also allow us to simplify the lib_package class to set this variable. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04kernel: Add kernel headers to kernel-dev packageDarren Hart3
[YOCTO #1614] Add the kernel headers to the kernel-dev package. This packages what was already built and kept in sysroots for building modules with bitbake. Making this available on the target requires removing some additional host binaries. Move the location to /usr/src/kernel Before use on the target, the user will need to: # cd /usr/src/kernel # make scripts This renders the kernel-misc recipe empty, so remove it. As we use /usr/src/kernel in several places (and I missed one in the previous version), add a KERNEL_SRC_DIR variable and use that throughout the class to avoid update errors in the future. Now that we package the kernel headers, drop the kernel_package_preprocess function which removed them from PKGD. All *-sdk image recipes include dev-pkgs, so the kernel-dev package will be installed by default on all such images. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Khem Raj <raj.khem@gmail.com>
2012-07-04linux-yocto-tiny: add KMETA specificationBruce Ashfield1
With recent kern tools changes, having a meta branch is opt-in. The other linux-yocto recipes were updated, but linux-yocto-tiny was missed. Without specifying a meta branch, the kernel configuration audit won't return any useful results, and throws a warning message. WARNING: Can't find any BSP hardware or required configuration fragments. WARNING: Looked at //cfg///hdw_frags.txt and //cfg///required_frags.txt in directory: //cfg// NOTE: package linux-yocto-tiny-3.2.18+git1+ee78519365bdb25287703bbc31c06b193263c654_1+27b68a93eb791e830da8d3a2c0fc99780897ad89-r3.0: task do_kernel Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-07-04linux-yocto/3.4: update preempt-rt to 3.4.4-rt13Bruce Ashfield2
Updating preempt-rt in the 3.4 kernel to the latest upstream version 3.4.4-rt13. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-07-04linux-yocto/3.4: v3.4.4 + configuration updatesBruce Ashfield2
Bumping the kernel version to v3.4.4 and importing the following meta branch commits: 9b7c74b meta: bump kver to v3.4.4 8231dec ck: relocate config post patches 26b965e net_sched: remove dupicate configuration option df8bf19 meta: remove non applying routerstationpro patch 292d8ea arm: import upstream versatile io.h fix f4824b1 net_sched: select ACT as a dependency of INGRESS 30ae722 cgroups: delete obsolete namespace option 51f94f0 meta: add qemumipsel mapping Built and boot tested on qemu* Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-07-04linux-yocto/3.4: add qemumipsel machine mappingBruce Ashfield2
Updating the meta branch with a board description and configuration that can be found from the linux-yocto recipes without doing a MACHINE -> KMACHINE mapping. From the meta branch commit: The mti malta board description for a little endian config can't be found by default unless it has a matching KMACHINE, or the KMACHINE is set in a kernel recipe. In this case, it is easier to just add qemumipsel in the KMACHINE list, so the recipe doesn't need to do the mapping. The little endian mips support reuses everything but the endianess settings from the big endian mti malta board emulation. This change adds the required mappings and SRCREVs, but does not update the machine compatibilty, since official support is still pending. The compatibility can be set in addon layers until that time. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-07-04telepathy-glib: update to ver. 0.19.1Cristian Iorga1
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
2012-07-04pcmcia-cs: Remove references to long-deprecated pcmcia-cs.Robert P. J. Day4
pcmciautils is the appropriate PCMCIA package these days. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2012-07-04lighttpd: upgrade to 1.4.31Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04xcb-util-keysyms: upgrade to 0.3.9Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04xcb-util-image: upgrade to 0.3.9Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04xcb-util-wm: upgrade to 0.3.9Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04libxft: upgrade to 2.3.1Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04ethtool: upgrade to 3.4.1Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04libdrm: upgrade to 2.4.35Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04xcb-util: upgrade to 0.3.9Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04xf86-input-synaptics: upgrade to 1.6.2Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04xf86-input-vmmouse: upgrade to 12.9.0Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-07-04meta/classes: Update recrdeptask fields for recursive dependency handling ↵Richard Purdie3
changes in bitbake This also deletes the buildall task since I seen usecases for it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04subversion-native: Enable subversion-native 1.7 and remove it from ↵Richard Purdie2
ASSUME_PROVIDED This enables a switch to subversion 1.7 now bitbake is able to cope with upgrading existing working copies. The impact of this change should be minimal since we don't have many subversion recipes now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-03task-core-tools-debug: Added openssh-sftp-server.Lianhao Lu1
[YOCTO #2605]. Added openssh-sftp-server to the tools-debug IMAGE_FEATURE. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-03image/core-image: Handle conflicting IMAGE_FEATURES.Lianhao Lu3
IMAGE_FEATURES such as 'ssh-server-dropbear' and 'ssh-server-openssh' can't be both enabled. User can use the following variables to define the relationship of image features: IMAGE_FEATURES_REPLACES_foo = "bar" means including image feature "foo" would replace the image feature "bar". IMAGE_FEATURES_CONFLICTS_foo = "bar" means including both image features "foo" and "bar" would cause an parsing error. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-03openjade-native: fix undefined Getopts error, use std namespaceDennis Lan2
Using Gentoo Linux as the build host, it fails without this patch Use Getopt::Std in place of getopts.pl. https://bugs.gentoo.org/show_bug.cgi?id=420083 which following error: /usr/bin/perl -w ./../msggen.pl -l jstyleModule InterpreterMessages.msg /usr/bin/perl -w ./../msggen.pl -l jstyleModule DssslAppMessages.msg Undefined subroutine &main::Getopts called at ./../msggen.pl line 22. make[2]: *** [InterpreterMessages.h] Error 2 make[2]: *** Waiting for unfinished jobs.... Undefined subroutine &main::Getopts called at ./../msggen.pl line 22. make[2]: *** [DssslAppMessages.h] Error 2 Signed-off-by: Dennis Lan <dennis.yxun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-03base.bbclass: Add cross-canadian-${TRANSLATED_TARGET_ARCH} to the license ↵Mark Hatle1
exclusion list This appears to be an oversight in the original implementation. All of the host package types were being ignored except for the SDK cross-canadian type. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03image.bbclass: Add support to build the SDK in parallel with the imageMark Hatle6
When building an image recipe, you can now build a companion SDK by calling the populate_sdk task: bitbake -c populate_sdk core-image-minimal Note: there are still issues w/ the SDK not working completely with multilibs. A lock is required between rootfs and populate_sdk activities to prevent configuration file clashes and similar package management problems in ipk and deb based systems. (RPM already had a lock for a different reason.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03package.bbclass: Allow a package to skip per file dependency generationMark Hatle1
Most of the time skipping per file dependency generation is a bad idea, but when building a nativesdk or similar you may be required to pickup host dependencies. These host dependencies can not always be reconciled within the scope of other nativesdk components, so if we skip them we can facilitate this unique situation. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03libc-common: Allow -dbg package to append, and not just set package variablesMark Hatle1
The libc-common attempts to rewrite the package information in a way similar to debian.bbclass. When it does this, it should be appending to the dependency variables (RPROVIDES, RREPLACES, and RCONFLICTS), instead of simply setting a hard coded value. Otherwise the lib package can not tailor the dependency variables to suite it's needs. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03autotools.bbclass: When configure fails, dump the config.log files the logsRichard Purdie1
When configure fails, it usually says "see config.log" yet nobody ever shares the config.log file meaning the person trying to help invariably has to ask for more information. This patch dumps all the config.log files into the main bitbake log files when configure fails, meaning all the information is present to help someone debug such failures. It does make the log rather larger but this is preferable to not having enough information in most cases. [YOCTO #2463] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-03u-boot: do not clobber PARALLEL_MAKE settingPaul Gortmaker1
The u-boot tree is fully capable of parallel builds, so this setting should not exist as a blanket setting for all of the recipes. Going forward, if there is a parallelism issue in u-boot, it needs to be reported and fixed there, and not with the "make -j1" band-aid approach. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2012-07-03u-boot: Don't make the -Os removal part of global settings.Paul Gortmaker1
We don't want to force everyone to be stripping the -Os flags from their u-boot builds. Remove it, since it pertains to an old toolchain issue that is no longer relevant, and it breaks the powerpc mpc8315. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2012-07-03populate_sdk: enable basic multilib supportMark Hatle2
In order to enable basic multilib support for the export of an SDK image, a number of minor changes had to be made: The value of MULTIMACH_TARGET_SYS needs to be variable. This way we can define the value to the appropriate multilib. (Also in some cases the default PACKAGE_ARCH is set to MACHINE_ARCH which is incorrect for the SDK.) Add a companion REAL_MULTIMACH_TARGET_SYS, based on code from meta-environment, to allow for this. We have to convert the do_populate_sdk into a python call, and then break up the previous items into three parts. * Image construction * Setup of environment files * Generation of the tarball Then we can iterate over the multilibs to populate the environment files. Finally, matching changes were needed in the toolchain-scripts file. And what I presume is an optimization of immediate evaluation for TOOLCHAIN_CONFIGSITE_NOCACHE and ..._SYSROOTCACHE needed to be done at runtime, otherwise the wrong values may be used. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03populate_sdk_base.bbclass: Change to using task specific dependsMark Hatle1
If we combine the do_populate_sdk with the image generation, we want to avoid the dependency processing unless do_populate_sdk is run. This requires the bitbake change to implement task based rdepends. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03populate_sdk: Allow for attempt only packages in the SDKMark Hatle4
We want to be able to supply attempt only packages in the SDK in order to support more advanced SDK images that more closely match specific image recipes. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03populate_sdk.bbclass: Split into two partsMark Hatle2
populate_sdk was renamed to populate_sdk_base in order to allow for changes that may break existing SDK recipes. Any such changes need an analog in populate_sdk (new version) to restore previous desired behavior. In addition to the rename, one minor change was made. The _base version only had the do_populate_sdk as an added task, but no before or after defined. For compatibility, populate_sdk has do_populate_sdk defined as "after" do_install and before do_build, this is identical to the original behavior. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03Fix manual log file pathsMark Hatle5
When a recent change, the path to log files may be contained within an arbitrary directory. To generate the manual log files in the correct path we should be using the ${BB_LOGFILE}'s path instead of always assuming the logs go into ${WORKDIR}/temp. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-03core-image*sdk: Add kernel-dev to sdk imagesDarren Hart3
While sdk images already have dev-pkgs included, the kernel-dev package is special and does not get installed. Add kernel-dev explicitly to the *sdk image recipes. Note: We have to be careful with "IMAGE_INSTALL +=" as it must appear after "inherit core-image" which makes an "IMAGE_INSTALL ?=" assignment. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Jessica Zhang <jessica.zhang@intel.com> CC: Khem Raj <raj.khem@gmail.com>
2012-07-03icu 3.6: do_install failed: Segmentation faultRobert Yang3
There is a "Segmentation fault" error when the tmpdir is longer than 470 (or less), this is because it used "char cmd[1024]" which is not enough for the command line. Allocate a larger memory size should fix this problem. [YOCTO #2664] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-07-03kconfig-frontends: New recipeKhem Raj1
kconfig-frontends provides the kconfig infrastructure thats used for linux kernel as a standalone package. Its not intended to be used for kernel itself but can be used by packages who are based on kconfig e.g. busybox uclibc or new packages who wants to use kconfig infra for the package build kconfig-frontends names it's shared library as -3.4.0.so instead of .so.3.4.0, this causes the -dev package to grab it since it matches on *.so. This error would also have shown up with the old PACKAGE order. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>