summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2011-07-27multilib: Add support for compiling recipes against multiple ABIsRichard Purdie10
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-27linux-yocto: update SRCREVsBruce Ashfield1
Updating the linux-yocto SRCREVs to pickup changes from the continuing uprev to korg 3.0. With this set of update, the meta/feature audits are complete. qemumips and qemuppc are fixed with this update and can now boot to a prompt. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27base.bbclass: Add compatibility package name mapping handlerRichard Purdie1
This means if PKGARCHCOMPAT_ARMV7A is set, "armv7a-vfp-neon" is renamed to be "armv7a". Other compatibility mappings can be added as needed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 cmake.bbclass: add ${libdir} for multilib caseYu Ke1
Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-07-27RPM: multilib file class/colorMark Hatle2
We need to include file class and file color in order to do the conflict resolution required with a multilib design. This is normally disabled when we don't use the internal dependency generator, patch enables it in all cases. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27distcc: fix makefile parameter orderDongxiao Xu2
When linking with gcc, the parameter is read from left to write, if *.o calls a function contained in libxxx, the parameter order should be "gcc ... *.o -lxxx". This commit fixes the problem in distcc. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-07-27Add basic PowerPC core tune configRichard Purdie7
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27Add basic Mips core tune configRichard Purdie2
Acked-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27Add ARM tune file overhaul based largely on work from Mark HatleRichard Purdie24
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27package.bbclass: fixup_perms - change symlink processingMark Hatle1
We switch to using os.lchown in order to avoid following a symlink. We also now check if an item is a symlink, if so we avoid the os.chmod as a symlink inherits the mode of it's target. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27ncurses: Resolve header and man page multilib conflictsMark Hatle1
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 Hatle2
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-27linux-libc-headers: Fix file conflict -- ..install.cmdMark Hatle3
The ..install.cmd conflicts between various configure runs. This isn't used anywhere, so remove it to avoid the conflict. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27beecrypt: Fix multilib header conflict - beecrypt/gnu.hMark Hatle1
beecrypt/gnu.h conflicts between 32-bit and 64-bit versions. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27apr: Fix multilib header conflict - apr.hMark Hatle1
apr.h conflicts between 32-bit and 64-bit versions Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27binutils: Fix multilib header conflict - bfd.hMark Hatle2
bfd.h conflicts between 32-bit and 64-bit versions. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27multilib_header.bbclass: Add oe_multilib_header wrapperMark Hatle1
This helper function and associated header will allow us to resolve two/three header files that conflict due to contents that change based on wordsize and ABI. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-27classes/image*: Revamp creation of live imagesSaul Wold4
This creates a live image as an IMAGE_FSTYPES, thus removing the need to have additional -live.bb recipes. To create a live image one just needs to add live to the IMAGE_FSTYPES list Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-27utils.bbclass: Don't forget to pass the cmdline optionsSaul Wold1
This ensure that the command line options from the creation of the wrapper are actaully passed into the wrapper. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-27Remove -directdisk.bb recipesSaul Wold4
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-27Remove -live.bb recipesSaul Wold6
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-27siteinfo: Rework the siteinfo for powerpc to fix uclibc falloutKhem Raj2
I believe that powerpc-linux is now a common file across 32bit/64bit linux for powerpc be it uclibc or glibc. I compared the differences between powerpc-linux-uclibc and powerpc-linux files and it powerpc-linux was more uptodate and all the new stuff it had was needed for uclibc anyway so we do not need to keep exact copy of powerpc-linux as powerpc-linux-uclibc instead we use powerpc-linux for powerpc/uclibc targets. Secondly linux specific files were added in archinfo dictionary which I think logically belongs to targetinfo dictionary therefore moved them to targetinfo now uclibc/powerpc is buildable again Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-27siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libcTom Rini17
These functions are determined by the C library so move them to common-glibc and common-uclibc Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move general realloc/malloc values to common-$libcTom Rini19
These are tests for glibc behavior which we have enabled in uclibc. Note that if we ever disable MALLOC_GLIBC_COMPAT the uclibc tests will need to be changed (but I believe this would also entail massive patching to the rest of userspace so this should be unlikely). Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain db entries to common-linuxTom Rini10
Note that we had a number of unused and ignored settings wrt mutex support. These have been dropped as they weren't being used and implied some odd things to boot. This is also a partial resync with oe.dev which had some, but not all of these changes. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain mysql entries to common-linuxTom Rini10
More re-sync with oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27x86_64-linux siteinfo: Add bash infoTom Rini1
Taken from oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain bash entries to common-linuxTom Rini13
More re-sync with oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain samba entries to common-linuxTom Rini8
Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27polkit: Support pamXiaofeng Yan2
Modify configuration "polkit-1" in /etc/pam.d/ for supporting pam. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-07-27dropbear: Support pamXiaofeng Yan2
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-27openssh: Support PAMXiaofeng Yan2
Adding configuration file "sshd" in /etc/pam.d/ for supporting pam. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-07-27at: enable pam supportWenzong Fan3
add patches to make at enable pam support Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-07-27shadow: update pam related configure filesKang Kai2
add shadow-update-pam-conf.patch to update the pam related configure files in oe way rather than Fedora. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-07-27cronie: enable PAM support for cronieWenzong Fan2
Enable PAM support for cronie and update its pam config file 'crond'. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-07-27sudo: add pam supportKang Kai2
According to DISTRO_FEATURES to add pam support for sudo, and import configure file from Fedora. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-07-27screen: add pam supportKang Kai2
According to DISTRO_FEATURES then add screen pam support or not. Press "Ctrl+a x" will lock the screen terminal, then unlock it will use pam. Add pam related configure file sceen.pam from Fedora. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-07-27cups: add pam supportKang Kai1
According to distro_feature then add pam support for cups or not. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-07-27libpam: update to 1.1.4 and add subpackage xtestsKang Kai2
Update libpam to 1.1.4, and add dependecy cracklib because run xtexts will need pam-plugin-cracklib. There are some additional checks under subdirectory xtests and make it as a subpackage libpam-xtests. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-07-27libcap: Update to 2.22 with License ClarificationSaul Wold3
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-27machine/qemu: set preferred linux-yocto kernel versionBruce Ashfield1
The introduction of the linux-yocto-3.0 kernel is taking precedence over the known working 2.6.37 version. Forcing 2.6.37 until 3.0 is validated on the qemu machines. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-07-27eglibc: remove unnecessary FILESPATHPKG usagePaul Eggleton1
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-27module-init-tools: do not build static utilities for -crossEnrico Scholz1
There is no need to have static module-init-tools for the cross tools. Building such binaries requires a static libc which is not required by the rest of OE and which is deprecated and not installed by distributions like Fedora. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2011-07-27console-tools: removed wildcard from SRC_URIEnrico Scholz1
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 Kooi2
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-27libxcb: Add missing DEPENDS on libxdmcpKhem Raj1
Observed this to fail when populating new tmpdir from shared state Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-27meta/conf/local.conf.sample: improve terminal examples/commentsPaul Eggleton1
Default to XTERM_TERM* instead of KONSOLE_TERM* since Konsole support only works for KDE 3.x, and note this in the comments (see Yocto bug 1294 for further details.) Also add a comment about PATCHRESOLVE = "noop". Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-27meta/conf/local.conf.sample: improve comments/layoutPaul Eggleton1
Some additions and grammar fixes to the comments, as well as moving the locale options to the same place. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-27meta/conf/local.conf.sample: remove oprofileui-native related settingsPaul Eggleton1
oprofileui-nativesdk would be a better way to handle these kinds of requirements with the modern system, and it is not something that most users will need to configure anyway (nor was it supported.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-27tune-core2.inc: Drop X86ARCH32 usageRichard Purdie1
Using i686 doesn't work well with locale generation and doesn't gain anything so revert to the i586 default. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>