summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elementsDongxiao Xu2011-08-261-1/+1
| | | | | | | Add "pkg_postinst" and "pkg_postrm" as renaming elements, which fixes missing post install/rm scripts in target image. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etcDongxiao Xu2011-08-261-10/+8
| | | | | | | | | | | | | | | | | | In the orignal logic, the renaming will not work for "FILES_" if defined variables as: PACKAGES = "${PN}" FILES_abc = "/usr/include/abc.h" It is because ${PN} is "lib64-abc" so it will not be contained in pkgrename. This commit enumerates all element in PACKAGES, getting the original packages and multilib packages, then doing renaming for "FILES_", "RDEPENDS_", etc. This fixes a lot of missing files and incorrect dependencies. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* bitbake.conf: Use BPN in FILES pathsDongxiao Xu2011-08-261-2/+2
| | | | | | Use BPN instead of PN in FILES path to support multilib. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* base-passwd: Use BPN in FILES pathsDongxiao Xu2011-08-261-5/+5
| | | | | | | Use BPN instead of PN in FILES paths. This fixes the login issue by /etc/passwd missing in multilib images. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* qt4e-demo-image: Fix bug 999Xiaofeng Yan2011-08-262-0/+75
| | | | | | | | [YOCTO #999] Copy metadata of qt4e-demo-image from OE for easy testing qt4embeded on embedded platform. This image was tested on qemuarm and can run program "qtdemoE". Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* linux-yocto-rt: qemumips: fix boot panicBruce Ashfield2011-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #1392] Updating the SRCREVs to pickup: [ mips/rt: convert cascade interrupt non threaded The preempt_rt kernel forces all irq interrupts to be threaded, but special interrupts can be excluded from this conversion. The cascade interrupt should be part of these exceptions. In this case, irq2 is initialized before "kthreadd" task, which converts irq interrupt to threaded. If this irq is threaded, the kernel calls "try_to_wake_up" function to wake up "kthreadd" task, but at that moment, "kthreadd" task has no been initialize and try_to_wake_up wakes up a NULL task. Signed-off-by: Liming Wang <liming.wang@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kernel.bbclass: support kernel image type of vmlinux.gzMike Crowe2011-08-261-1/+6
| | | | | | | | Add support for a gzipped vmlinux kernel by specifying: KERNEL_IMAGETYPE = "vmlinux.gz" Signed-off-by: Mike Crowe <mac@mcrowe.com>
* cmake-nativesdk: remove gcc standard pathsKang Kai2011-08-261-7/+1
| | | | | | | | Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc standard paths itself. Right now it was fixed, so remove the additional CXXFLAG for cmake-nativesdk. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* qt4-tools-nativesdk: remove gcc standard pathsKang Kai2011-08-261-7/+2
| | | | | | | | gcc-crosssdk can't find the standard headers before, and it was fixed. So it is not needed to search the gcc standard paths by qt4-tools-nativesdk itself. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* bitbake.conf: set includedir_nativesdkKang Kai2011-08-261-0/+1
| | | | | | | | | | | | Fixes [Yocto #1231] crosssdk.bbclass uses ${includedir_nativesdk} to define target_includedir, but includedir_nativesdk is not defined before. This makes gcc-crosssdk can NOT search the correct standard headers and libraries search path. Define includedir_nativesdk in bitbake.conf. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* [YOCTO #1396] Fix adt-installer for consistent naming for powerpc and add ↵Jessica Zhang2011-08-263-4/+17
| | | | | | all arch template for installation Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* package.bbclass: Fix recrdeptask of image type recipesDongxiao Xu2011-08-261-1/+1
| | | | | | | | | | For image type of recipes, we need to define do_package_write as its do_build recrdeptask, which ensures that all packaging types listed in PACKAGE_CLASSES will be built out. [YOCTO 1370] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patchKumar Gala2011-08-263-87/+316
| | | | | | | | | | | | | The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers. This bug below reports the issue and is fixed in gcc-4.6.x/mainline: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618 Backport patch to gcc 4.5.1. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* gcc-4.6: Drop gcc-poison-parameters.patch as its not needKumar Gala2011-08-262-78/+1
| | | | | | | | | | | The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers. This bug below reports the issue and is fixed in gcc-4.6.x: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618 Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* classes/sanity: enhance the network connectivity testJoshua Lock2011-08-251-12/+2
| | | | | | | | | | | | Switch to use the checkstatus fetcher API for the network connectivity test, this has several advantages: * we no longer print any messages to the console whilst the check is being run * we don't actually download anything, removing the need for tidy up and making the code more concise Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta SRCREV to sync version stringsBruce Ashfield2011-08-252-3/+3
| | | | | | | | | | | During the update of the bitbake recipe's string to 3.0.3 the internal version marker in the kernel stayed at v3.0. This meant that kernel configuration auditing the constructed file couldn't be found and audit warnings were thrown. This syncs all the recipes and get back to clean configurations. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-toolchain/environment: Collected site config files in runtime.Lianhao Lu2011-08-244-8/+7
| | | | | | | | [YOCTO #892] Use the new cached site config files generation mechanism in toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* toolchain-script.bbclass: Collected cached site config in runtime.Lianhao Lu2011-08-242-4/+24
| | | | | | | | | | | | [YOCTO #892] Modify the function toolchain_create_sdk_siteconfig to collect the cached site config files which are specified by TOOLCHAIN_NEED_CONFIGSITE_CACHE in runtime. Also added task dependency to ensure the cached site config files are generated. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* libc-package bbclass: fix binary localedata dependency codeKoen Kooi2011-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | When using binary locales rootfs generation fails with: | Unknown package 'locale-base-en-us'. | Collected errors: | * opkg_install_cmd: Cannot install package locale-base-en-us. This is due to: $ dpkg-deb -I ipk/armv7a/locale-base-en-us_2.12-r16_armv7a.ipk | grep Depends Depends: eglibc-binary-localedata-en.us Note the '.' seperator $ ls ipk/armv7a/ | grep binary-localedata-en | grep us eglibc-binary-localedata-en-us_2.12-r16_armv7a.ipk Note the '-' seperator vs the '.' in the locale-base packages. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* terminal: fix issue with unset exportable env varsChris Larson2011-08-241-1/+3
| | | | | | | This should resolve the devshell issue people are seeing. Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/2.6.37: apmd + get time of day fixesBruce Ashfield2011-08-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #916] Fixes [YOCTO #900] Merging: [ commit 4ae8f8605c81c39b959948e23f7123294a5dfb3f Author: Liming Wang <liming.wang@windriver.com> Date: Wed Aug 24 10:45:19 2011 +0800 x86: use vdso gettime fallback versus returning an error __vdso_clock_gettime should fall back to call vdso_fallback_gettime function if no clockid is selected, not just return error. Signed-off-by: Liming Wang <liming.wang@windriver.com ] [ commit aeea99683c7283f1f3320bf2ee7085ee252d4e7e Author: Liming Wang <liming.wang@windriver.com> Date: Fri Aug 19 17:43:49 2011 +0800 meta: add APM Emulation option to beagleboard apmd daemon needs this option to work, so add this to beagleboard kernel config file. Signed-off-by: Liming Wang <liming.wang@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: update machines and default configurationBruce Ashfield2011-08-241-7/+7
| | | | | | | | | | | | | | | Fixes [YOCTO: #686] During routine maintenance some base changes were re-wound on the common branches. All machines still had these changes, but any new machine branched from the common base would miss those changes. This update restores those commits to the standard branch and merges them out to all child branches. The meta branch update adds a configuration item to support live image booting on qemux86. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: update meta SRCREVs for beagleboard config changesBruce Ashfield2011-08-242-2/+2
| | | | | | | | | Fixes [YOCTO #916] Adding APM emulation and CONFIG_USB_MUSB_OMAP2PLUS to the beagleboard base configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto-rt: update qemuppc support and streamline variablesBruce Ashfield2011-08-241-7/+4
| | | | | | | | | | | | | | | | | | Fixes [YOCTO #1391] Fixes [YOCTO #1389] qemuppc must have a dedicated branch for -rt support, since it has board specific patches that are not suitable for a common location. This fixes the boot by propagating some common fixes and by syncing to the latest meta-configuration. There are some variables that are now in linux-yocto.inc and need not be defined by the kernel recipe itself, so we can safely remove them with no impact on the build. 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>
* kern-tools: allow flexible branch pointsBruce Ashfield2011-08-241-1/+1
| | | | | | | | | | Updating the SRCREV to pickup a series of changes to the kern-tools that allow more flexible creation of trees from scratch. This functionality is not used by the normal kernel build process and has no impact on existing builds. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: fix init-live.sh for hddimg and livecdJingdong Lu2011-08-242-7/+12
| | | | | | | | Both hddimg and livecd use init-live.sh script to boot the rootfs.img. But the paths of rootfs.img in hddimg and livecd are different. So we add a variable "ISOLINUX" to provide a correct path. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
* libpam: Setting suid bit for unix_chkpwdWenzong Fan2011-08-241-1/+7
| | | | | | | | | | [YOCTO #1252] While pam_unix.so required by an application on lsb image, it will need to call the unix_chkpwd to get userinfo from shadow file. This fix get a normal user could read shadow file via unix_chkpwd. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* cronie: Updates to cronieWenzong Fan2011-08-242-4/+6
| | | | | | | | | 1) Add required pam plugins to RDEPENDS list; 2) Correct configure option that used for enable pam support; 3) Create empty crond config file cron.deny; 4) Don't set readonly variable UID in crond init script. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* mips32: add mips32el tuningPhil Blundell2011-08-241-1/+4
| | | | | | This makes building for little-endian mips32 slightly more convenient. Signed-off-by: Phil Blundell <philb@gnu.org>
* procps: Fix lib path to support multilibDongxiao Xu2011-08-242-14/+24
| | | | | | | Revise the install.patch which hardcode the lib paths. Change ${PN} to ${BPN} in file names. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* libtasn1: update SRC_URIJoshua Lock2011-08-241-1/+1
| | | | | | | libtasn is no longer hosted as a sub-project of gnutls, it has its ftp directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* image.bbclass, kernel.bbclass: remove non-standard -n option from cp commandPaul Eggleton2011-08-232-2/+2
| | | | | | | | -n is not a POSIX option and does not work on some systems (e.g. Debian Lenny); in any case it is not strictly necessary here, so remove it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: clarify COMMERCIAL_LICENSE skip reasonPaul Eggleton2011-08-231-1/+1
| | | | | | | | | | Change to a proper sentence and add a reference to the COMMERCIAL_LICENSE variable so that the user knows where this can be controlled. Addresses remainder of [YOCTO #846] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* utils.bbclass: skip empty paths when handling FILESEXTRAPATHSMartin Jansa2011-08-231-2/+3
| | | | | | | | | | * if there is multiple .bbappend files with FILESEXTRAPATHS_prepend := "/:" then the one parsed last is causing trailing ':' and that's causing empty element in path = extrapaths.split(:) + path * it's hard to keep all .bbappends from foreign layers to follow this rule, so it's better to be able to handle trailing ':' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* task-core-x11-sato: add libsdl into sato imageJiajun Xu2011-08-231-1/+2
| | | | | | We add libsdl into sato image since some 3D graphics testing needs it. Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
* libsdl: do not inherit nativesdkJiajun Xu2011-08-231-2/+2
| | | | | | | We already enable target version for libsdl and use BBCLASSEXTEND to enable nativesdk. No need to inherit nativesdk then. Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
* kernel.bbclass: save kernel image name into $kerneldirOtavio Salvador2011-08-231-0/+6
| | | | | | | | Save the kernel image name into sysroot so it can be used during image build if need. This is used by O.S. Systems products and probably useful to others. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Use OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSIONOtavio Salvador2011-08-231-6/+6
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* bitbake meta-toolchain with gcc 4.5.1 failedRobert Yang2011-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes bug [YOCTO #1386] 1) Add the following lines to conf/local.conf: SDKGCCVERSION="4.5.1" GCCVERSION="4.5.1" 2) bitbake meta-toolchain The we will notice the error that sed can't find the directory: ${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR} we had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc would make it work. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* linux-yocto: update SRCREVs for 3.0.3Bruce Ashfield2011-08-231-9/+9
| | | | | | | Updating the SRCREVs to pickup the kernel.org -stable update for 3.0.3 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: move more default values into linux-yocto.incBruce Ashfield2011-08-232-5/+7
| | | | | | | | | | During the preparation of some linux-yocto extension documentation it was clear that some variables are being defined in each recipe, when they don't have to be. Moving the defaults into linux-yocto.in and allowing them to be overidden in recipes simpifies the reuse of the base infrastructure. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* at: fix RDEPENDS -> RDEPENDS_${PN}Saul Wold2011-08-231-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* adt-installer: Removed the hard coded repo url.Lianhao Lu2011-08-233-3/+6
| | | | | | | [YOCTO #1380] Removed the hard coded repo url in opkg configuration files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* image_types_uboot: add uboot mkimage fs typesChris Larson2011-08-231-0/+21
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* rpm: be certain we don't prefix our binariesChris Larson2011-08-231-1/+2
| | | | | | | In certain combinations of build/host/target, they can end up inadvertently prefixed, breaking the assumptions in the recipe. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* libpcre: the generated libtool uses HOST_SYSChris Larson2011-08-231-4/+4
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-2396-289/+289
| | | | | | | Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tune: Add hard floating point variants of cortexa8 tunesDarren Hart2011-08-231-3/+11
| | | | | | | | | | Enable machines or distros to select the hard floating point abi for cortexa8 machines. I left out the arm7a thumb+neon combinations as they were not present in the original non-hf set. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Jason Kridner <jkridner@beagleboard.org> CC: Koen Kooi <koen@dominion.thruhere.net>
* tune: add missing closing quote to arch-armv7a.inc for AVAILTUNESDarren Hart2011-08-221-1/+1
| | | | | | | | A closing quote was missing for an AVAILTUNES append operation, add it. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Jason Kridner <jkridner@beagleboard.org> CC: Koen Kooi <koen@dominion.thruhere.net>
* xcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world buildsRichard Purdie2011-08-192-1/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>