summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* python-native: fix for non /usr/lib libdir caseYu Ke2011-07-122-5/+12
| | | | | | | | | | | | the get_python_lib() use hard code "lib". when other recipe building use python-native, the STAGING_LIBDIR is non /usr/lib, so the hard code "lib" will break the build This patch replace the hardcoded "lib" with value from libdir to fix this issue. Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix for libdir=/usr/lib64 caseYu Ke2011-07-122-1/+252
| | | | | | | | | | python has several place hard code "lib" which breaks build when libdir=/usr/lib64. SUSE has a patch to fix this issue. So this patch add the SUSE patch to address this issue Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix packaging correctlySaul Wold2011-07-122-4/+7
| | | | | | | | | | [YOCTO #1233] This fix directly packages the contents in and adds the lib*.so correctly to the -dev package. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update to 2.8.5 releaseOtavio Salvador2011-07-122-16/+6
| | | | | | Acked-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update to 2.8.5-rc3Otavio Salvador2011-07-084-24/+36
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cmake: add nativesdk and target versionsOtavio Salvador2011-07-082-0/+67
| | | | | | | | | | Adds a recipe that provides the nativesdk and target versions of CMake. This recipe is based on code from OpenEmbeeded (rev b1f2e1501c19540617a829b37415c0616101c7ad). Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* elfutils: fix compilations issue with the gcc 4.7Nitin A Kamble2011-07-0817-1/+75
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* gcc-runtime: fix installed but unpackaged filesNitin A Kamble2011-07-081-1/+1
| | | | | | | | | | | | gcc recipes has changed, currently ${PV} is 4.6 and ${BINV} is 4.6.1 version. Fix these QA warnings. WARNING: For recipe gcc-runtime, the following files were installed but not shipped in any package: WARNING: /usr/share/gcc-4.6.1/python/libstdcxx/__init__.py WARNING: /usr/share/gcc-4.6.1/python/libstdcxx/v6/__init__.py WARNING: /usr/share/gcc-4.6.1/python/libstdcxx/v6/printers.py Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* binutils: upgrade from 2.21 to 2.21.1Nitin A Kamble2011-07-0817-861/+871
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* cmake: refactor recipeOtavio Salvador2011-07-082-3/+7
| | | | | | | | | * use INC_PR; * show configure's failure on error; * gather major version from PV; Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: Add RDEPENDS on bashSaul Wold2011-07-082-1/+3
| | | | | | [YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* chrpath: Ensure the package respects the docdir variableRichard Purdie2011-07-052-2/+22
| | | | | | This resolves unpackaged file QA warnings and an empty -doc package. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opensp: Add unpackaged filesRichard Purdie2011-07-051-1/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: Package up python and gitweb files into appropriate packagesRichard Purdie2011-07-051-0/+6
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Package unpackaged filesRichard Purdie2011-07-052-3/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: Fix manpage creation directoryRichard Purdie2011-07-052-1/+33
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix unpackaged files warnings, broken symlink and superfluous filesRichard Purdie2011-07-051-5/+20
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-parser-perl: convert to BBCLASSEXTEND, merge in OE fixesKoen Kooi2011-07-052-11/+11
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware ↵Richard Purdie2011-07-052-6/+10
| | | | | | files, ensure files aren't stripped Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Update INSANE_SKIP to new syntaxRichard Purdie2011-07-051-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-package-cross: Switch to using pattern matching to detect when to stash ↵Richard Purdie2011-07-051-12/+14
| | | | | | | | | | libgcc into the sysroot Currently, we stash libgcc if PN is gcc-cross or gcc-crosssdk. This patch changes it to work for *gcc-cross and *-gcc-crosssdk which means it will patch for multilib extended toolchains. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Remove unneeded module .la file and .so linkRichard Purdie2011-07-053-2/+4
| | | | | | This avoids a QA error. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix removal of libiberty.aRichard Purdie2011-07-055-8/+8
| | | | | | | | | | | The changes in commit 553a92c442bc3a35d1520a22e640a3a0e377b8f7 were not applying correctly due to the error: "find: paths must precede expression" This patch corrects the find syntax. [YOCTO #1199] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-0122-22/+0
| | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Ensure libpython.so ends up in the .dev packageRichard Purdie2011-07-011-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix package qa rpath warnings.Nitin A Kamble2011-07-012-2/+29
| | | | | | | | | | | | 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>
* binutils: allow distro to select gold as default linkerPhil Blundell2011-06-302-2/+8
| | | | | | | 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>
* ccache: Integrate ccache-native to pokyWenzong Fan2011-06-302-0/+24
| | | | | | | 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>
* Add umask task controlMark Hatle2011-06-301-0/+2
| | | | | | | | | | | | | | | | | | | 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>
* btrfs-tools: new recipe for tools to operate on btrfs imagesNitin A Kamble2011-06-3026-0/+4687
| | | | | | | | | | | | | | 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>
* gcc-4.6: share work directoriesRobert Yang2011-06-302-1/+84
| | | | | | | | | * 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>
* gcc-4.5.1: share work directoriesRobert Yang2011-06-302-0/+58
| | | | | | | 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>
* Share gcc work directoriesRobert Yang2011-06-304-29/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issueDexuan Cui2011-06-293-3/+3
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* Upstream-Status: update the status for some patchesDongxiao Xu2011-06-292-1/+2
| | | | | | | | | | | 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>
* prelink_git.bb: Only block the postinst script when no image-prelinkMark Hatle2011-06-291-2/+4
| | | | | | | | | 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>
* gcc-cross-kernel: update to match new toolchain sysroot layoutKoen Kooi2011-06-281-1/+10
| | | | | | | | | | | 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>
* mtools: upgrade to v4.0.16Scott Garman2011-06-282-5/+8
| | | | | | Also added Upstream-Status: tag to a patch. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* rpm: Change config optionMark Hatle2011-06-281-1/+1
| | | | | | | | | 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>
* prelink: Uprev prelink to latest versionMark Hatle2011-06-282-4/+23
| | | | | | | | | | | | | 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>
* gcc: Fix file ownershipMark Hatle2011-06-285-0/+9
| | | | | | | | 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>
* common-licenses: Additions and correctionsBeth Flanagan2011-06-233-3/+3
| | | | | | | | | | 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>
* python: Add python to the dependency to pygobjectMark Hatle2011-06-231-2/+2
| | | | | | | | 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>
* python: Switch to using the default -dbg packageMark Hatle2011-06-233-8/+4
| | | | | | | 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>
* python-pyobject: Remove unnecessary -dbg settingMark Hatle2011-06-231-2/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* libxml-parser-perl: Fix debug packageMark Hatle2011-06-231-1/+3
| | | | | | Certain files were being missed in the -dbg package, fix this. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* python-gst: Add missing files to the -dbg packageMark Hatle2011-06-231-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* nasm: Fix aclocalMark Hatle2011-06-231-2/+4
| | | | | | | 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>
* gcc-4.6: Switch to using svn SRC_URI for recipeKhem Raj2011-06-23374-741304/+22
| | | | | | | We call the recipes 4.6 Remove the backport patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64Khem Raj2011-06-222-1/+430
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>