aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2011-07-12rpm: fix for non /usr/lib libdir caseYu Ke
rpm default will use /usr/lib if the --with-path-lib is not specified. this will not work in non /usr/lib libdir case. so this patch add the --with-path-lib to fix this issue. (From OE-Core rev: f707953372dd0962efb5cb8daeb422743376bc29) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12perl: fix for non /usr/lib libdir caseYu Ke
the config.sh is hardcoded to be /usr/lib, which does not work in non /usr/lib libdir case. This patch replace the hard code /usr/lib with ${libdir} to fix this issue (From OE-Core rev: 603c5a241f0549da00334ac62dcbd1b0a72b6c82) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12python-native: fix for non /usr/lib libdir caseYu Ke
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. (From OE-Core rev: ab4ae436126f20b404375c9ae77cf66cfe31ea34) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12python: fix for libdir=/usr/lib64 caseYu Ke
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 (From OE-Core rev: c97ab268d6a7092a89c8b0051924a2acc2d86d9c) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12gcc: Fix packaging correctlySaul Wold
[YOCTO #1233] This fix directly packages the contents in and adds the lib*.so correctly to the -dev package. (From OE-Core rev: d3c5f93714165e5c089ce80194f2be07e31d920c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12cmake: update to 2.8.5 releaseOtavio Salvador
Acked-by: Tom Rini <tom_rini@mentor.com> (From OE-Core rev: 334cd15994eeb47636434a6e802f50b24e5182f3) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08cmake: update to 2.8.5-rc3Otavio Salvador
(From OE-Core rev: 2b229f4150b8375f0d35e11464dcbe307b720d81) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08cmake: add nativesdk and target versionsOtavio Salvador
Adds a recipe that provides the nativesdk and target versions of CMake. This recipe is based on code from OpenEmbeeded (rev b1f2e1501c19540617a829b37415c0616101c7ad). (From OE-Core rev: ea25292bbf53c7542578e5d9f4ae0531f9d78374) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08elfutils: fix compilations issue with the gcc 4.7Nitin A Kamble
(From OE-Core rev: 291483a20933cc70a49c2acadc9891bea2158564) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08gcc-runtime: fix installed but unpackaged filesNitin A Kamble
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 (From OE-Core rev: e29a8601c7b028696527c70aa0d4862157ce2d81) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08binutils: upgrade from 2.21 to 2.21.1Nitin A Kamble
(From OE-Core rev: 4810404f22d7cf8849dc32da68dd33a156cac407) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08cmake: refactor recipeOtavio Salvador
* use INC_PR; * show configure's failure on error; * gather major version from PV; (From OE-Core rev: c9d1e68a137960b6cdc81b875c087a8c1031dcbc) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08quilt: Add RDEPENDS on bashSaul Wold
[YOCTO #1214] (From OE-Core rev: 73787e1a1feb8b8e8e3401ff772452ac6f9bbf4b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07chrpath: Ensure the package respects the docdir variableRichard Purdie
This resolves unpackaged file QA warnings and an empty -doc package. (From OE-Core rev: 1b44053f6c4ac33d5058183e6634b1ba831ae601) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07opensp: Add unpackaged filesRichard Purdie
(From OE-Core rev: 615963784b367d8e92cf4599b7d82e5c009e35f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07git: Package up python and gitweb files into appropriate packagesRichard Purdie
(From OE-Core rev: 3037905b20eac8d2b69fe4758a6559459a86a6ed) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07apt: Package unpackaged filesRichard Purdie
(From OE-Core rev: 1e134055b8c00dd2f93a40a50cf69377c7b325c0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07btrfs-tools: Fix manpage creation directoryRichard Purdie
(From OE-Core rev: 0bfedd0d9d59ad6184e242d85cdeca7297e90fa6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07gcc: Fix unpackaged files warnings, broken symlink and superfluous filesRichard Purdie
(From OE-Core rev: 696f00b67217242f3a372d070c2473f8ced639ed) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05libxml-parser-perl: convert to BBCLASSEXTEND, merge in OE fixesKoen Kooi
(From OE-Core rev: d0b55fb8115c5ad311ed5ad3192902f7746d5cca) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05qemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware ↵Richard Purdie
files, ensure files aren't stripped (From OE-Core rev: 1c43b7ea6152aaad42159ce8071a4014b00f75fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05elfutils: Update INSANE_SKIP to new syntaxRichard Purdie
(From OE-Core rev: 77b67e740ae74b49b02fba86198b527b38c22a3d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05gcc-package-cross: Switch to using pattern matching to detect when to stash ↵Richard Purdie
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. (From OE-Core rev: a39cbed2ec887fb83335ba93e92d971c84a0f4d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05gcc: Remove unneeded module .la file and .so linkRichard Purdie
This avoids a QA error. (From OE-Core rev: 6d284d656e129be526e272f61405d1b004fe0ec9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05gcc: Fix removal of libiberty.aRichard Purdie
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] (From OE-Core rev: b8d72e3af93ff9e2808fef4fe7b9d00b68bf9715) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie
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. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01python: Ensure libpython.so ends up in the .dev packageRichard Purdie
(From OE-Core rev: bbd78814ed8beed951b7d68048957a9fe1ea4e28) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01perl: Fix package qa rpath warnings.Nitin A Kamble
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. (From OE-Core rev: a67e0c0e01a22718a617a82f54575b77928249ee) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30binutils: allow distro to select gold as default linkerPhil Blundell
But ensure that gcc-cross-intermediate always uses ld.bfd since (e)glibc won't build with gold. (From OE-Core rev: 207a9013670560d62c793a66f01e19f4760a71a8) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30ccache: Integrate ccache-native to pokyWenzong Fan
Add ccache as a native tool and put its recipe files to: 'meta/recipes-devtools/ccache'. (From OE-Core rev: 43416be5ccb66f93e395fdd8d0e19327f848cbe2) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30Add umask task controlMark Hatle
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. (From OE-Core rev: 0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30btrfs-tools: new recipe for tools to operate on btrfs imagesNitin A Kamble
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 (From OE-Core rev: 57a2140dc9673c65fea088fbd024fbd002e6937b) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30gcc-4.6: share work directoriesRobert Yang
* 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. (From OE-Core rev: c1ec5100da76d35afb91de7353599564e5b653dc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30gcc-4.5.1: share work directoriesRobert Yang
Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. (From OE-Core rev: d8c6f6e01421455db30eeb4b0882720874dcb31b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30Share gcc work directoriesRobert Yang
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" (From OE-Core rev: 934d38530c9a67562e53d4034aee5531f0f26750) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issueDexuan Cui
(From OE-Core rev: 549929364cd7d29b50d8a4562c6f640e21a467f1) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29Upstream-Status: update the status for some patchesDongxiao Xu
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 (From OE-Core rev: 0c1f12f4d190a2f5a838d8d1e53c30415b016a5a) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29prelink_git.bb: Only block the postinst script when no image-prelinkMark Hatle
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. (From OE-Core rev: a0ba05596a704a006ee7b97392c20b871085b1e6) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28gcc-cross-kernel: update to match new toolchain sysroot layoutKoen Kooi
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:" (From OE-Core rev: 3f0ee65462acf199b69ed18897ca65755907340e) 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 Garman
Also added Upstream-Status: tag to a patch. (From OE-Core rev: 09f5db4581cc412204f1407be9eba36c1af7376c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28rpm: Change config optionMark Hatle
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. (From OE-Core rev: 43e499b0168eefed38a0883cbf2834f6a4622296) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28prelink: Uprev prelink to latest versionMark Hatle
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. (From OE-Core rev: e8da02aeae4b3c1c2a805d63d6d0919d3034aba6) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28gcc: Fix file ownershipMark Hatle
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. (From OE-Core rev: db99a65b3e93dfacc27ea821c788f15b5de3a497) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23common-licenses: Additions and correctionsBeth Flanagan
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. (From OE-Core rev: e47343d12ee571281238bbf5663b074c0e32049f) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23python: Add python to the dependency to pygobjectMark Hatle
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. (From OE-Core rev: 319610d5bf61108f2ecc538c7a5de5b7c85a6684) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23python: Switch to using the default -dbg packageMark Hatle
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. (From OE-Core rev: 63f4e1b469046753009d0cef498ef09c87c54912) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23python-pyobject: Remove unnecessary -dbg settingMark Hatle
(From OE-Core rev: 6b7156c8ce5d9073bd12ded251c0eeacb021c8c1) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23libxml-parser-perl: Fix debug packageMark Hatle
Certain files were being missed in the -dbg package, fix this. (From OE-Core rev: 5b4bdf20c60ca625c059237b5d70b57c6643e6ec) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23python-gst: Add missing files to the -dbg packageMark Hatle
(From OE-Core rev: 35a1a419f56d032ae3828e54c183d2d43789f6e3) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23nasm: Fix aclocalMark Hatle
The mv of aclocal.m4 can only occur once, or it will fail. On a re-run of configure this will fail. (From OE-Core rev: 1e232db4f6e90577f75efabd279b6980277b9547) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>