aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2011-08-24meta-toolchain/environment: Collected site config files in runtime.Lianhao Lu
[YOCTO #892] Use the new cached site config files generation mechanism in toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-08-24initrdscripts: fix init-live.sh for hddimg and livecdJingdong Lu
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>
2011-08-23recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj
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>
2011-08-19eglibc: check dependencies among eglibc optionsKang Kai
Fixes [Yocto #1212] 'libc-inet' and 'ipv4' are the same thing, so remove 'libc-inet' from the default DISTRO_FEATURES_LIBC in file default-distrovars.inc. Check the dependencies among eglibc configurable options, make sure that eglibc could be compile successfully only with part of the options. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-08-19initrdscripts: fix init-live.shJingdong Lu
Fix bug: [YOCTO #686] Because the variable "ROOT_IMAGE" in init-live.sh is not correct, it fails to run when using liveCD. Modify value of "ROOT_IMAGE" to "isolinux/rootfs.img". If we want to use liveCD, we also need to add some kernel options related to CDROM support when compling kernel. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-08-19task-core-boot: allow distribution to override default dev_manager provider ↵Martin Jansa
with VIRTUAL-RUNTIME_dev_manager Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-08-19task-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ustKhem Raj
This helps build on uclibc where lttng-ust is not included Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-19sysvinit: Change ${PN} to ${BPN} in file namesDongxiao Xu
Some files in sysvinit are named with ${PN}. In multilib case, ${PN} will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-19busybox: Change ${PN} to ${BPN} in file namesDongxiao Xu
Some files in busybox are named with ${PN}. In multilib case, ${PN} will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-18glib-2.0: explicitly disable dtrace and systemtap for native varaintJoshua Lock
This prevents systemtap and dtrace being picked up from the host as reported on the Yocto mailing list by Andre Haupt <andre@bitwigglers.org> Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-08-15The Skeleton initscript doesn't work on minimal imageRobert Yang
Fixes bug [YOCTO #1165] The /etc/init.d/skeleton doesn't work on minimal image, this is because of the pidofproc doesn't return "$?" correctly, so store $? in the variable status would fix it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-08-15dbus: only use x11 if DISTRO_FEATURES has selected itPhil Blundell
This makes it possible to include dbus in a non-X11-equipped DISTRO. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-15eglibc: Modify ldd script according to multilib config.Lianhao Lu
Bug fixing [YOCTO #1236]. 1. Collect all the values for RTLDLIST for the current multilib configuration to modify the ldd scripts. 2. Collect all the values for KNOWN_INTERPRETER_NAMES for the current multilib configuration. Set the correct ld.so names for ldconfig to deal with the multilib configuration.
2011-08-12init-install.sh: Fix make partition and make file system issuesMei Lei
[YOCTO #1151] Change the offset from the beginning of the disk to aligne the blocks. In this script, we use mkfs.ext3 to create file system after partition, but we use mkpartfs to create file system repeatly, and get some warnings about choose another specific tools to create file system for reliability. So use mkpart instead of mkpartfs and only use mkfs.ext3 to create file system. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-08-12busybox: don't strip the main binaryChris Larson
With this, we get a useful busybox-dbg package. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-08-10eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdkKumar Gala
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>
2011-08-09uclibc_0.9.32: Sync mount.h from eglibcKhem Raj
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>
2011-08-08eglibc: remove PACKAGES from eglibc.incMartin Jansa
* 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>
2011-08-05task-core-boot.bb: Add PACKAGE definition to facilitate multilibDongxiao Xu
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>
2011-08-05eglibc-locale: Added ${MLPREFIX} for task dependency.Lianhao Lu
[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>
2011-08-05Misc: Corrected the dependency on non-native for -native package.Lianhao Lu
[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>
2011-08-05coreutils: Fix build on uclibcKhem Raj
coreutils has getloadavg.m4 of its own. So we need to make sure that we remove the portions which look into hardcoded /usr/local/lib paths. These tests are only for AIX so we dont lose much Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-04eglibc: Fix patch merge breakageRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04eglibc_2.13: Add support for handling sqrt & sqrtf on powerpcKumar Gala
Some of powerpc's dont support the fsqrt[s] instructions so we need an implementation of the library functions for those processors. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-04eglibc: fix build for armv4 machinesDmitry Eremin-Solenikov
eglibc builds for arm-eabi unconditionally enables the libc-do-syscall.S file, which contains thumb assembly. It's unused in arm-eabi-nothumb case, so just ifdef the actual code. V2: use the patch from oe.dev. The patch is submitted to sourceware bugzilla by Khem Raj back in October of 2010, but the status is still UNCONFIRMED and the patch isn't commited. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: Khem Raj <raj.khem@gmail.com>
2011-08-04environment files: Added and unified version related variables.Lianhao Lu
[YOCTO #1306] Fixing. Added and unified version related variables in all environment files generated by package meta-toolchain, meta-ide-support, meta-environment-xxx. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-08-04SRC_URI, S: use BPN instead of PN for multilib caseYu Ke
in multilibcase, PN has multilib prefix, so it is not correct to use PN in SRC_URI and S. instead, we've dedicately pruned multilib prefix in BPN, so BPN is the right alternative for PN. Signed-off-by: Yu Ke <ke.y@intel.com>
2011-08-04eglibc-package.inc: Fixed error in referencing PKGSUFFIXLianhao Lu
[YOCTO #1329] Added the missing $ when referencing PKGSUFFIX in FILES_* variables set. [RP: Added PR bumps] Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-03eglibc-locale: Specially handle FILES_eglibc-gconv for multilibDongxiao Xu
In multilib support, it iterate values in PACKAGES and then extend name for variables like "FILES_xxx", "SUMMARY_xxx", etc. However eglibc-gconv is dynamically put in PACKAGES by package_do_split_gconv function. Therefore the name will not be extended automatically. Specially handle the FILES variable for eglibc-gconv to fix the issue of missing "lib32-eglibc-gconv" issue in doing multilib do_rootfs. Also when set PACKAGES, add the MLPREFIX. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-02eglibc: Add missing ${PN} and ${PKGSUFFIX} usagesRichard Purdie
This fixes warning messages such as: The providers found were: ['virtual:nativesdk:eglibc_2.13.bb', 'eglibc_2.13.bb'] The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc'] NOTE: multiple providers are available for runtime glibc-utils (eglibc, eglibc-nativesdk, external-csl-toolchain, external-poky-toolchain) NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-utils This highlights how ugly adding to PN is when using BBCLASSEXTEND. We need to do this to eglibc so the nativesdk class continues to work correctly for now and ensure consistency in how the various eglibc packages are generated. Longer term, if we switch nativesdk to use the multilib approach and MLPREFIX, we can remove all the PKGSUFFIX mess. I'd rather not get into changing nativesdk right at this time though given all the other changes that are going on. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-01glibc: deletedPhil Blundell
Glibc 2.10.1 is outdated now and eglibc seems to provide a superset of its functionality. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-08-01meta-environment: set correct *MULTIMACH_TARGET_SYS.Lianhao Lu
Fixed [BUGID #1299]. OLD_MULTIMACH_TARGET_SYS is no longer available. Use new recipe-scope variable REAL_MULTIMACH_TARGET_SYS instead. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-07-27eglibc: fix for multilib RPROVIDES issueYu Ke
in eglibc-package.inc, the "PACKAGES" variable use the ${PN} reference, while RPROVIDES does not use ${PN}. This will lead multilib.bbclass not mapping its RPROVIDES, and cause "NO RPROVIDER: lib64-glibc-utils" error. This patch unify the recipe to fix this issue Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-07-27multilib: Add support for compiling recipes against multiple ABIsRichard Purdie
This patch adds the core multilib class which can be used along with a parameter specifying the mutlilib to use in BBCLASSEXTEND. The MLPREFIX variable is added and can be used in cases where its too difficult to dynmaically work out where a mutltilib prefix is needed to be added to a variable. This includes: * SHLIBSDIR and PACKAGE_ARCH fixes from Lianhao Lu. * PACKAGE_DYNAMIC mapping from Yu Ke * PACKAGE_INSTALL mapping from Yu Ke * RPROVIDES mapping from Yu Ke * TARGET_VENDOR fix from Mark Hatle * Ignorning *-native-runtime dependnecies as well as *-native from Yu Ke * Map PKG and ALLOW_EMPTY from Dongxiao Xu * Ensure RCONFLICTS and PKG field dependencies are remapped (from Dongxiao Xu) * Ensure PN and MLPREFIX are set at the same time to ensure consistent BPN values (Yu Ke) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27ncurses: Resolve header and man page multilib conflictsMark Hatle
By default man pages are compressed, the way ncurses compresses them causes differences (timestamp and name) to be embedded into the gziped file. So each build will end up with a slightly different file. Avoid this, by not compressing the man pages. Avoid header conflict with curses.h using the multilib header helper. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27eglibc_2.13: Resolve multilib header conflictsMark Hatle
Due to mismatches between various header definitions in i386 and x86_64 we need to overwrite the i386 versions of the headers with their x86_64 equivalents. This can not be done for the syscall.h as it's dynamically generated, so use the header conflict resolution helper for that. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27Remove -directdisk.bb recipesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-27Remove -live.bb recipesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-27dropbear: Support pamXiaofeng Yan
I make a patch and some changes in dropbear.inc for supporting pam. - Enable pam in configure - Modify file option.h to open pam supporting Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-07-27eglibc: remove unnecessary FILESPATHPKG usagePaul Eggleton
This was not doing anything (we don't even have the eglibc-svn directory). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-27console-tools: removed wildcard from SRC_URIEnrico Scholz
Wildcards in SRC_URI are not supported by oe-core and work only when last (or first?) FILESPATH element points to the containing directory. Specifying plain dir works fine for this recipe. Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
2011-07-27dropbear: don't override DISTRO_TYPE if it is already setKoen Kooi
The long term solution is to remove the IMAGE_FEATURE check since images are not allowed to influence recipe compile options. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-22glib-2.0: fix a compilation issue due to dtraceNitin A Kamble
With multilib & x32 builds dtrace is getting turned-on by the glib-2.0 configure, which causes following compilation failure. | x86_64-linux-libtool: link: ccache gcc -isystem/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wall -Wl,-rpath-link -Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -o .libs/gtester gtester.o -L/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib ./.libs/libglib-2.0.so -lrt -Wl,-rpath -Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib | ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_ALLOC' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_REALLOC' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_FREE' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_ALLOC' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_FREE' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_QUARK_NEW' | collect2: ld returned 1 exit status | make[4]: *** [gtester] Error 1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-07-22util-linux: Replace sigsetmask with posix compliant functionsKhem Raj
This patch is not needed upstream since the code using sigsetmask has been deleted. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-22uclibc: Add patch header for sync_file_range2.patchKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-22task-core-tools.bb: Exclude lttng-ust for x86_64/uclibcKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-21gettext: Add depends to gettext to avoid host contaminationSaul Wold
[YOCTO #1242] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-21eglibc-package: don't fail without localedef/gconvMartin Jansa
* in some cases we don't have localedef/gconv built ie when DISTRO_FEATURES lacks one of libc-charsets, libc-locales, libc-locale-code then is better ignore localedef/gconv instead of do_install_locale failing like in this bugreport: http://bugzilla.yoctoproject.org/show_bug.cgi?id=1209 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-07-21Add endianess macros used by previous endian-ness_handling.patchMatthew McClintock
Some distro's don't include these macros in /usr/include/endian.h so we include them via this patch Signed-off-by: Matthew McClintock <msm@freescale.com>
2011-07-20task-core-tools: Exclude systemtap for uclibcKhem Raj
systemtap needs full fledged elfutils which cant be built on uclibc therefore we live without systemtap on uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com>