summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2012-06-05tcmode-external-sourcery: pass -msgxx-glibc for x86Christopher Larson1
This is needed to work around an issue with the toolchain search paths. It can pick up the wrong features.h without it, it seems, even with the system32 symlink in the oe sysroot. Investigate this further in the future. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05external-sourcery: extract src and dest sysroot paths from gccChristopher Larson2
Rather than hardcoding the multilib path in a map, and hardcoding dest sysroot symlink creation in a hook, now we just use -print-sysroot for both, and pass the appropriate multilib args to the toolchain for particular tunes. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05task-core-lsb: Add another initscripts to an lsb imageXiaofeng Yan1
Initscripts with stronger functions will replace the simple one, which will avoid error when some packages need functions which could be absent in the simple initscripts. [YOCTO #2133] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2012-06-05lsbinitscripts: Patch file functions for confirming to an lsb imageXiaofeng Yan1
Add the condition judgment to functions for avoiding to print error information when system start up at first. [YOCTO #2133] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2012-06-05lsbinitscripts: Add initscripts to enhance init functions in an lsb imageXiaofeng Yan1
The version of initscripts has more functions than the simple. There could be some errors for current initscripts when running some programe because of absent some functions provided by initscripts. [YOCTO #2133] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2012-06-05directfb-examples: upgrade to 1.5.3Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-06-05directfb: upgrade to 1.5.3Laurentiu Palcu5
Also, backported a couple of patches from upstream that fix some compilations issues for ARM and PPC. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-06-05cpan.bbclass: Fix config error while patches to Makefile.PLXin Ouyang1
If there is a patch to Makefile.PL, a Makefile.PL but no Makefile will be placed in ${B}/.pc/xxx.patch/ after do_patch. And no Makefile will be generated for *this* Makefile.PL. While do_configure, the original code tries to sed Makefiles matching with each Makefile.PL in {B}, so this would fail. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-05-30webkit-gtk: Use glib as unicode backend to avoid browser crashZhai Edwin1
webkit-gtk depends on ICU for the unicode, but ICU is not safe when build and target system owns different endian. ICU's community is not responsive to make a patch for this, so glib is used as work around here. [YOCTO #1570] got fixed Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30bitbake.conf: set an exclusion list for varflags in checksumsPaul Eggleton1
Set BB_SIGNATURE_EXCLUDE_FLAGS, which is used by the new varflag checksum code in BitBake. The list is intended to cut out most of the varflags that are generated internally, don't influence the output or are already included in the checksum in some way. If need be this list can be extended in the future. The existing vardepsexclude mechanism can also be used to exclude undesired varflags, but they must be fully specified, e.g.: do_patch[vardepsexclude] += "do_patch[someflag]" Implements [YOCTO #2517]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30bash: Update to new update-alternatives syntaxRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30bzip2: Update to new update-alternatives syntaxRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30kmod: Remove bashism from recipeRichard Purdie1
Without this, the installed files get mangled when a dash shell is used. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30update-alternatives: Fix absolute symlink handlingRichard Purdie1
After the class changes, absolute symlinks are not being handled correctly by the class file. This adds handling for absolute symlinks to account for the pkgdest directory, removing dangling symlink messages from recipes like bzip2. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30package.bbclass: Add warning about FILES containing '//'Richard Purdie1
'//' in a FILES variable causes hard to track down issues with packaging. This adds a warning and attempts to auto-correct the issue to try and make the problem more user friendly. [YOCTO #2448] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30layer.conf/bitbake.conf: Tweak PATHRichard Purdie2
We want the help2man script in scripts/ to be found in preference to any from the host system and from the native sysroot. It turns out to be tricky to get the order right from layer.conf so we move the addition of the scripts directory to bitbake.conf. Without this, "bitbake libtasn1 -c cleansstate; bitbake help2man-native; bitbake libtasn1" will fail due to finding the host system help2man before ours. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30Revert "meta: replace os.popen with subprocess.Popen"Richard Purdie7
This reverts commit e83d8e58a6b107eea87df0ec233a1bc932b2c6e as the conversion is not correct. Its replacing readlines() calls which generate an array with what are effectively strings. There are split("\n") calls missing in many cases so this needs to be reverted until it gets fixed.
2012-05-30classes/sanity: fix a couple of grammatical errors in messagesPaul Eggleton1
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30ccache: Separate out into its own classRichard Purdie4
Currently, ccache is used if it is present. When building from scratch it gives no performance improvement and creates a ton of empty directories even when its not in use. This change moves ccache support to a bbclass file which the user can choose to enable. This should make builds more determinstic and make it easier/clearer to the end user when its being used and when it is not. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30scripts/cp-noerror: Add a special copy function to fix autotools issuesRichard Purdie1
Currently we copy the aclocal directory to the build so that autotools doesn't see .m4 files disappear when its processing them. This can happen if for example, package X is being rebuilt at the same time as Y and it gets uninstalled from sstate (assuming there are no dependencies between X and Y). This code making the copy was added to avoid races but introduces a race of its own, namely that the files can disappear during the copy. This patch adds a cp-noerror script which silently ignores such errors and gives the behaviour we need in this case. It hence fixes issues which crop up for users and the autobuilder occasionally. [YOCTO #2485] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30xz: updated to version 5.1.1alphaValentin Popa1
The licenses are the same, only some white spaces added/removed. Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30qemu: Add an option to remove host sdl/gl checkingZhai Edwin5
Add an PACKAGECONFIG in qemu to disable GL acceleration: * By default configure try best to enable GL acceleration and fail when missing host dependency(libSDL and libGL). * End user can also choose to turn off GL capability, thus remove the host dependence in building. [YOCTO #2407] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30classes/sanity: send sanity check failure as a separate event for HobPaul Eggleton1
In order to show a friendlier error message within Hob that does not bury the actual sanity error in our typical preamble about disabling sanity checks, use a separate event to indicate that sanity checks failed. This change is intended to work together with the related change to BitBake, however it has a check to ensure that it does not fail with older versions that do not include that change. Fixes [YOCTO #2336]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30foomatic-filters: update to version 4.0.15Radu Moisan1
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30mtd-utils: Update to version 1.5.0Radu Moisan2
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30man-pages: update to version 3.41Radu Moisan1
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30classes/sanity: remove broken TARGET_ARCH checkPaul Eggleton1
The variable name has been typo'd as TARGE_ARCH since it was introduced some time ago, so the check has never worked. Fixing the typo shows that the test is not quite functional, so let's just remove it: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010613.html Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30libpciaccess: upgrade to 0.13.1Laurentiu Palcu2
Removed also the fix_deletion_of_last_handle.patch because the new version includes it. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30fontsproto: upgrade to 2.1.2Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30fontconfig: upgrade to 2.9.0Laurentiu Palcu4
Other changes: - licence checksums because the licence headers changed slightly: several other authors were added and Keith Packard's name has been replaced with "author(s)". That's it. - rebased the fix-pkgconfig.patch to apply on 2.9.0 - removed all sed instructions in do_configure_append() that were changing fc-arch/Makefile. In the new version the fc-arch/ directory has been removed in order to make the package cross-compiling safe Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30buildhistory_analysis: fix error when version specifier missingPaul Eggleton1
Passing None to split_versions() will raise an exception, so check that the version is specified before passing it in. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30meta: replace os.popen with subprocess.PopenRobert Yang7
Replace os.popen with subprocess.Popen since the older function would fail (more or less) silently if the executed program cannot be found There are both bb.process.run() and bb.process.Popen() which wraps the subprocess module, use it for simplifying the code. Note: We don't need the "2>/dev/null" or "2>&1" since bb.process.run() can handle it, it will raise exception when error occurs, we should handle the exception ourselves if we want to ignore the error. More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30meta: replace os.system with subprocess.callRobert Yang14
Replace os.system with subprocess.call since the older function would fail (more or less) silently if the executed program cannot be found More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30shadow-utils-native: remove unnecessary alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30kmod: use new update-alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30sysklogd: use new update-alternativesMark Hatle2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30psmisc: use new update-alternativesMark Hatle2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30iputils: use new update-alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30grep: use new update-alternativesMark Hatle2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30cpio: use new update-alternativesMark Hatle3
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30opkg: use new update-alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30tar: use new update-alternativesMark Hatle3
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30binutils: use new update-alternativesMark Hatle2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30util-linux: use new update-alternativesMark Hatle2
In addition to switching to the new update-alternatives, it was discovered that the sln, shutdown, halt, reboot and related commands were never generated. Remove these from the list. (These appear to have been removed from util-linux some time ago.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30psplash: use new update-alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30ncurses: use new update-alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30dropbear: use new update-alternativesMark Hatle2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30coreutils: use new update-alternativesMark Hatle2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30busybox: use new update-alternativesMark Hatle2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30openssh: use new update-alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>