summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
AgeCommit message (Collapse)AuthorFiles
2011-07-01python: Ensure libpython.so ends up in the .dev packageRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01perl: Fix package qa rpath warnings.Nitin A Kamble2
Fix these kinds of Package QA warnings before they are converted into fetal errors: WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so This fixes this warning for perl recipe as well as libxml-parser-perl recipe. It is a fix to MakeMaker within perl, so all such perl recipes will get fixed with this perl fix. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-30binutils: allow distro to select gold as default linkerPhil Blundell2
But ensure that gcc-cross-intermediate always uses ld.bfd since (e)glibc won't build with gold. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-06-30ccache: Integrate ccache-native to pokyWenzong Fan2
Add ccache as a native tool and put its recipe files to: 'meta/recipes-devtools/ccache'. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-06-30Add umask task controlMark Hatle1
Bitbake now allows the umask to be specified per task. The following tasks will have a umask of 022 set by default: do_configure do_compile do_install do_package do_populate_sysroot do_rootfs do_configure and do_compile need a umask of 022 set because -many- recipes directly copy generated files out of recipe's build directory. Instead of fixing each existing and future recipe, it was shown to be much easier to just set the umask. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-30btrfs-tools: new recipe for tools to operate on btrfs imagesNitin A Kamble26
Added these patches to the recipe to get it to work as desired: Upstream patches from tmp & for-dragonn branches of repository http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-progs-unstable.git Also included the debian patches. Nitin's patch to make the makefile cross friendly And Xin Zhong's patch to improve mkfs.btrfs Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-30gcc-4.6: share work directoriesRobert Yang2
* Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. * Change ${S} to the shared source directory. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-06-30gcc-4.5.1: share work directoriesRobert Yang2
Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-06-30Share gcc work directoriesRobert Yang4
This patched is derived from Richard, make gcc use the shared source directory during the different building: 1) Make gcc-cross, gcc-cross-initial, gcc-cross-intermediate and gcc-runtime share the same source directory. 2) The source directory is ${TMPDIR}/work-shared/gcc-${PV}, for example: tmp/work-shared/gcc-4.5.1 3) Fix do_clean to clean the shared source directory and stamps 4) gcc uses sed and creates config files against ${S} which means the directory should not be shared. Change the way to make it work: * The configure option --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} can replace the sed command, see the code in configure: if test "x$with_headers" != x; then glibc_header_dir=$with_headers This has the same effect as the sed command: sed -i 's:^\([ ]*\)glibc_header_dir=\"${with_build_sysroot}/usr/include\": ... so add the --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} to gcc-configure-cross.inc( not add to gcc-configure-common.inc, since not all the gcc building need this, the one which has its own do_configure doesn't need it). * Move t-oe from ${T} to ${B}/gcc, so that the patched Makefile.in can read it easily, please see the commit for gcc-4.5.1 and gcc-4.6.0. * Use the defaults.h in ${B}/gcc instead of ${S}/gcc, and the patched configure.ac(configure) can read it correctly, please see the commit for gcc-4.5.1 and gcc-4.6.0. * The gcc-crosssdk.inc used sed to edit ${S}/config/*/linux*.h to change the GLIBC_DYNAMIC_LINKER, which made the source incompatible. To make the source compatible: - Use: sed -i ${S}/gcc/config/*/linux*.h -e \ 's#\(GLIBC_DYNAMIC_LINKER[^ ]*\)\( *"/lib.*\)#\1 SYSTEMLIBS_DIR\2#' so entries in the files that look like: #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" would become #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2" and we define SYSTEMLIBS_DIR in defaults.h. NOTE: #define GLIBC_DYNAMIC_LINKER64 (SYSTEMLIBS_DIR "/ld-linux-x86-64.so.2") doesn't work in in the following define: #define LINUX_DYNAMIC_LINKER \ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) so use #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2" 5) Add do_configure_prepend to gcc-configure-common.inc and remove the one in gcc-crosssdk.inc, this makes it easy to share the source, otherwise we need do extra changes in gcc-configure-sdk.inc. 6) Use "cat > file <_EOF" to replace the "echo > file" Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-06-29glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issueDexuan Cui3
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-29Upstream-Status: update the status for some patchesDongxiao Xu2
gypsy: fix-unused-but-set-variable-warning.patch telepathy-python: parallel_make.patch opkg-utils: mtime-int.patch opkg: headerfix.patch flac: flac-gcc43-fixes.patch libsamplerate0: libsamplerate-0.1.7-macro-quoting.patch Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-06-29prelink_git.bb: Only block the postinst script when no image-prelinkMark Hatle1
If image-prelink is being used, the system will automatically prelink the target image. This avoids the need to run the postinst prelink script at first boot. However, if the user has not enabled image prelinking -- then we do enable the script to run on first boot. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-28gcc-cross-kernel: update to match new toolchain sysroot layoutKoen Kooi1
The versioned gcc binary gets installed and the needed binutils symlinks are made. To make it fully work again the following is needed in kernel recipes/classes: PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.gcc-cross-kernel:" Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28mtools: upgrade to v4.0.16Scott Garman2
Also added Upstream-Status: tag to a patch. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-06-28rpm: Change config optionMark Hatle1
For some reason --without-xz doesn't work the same as --with-xz=none. We need this set to none, or configure will attempt to find an lzma header which we might or might not have. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-28prelink: Uprev prelink to latest versionMark Hatle2
The latest cross-prelink version tracks the prelink r190 SVN. Fix two minor issues as well. If we remove the package, we would unprelink the filesystem after the rm was finished. This is incorrect.. we need to do this prerm. Move the cron and cron configuration file to a new package split. This item is not valid for most embedded users. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-28gcc: Fix file ownershipMark Hatle5
Most of the files that end up in the gcc include dir and other misc files scattered throughout the install get the build users uid and gid. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-23common-licenses: Additions and correctionsBeth Flanagan3
I've added more licenses from SPDX and corrected the gcc license so that it is a. parsable and b. accurate to the SPDX standard. I've also done some cleanup of license text and gdb's LICENSE field. Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
2011-06-23python: Add python to the dependency to pygobjectMark Hatle1
pygobject requires both python and pygobject-native for compilation. Without python pygobject may fail to compile.. and items that depend on pygobject will fail to compile. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-23python: Switch to using the default -dbg packageMark Hatle3
Python was missing a lot of debug information. Switch to use the default -dbg package. Also add some additional debug information to the -dbg package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-23python-pyobject: Remove unnecessary -dbg settingMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-23libxml-parser-perl: Fix debug packageMark Hatle1
Certain files were being missed in the -dbg package, fix this. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-23python-gst: Add missing files to the -dbg packageMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-23nasm: Fix aclocalMark Hatle1
The mv of aclocal.m4 can only occur once, or it will fail. On a re-run of configure this will fail. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-23gcc-4.6: Switch to using svn SRC_URI for recipeKhem Raj374
We call the recipes 4.6 Remove the backport patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-22binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64Khem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-14gcc-4.6.0: Bring in patches from FSF 4.6 branchKhem Raj330
This brings in new patches from 4.6 release branch updates the comment section of existing branch to not contain patch numbers. Tested build on qemu for arm ppc mips x86 and x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-14perl-native: populate into its own dirDexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14gnu-config-native: should depend on perl-native-runtime rather than perl-nativeDexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14dpkg: should depend on perl-native-runtime rather than perl-nativeDexuan Cui2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14perl: inherit perlnativeDexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14libxml-parser-perl: inherit perlnativeDexuan Cui2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14libxml-simple-perl: fix EXTRA_PERLFLAGS due the the perlnative changeDexuan Cui2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14icon-naming-utils-native: inherit perlnativeDexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14update-alternatives-dpkg: Fix SRC_URI ChecksumSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-06-14git: restore the dependency on perl-nativeDexuan Cui2
[YOCTO #1155] I thought git-native could depend on perl-native-runtime and tests on Ubuntu 9.04/10.10 and Fedora 13 show it could buid fine (looks these distros install perl-ExtUtils-MakeMaker by default). However Joshua reported on Fedora 15 i686 host, git-native can't build unless he manually installed perl-ExtUtils-MakeMaker to the host. This makes me think we may as well make git-native depend on perl-native. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14perl-native: fix download urlAnders Darander1
Signed-off-by: Anders Darander <anders@chargestorm.se>
2011-06-14autoconf/automake: Bump PR to resolve perl-native issueSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-06-10Revert "gcc: rebase the patch to avoid patch rejection"Richard Purdie1
This reverts commit c553b3934f45db8a6e77cfc7673787db3cc64f85. This change clearly breaks builds since subsequent patches depend on changes this patch removes. Not sure what's going on here but this change isn't correct.
2011-06-10gcc: rebase the patch to avoid patch rejectionNitin A Kamble1
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-09native/nativesdk: Clean up the depends ordering after bitbake override ↵Richard Purdie1
handling updates This massively cleans up the dependency handling in the two classes when interacting with BBCLASSEXTEND. This change has a dependency on the bitbake override handling change and also the existence of the RecipePreFinalise event. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09pseudo: Fix problem related to realpathMark Hatle3
When pseudo is disabled, certain programs that call realpath may not work properly. This was discovered when using the Qt MOC tool when certain qmake project features are used. [YOCTO #1150] Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-09pseudo: Update pseudo to 1.1.1 versionMark Hatle5
Update both the core and pseudo_git packages to the latest 1.1.1 verison. This fixes an issues where the call system() was not wrapped. This could lead to issues where certain spawned commands broke out of a pseudo-chroot and created files in the wrong place. Also the update the 1.0 -> 1.1.1 adds additional capabilities such as beginning support for MacOS X. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-06gcc-package-cross: also install the symlinks in libexec with target prefixPhil Blundell1
.. since this is where collect2 seems to look for them. This seems like it is really a bug in collect2, but installing the symlinks is an easy workaround. Without this you get "could not find ld" errors when using -flto. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-06-06bison: upgrade from 2.4.3 to 2.5Nitin A Kamble3
This version of bison needs m4 1.4.16 or newer Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-06autoconf: upgrade from 2.65 to 2.68Nitin A Kamble11
And rebase the patches to the newer code. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-06m4: upgrade from 1.4.15 to 1.4.16Nitin A Kamble2
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-02rpm: avoid dependency on perl and python for -native buildPhil Blundell1
Update override naming (_native -> _virtclass-native) to disable perl and python bindings when building native rpm, and adjust the DEPENDS to match. Perl bindings were, in fact, already disabled for both native and target builds so it's only the python ones that have really changed. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02recipes: Upstream-status --> Upstream-Status: for multiple patchesDexuan Cui1
As a keyword, Upstream-Status is case sensitive. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-02gcc: Fix volatile access issue for ARMSaul Wold2
[YOCTO #1130] This patch brings in a patch from gcc for the following issue: http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01477.html Signed-off-by: Saul Wold <sgw@linux.intel.com>