summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
AgeCommit message (Collapse)AuthorFiles
2012-08-17subversion: Inherit gettext as msgfmt is needed at compile timeAndrei Gherzan1
Avoid error: | /bin/bash: <path>/tmp/sysroots/i686-linux/usr/bin/msgfmt: No such file or directory | make: *** [subversion/po/de.mo] Error 127 | make: *** Waiting for unfinished jobs.... | ERROR: oe_runmake failed Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-17apt-native 0.7.14: remove an extra line from apt.confRobert Yang2
There is an additional "};" at the end of apt.conf, remove it. [YOCTO #2495] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-17subversion: two small fixesRoy.Li2
Add missing build dependency on sqlite3 Disable Ruby checking. we do not have Ruby, and subversion always checks ruby on host which leads to build error when ruby-dev is installed on host. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-17prelink: Update to latest upstream prelinkMark Hatle1
The latest fixes an obscure problem with prelinking on PowerPC, as well as general updated. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-17python: Add Upstream-Status entries for bsddb patches, no code changesJackie Huang2
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-17adt-installer: add support for relocatable SDKLaurentiu Palcu3
Since we made the SDK relocatable, we have to add this functionality to adt-installer too. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15rpmresolve: improve debug outputPaul Eggleton1
Rename rpmresolve's -d option to -t and make -d enable debug output; add a -o option to specify the output file (so rpm debug output doesn't go to the output file) and also add a little more detail to some of the error messages. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15qemu: backport patch to fix pl031 RTCRoy.Li2
Intergrate the patch from: http://repo.or.cz/w/qemu.git/commit/13a16f1d91fc7a46b65b22a33f6ffea1b826a097 Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.Jackie Huang1
The line 'sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh' is commented somehow in previous commit, so that TCL_SRC_DIR point to the tcl workdir which will cause package that use it fail to configure or compile when the tcl workdir is removed, so uncomment it back. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15run-postinsts: Does not run any scripts on debian rootfsKenneth Solbjerg1
On my system (core-image-base, .deb package files), run-postinsts does not run any scripts due to a failed test in run-postinsts.awk. As dpkg is not actually installed on target, opkg is identified as the pkgdir and that is not right... Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15ubootchart: cleanup update-alternatives deprecated codeSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15patch: cleanup update-alternatives deprecated codeSaul Wold3
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-14rpmresolve: Ensure we call the rpm relocation code at initRichard Purdie1
We need to call rpmcliInit to ensure the rpm relocation code is called and it correctly honours the relocation environmental variables. We can drop the ReadConfigFiles call since the cliInit does this for us. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13rpmresolve: add wrapper script to fix pathsPaul Eggleton1
Fixes sstate relocation due to the path to /etc/rpm being baked into the libraries - this manifested in the form of the following assertion at runtime: rpmresolve: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed. Fixes [YOCTO #2936]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13qemu.inc: disable curl for qemu-nativesdkRobert Yang3
We had added the --disable-curl to EXTRA_OECONF, but there is an EXTRA_OECONF_virtclass-nativesdk += "foo", the "EXTRA_OECONF_virtclass-nativesdk +=" equals to "EXTRA_OECONF_virtclass-nativesdk =" (the "+" has no effect here), so we should add the "--disable-curl" to EXTRA_OECONF_virtclass-nativesdk. And change the "+=" to "=" to not confuse people. [YOCTO #2305] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07automake: Fix version reference in path substitutionsRichard Purdie1
Without this the substitutions don't get made potentially resulting in a variety of different failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07binutils: Enable threaded linking with goldKhem Raj2
This options will let gold spawn multiple threads for linking and speeding up linking on multicore build hosts. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07gcc: Disable use of sdt.h headerRichard Purdie2
The target sysroot might contain sdt.h but we don't list this in DEPENDS and shouldn't be referencing it. Unfortunately there is no way to tell configure this since these tests are uncached and we can't force a particular value. The only option is therefore to patch this out. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07python: Fix RPATH QA issue on non-gplv3 buildsRichard Purdie1
On non-gplv3 builds, gdbm gets built different due to the different version which triggers a different codepath in python's db support and then hence triggers an invalid RPATH QA issue. This change extends the appropriate patch to cover the code paths we need it to cover and avoid adding the problematic RPATH. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07gdb-cross: Explicitly disable pythonRichard Purdie1
Python isn't in DEPENDS but can be autodetected from the sysroot. Explicitly disable it to ensure deterministic builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06subversion: Add missing build dependency on sqlite3Bogdan Marinescu1
subversion needs an explicit dependency on sqlite3, otherwise it does not build. Tested by building core-image-minimal. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06bison: updated to 2.5.1Bogdan Marinescu2
The gets patch is not needed anymore in this version. The manpage patch was updated for this version. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06rsync: use ${sysconfdir} instead of /etc for packagingJavier Martinez Canillas1
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06ubootchart: use variables instead of hardcoded pathsJavier Martinez Canillas1
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06python: Fix to support the python module _bsddb built with db 5.3Jackie Huang4
_bsddb module in python 2.7 could be built only with db version between 4.1 and 4.7. A patch was added to avoid build warning about this for [YOCTO #1937] but not actually fixed it. This patch enable _bsddb module be built with db 5.3, and remove --disable-statistics from the DB5_CONFIG to fix segmentation fault when using _bsddb module in python. [YOCTO #2749] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06tcl: Add ${bindir_crossscripts}/tclConfig.sh to sysroot stageJackie Huang1
tclConfig.sh is changed in do_install for cross compile and is installed to STAGING_BINDIR_CROSS, but if SSTATE_DIR is set and tcl is from sstage, tclConfig.sh can't be found in STAGING_BINDIR_CROSS, add ${bindir_crossscripts}/tclConfig.sh to sysroot stage can fix it. [YOCTO #2891] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06gcc-cross-initial: Ensure it uses an isolated sysrootRichard Purdie1
If we don't do this, a stale limits.h may be detected in STAGING_DIR_TARGET which would result in a different limits.h getting generated by gcc-cross-initial that references it. The referenced limits.h will then not get found by eglibc-initial causing rather strange build failures. The simplest solution is to create a temporary sysroot containing only the things gcc-cross-initial should care about and this results in a correct limits.h file regardless of what else may have been built. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-03gcc: Bump PR since there have been several gcc changes and various problems ↵Richard Purdie1
reported and this should flush anything stale out Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-03gcc-cross-initial: Fix typo causing limits.h not to be presentRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02guile: updated to 2.0.6Bogdan Marinescu7
Some patches (disable_goops_optimizations, fix_cross_compilation) don't seem to be needed anymore. Others (change-install-data-hook, mark-unused-modules) were updated to work on 2.0.6. Tested by building and running guile under QEMU with core-image-sato-sdk and also builing guile on MIPS. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02python-setuptools: Fix setuptools install libdir != /usr/libMark Hatle1
--install-lib= is required to be passed via distutils install otherwise the install location gets set to whatever the python-native location is. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02binutils: relocatable SDK: change PT_INTERP section sizeLaurentiu Palcu2
This patch is needed so that all SDK binaries have the PT_INTERP section size set to 4096 (max path size in Linux) in order to be able to parse the binaries later and change the interpreter to the path we want. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02python-dbus: updated to 1.1.1Bogdan Marinescu1
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-01gcc-configure-target: Set native-system-header-dir for target gccRichard Purdie1
Without this set, in the case host=target (which it does for on-target gcc), the native header directory is set to the target sysroot with no prefix. This means it would look for sdt.h on the build system instead of in the target headers and this can lead to build failures and is host contamination of the build. The correct fix is to explicitly set the native header directory to the correct location and then the headers get detected correctly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-29guile:meta/Makefile change install-data-hook to install-exec-hookSong.Li2
In guile meta/Makefile, what install-data-hook do must be run after install-binSCRIPTS.so it's a exec hook, not a data hook. If keep these exec-hook in data-hook,when we run make with multi-jobbing , install-data-hook and install-binSCRIPTS will be separately processed in different thread, no any dependence. that will cause error sometimes. [YOCTO #2796] Signed-off-by: Song.Li <Song.Li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-29bison: move remove-gets.patch to BASE_SRC_URI, it's needed for bison-native ↵Martin Jansa1
too if host has (e)glibc-2.16 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-28pseudo.inc/pseudo_1.4.bb: update pseudo to 1.4Peter Seebach4
This update replaces the half-baked --arch logic with the use of $CFLAGS to pick compiler flags, on the grounds that it makes a lot more sense for the build system to pick flags than for pseudo to try to guess what they should be; this should allow pseudo to at least compile for targets, and possibly run on them. This doesn't solve the problem of guessing how to forcibly build the 32-bit variant on hosts, because we really don't have a general solution for that. There's no idiom for "given this set of compiler flags and this architecture, what flags would you use to request a 32-bit compile instead?" So we basically ignore that for now. If someone comes along trying to use the build system to build pseudo-native on a 64-bit host that also supports 32-bit binaries and isn't x86, we will revisit this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-28buildhistory: improve performance of image info collectionPaul Eggleton1
Reduce the number of calls to the packaging tool, especially in the case of rpm, using helper utilities to gather the required information more efficiently where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-07-28classes/rootfs_rpm: improve speed of RPM rootfs constructionPaul Eggleton2
Improve the performance of the RPM backend during do_rootfs by performing most of the package name to file resolution in a separate utility written in C, processing the entire list of packages at once rather than running rpm on the command line which loads the RPM database for every package. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-07-27bzip2-native: handling native path issueYao Zhao1
follow Richard's approach, modify bzip2-native recipe to install bzip2 package binaries to STAGING_BINDIR_NATIVE/bzip2-native to avoid problems when other package is doing upack to reference bzip2. libbz2.so* still installs to STAGING_LIBDIR_NATIVE. change python-native to depends on bzip2-replacement-native instead of bzip2-full-native and add EXTRANATIVEPATH for bzip2-native. Didn't add bzip2native.bbclass as python-native is the only user so far. Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27insserv: define do_install_virtclass-native()Roy.Li1
[YOCTO #2812] Since files installation dirs are DESTDIR/etc/, DESTDIR/sbin etc in Makefile, not DESTDIR/${sysconfdir}/, DESTDIR/${sbindir}/, for the native package, a prefix can not be inserted which is needed when do the next step of install and do_populate_sysroot. Now we define do_install_virtclass-native in which DESTDIR is ${D}/${STAGING_DIR_NATIVE} Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27Update intltool to version 0.50.0Florin Sarbu7
Uprev intltool to newer 0.50.0 version Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27cmake: Upgrade recipes to 2.8.8Khem Raj4
Copyright year change means a change in checksum ... CMake - Cross Platform Makefile Generator -Copyright 2000-2009 Kitware, Inc., Insight Software Consortium +Copyright 2000-2011 Kitware, Inc., Insight Software Consortium All rights reserved. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27qemu: Fix illegal instruction errors on e500 emulationKhem Raj2
I caught this when running user mode qemu for ppc/e500 applications which had SPE instructions in them will abort with illegal instruction error all the time. The patch is already applied upstream we needed a backport into 0.15.x Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27pkgconfig: Fix packaging issueSaul Wold2
The pkg.m4 file should be packaged as part of the base package instead of the -dev package, it had been in the base package, but I seemed to have missed that it moved during my PACKAGES reorder, and this caused the meta-toolchain to break [YOCTO #1908] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26guile: Add continuation marker to create_wrapperSaul Wold1
This was causing the x86_64-linux-guile script to not have all the environment bits needed V2: Forgot PR Bump! [YOCTO #2835] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26mtools: add glibc-gconv-* to RDEPENDS/RRECOMMENDSXin Ouyang2
[YOCTO #2829] mtools commands use cp850 as the "mtools_default_codepage", they would use this to do some coverting tasks. So, add glibc-gconv-ibm850 to RDEPENDS for mtools commands to run correctly. Also add other MSDOS/FAT codepages related packages to RRECOMMENDS. Code Pages for MSDOS/FAT: *http://msdn.microsoft.com/en-us/library/cc195051.aspx Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26liburi-perl: update to 1.60Kang Kai1
Update to 1.60 Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26Add missing Upstream-Status to various patches.Mark Hatle14
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-26gcc-cross-initial: Stage self sufficient fixed limits.hKhem Raj2
currently gcc installs a limits.h which references to another limits.h which it expects from target sysroot and that header in target sysroot will come from eglibc. So we need to break this catch-22 and hence we install a self sufficient limits.h which is then happy when referenced and doesnt complain about missing limits.h from target sysroot. This is mostly used when eglibc-initial configure is run Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>