Khem Raj [Sun, 23 Aug 2009 07:28:51 +0000 (00:28 -0700)]
u-boot_git.bb: Dont reset machine SRC_URIs by using common SRC_URI.
We have this SRC_URI which forces bitbake to abandon the machine
specific SRC_URI override if it happens to be before this in
parse order. Anyway this SRC_URI is not needed too.
Michael Smith [Wed, 6 May 2009 03:38:35 +0000 (03:38 +0000)]
kernel.bbclass: stage more include files for x86 in 2.6.27+
Some packages include <linux/types.h>, which requires <asm/types.h>.
Supplement b6220af33a70d96345dea130005ce842eeadfdf5 to copy files
from arch/x86/include/asm to include/asm-x86.
Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Roman I Khimov <khimov@altell.ru>
Michael Smith [Wed, 12 Aug 2009 04:24:22 +0000 (00:24 -0400)]
gcc: fix libstdc/libgcc packaging on x86_64
do_install was looking under ${D}/some long cross path/*/lib;
needs to be lib64 on x86_64. On x86_64 base_libdir would be set to
/lib64, so we can go by that.
Bump INC_PR for recent gccs: 4.1.2, 4.2.[34], 4.3.[34], 4.4.1.
Jeremy Puhlman [Sun, 5 Apr 2009 14:08:51 +0000 (07:08 -0700)]
wireless-tools.inc: Change first use of SRC_URI from += to =
Since wireless-tools.inc is included at the top of the recipe it should clear
SRC_URI.
Without this, SRC_URI contains the recipe file, which in turn gets
installed in to the work area. When using BBPATH to set BBFILES,
this causes an error on subsequent parsing due to wireless-tools.inc
does not get copied with the recipe and is not found.
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Chris Larson <clarson@mvista.com>
Jeremy Puhlman [Fri, 17 Apr 2009 23:02:58 +0000 (16:02 -0700)]
gettext: Correct autoconf-lib-link code to defer to the compiler's library search paths.
Ultimately we should have --with-<lib> and --without-<lib> for everything,
however if a recipie does not the suspect code wanders through the host system
searching for a working library. OE takes great pains to set that all up, lets
let it decide the right library.
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Chris Larson <clarson@mvista.com>
Chris Larson [Thu, 28 May 2009 22:27:31 +0000 (15:27 -0700)]
src_distribute*.bbclass: cleanup, revamp parts, distribute all sources.
- Kill the big shell function with the case statement used in _local in
favor of a set of bitbake variables, with the appropriate one selected
as SRC_DISTRIBUTECOMMAND.
- Add and use SRC_DISTRIBUTE_DLONLY to toggle distribution of all sources
versus just those downloaded to DL_DIR. This variable expects to be set
to an integer, anything but 0 will enable dlonly operation. This is
disabled by default.
- Add a more sanely named distribute_sources_all, and make distsrcall
depend on it, for compatibility.
- By default, distributes the sources into
${SRC_DISTRIBUTEDIR}/${LIC}/${PN}/.
- Move some _local specific bits, like use of SRC_DISTRIBUTEDIR, out of
the main class.
- Set a "LIC" var along with the "SRC" when running SRC_DISTRIBUTECOMMAND,
to facilitate the above.
Chris Larson [Thu, 18 Jun 2009 19:41:50 +0000 (12:41 -0700)]
package_rpm: don't run against native/cross recipes, explicitly
In the past, it only avoided adding the rpm-native/fakeroot-native deps if
PACKAGES is empty, but unfortunately some native recipes have PACKAGES set to
non-empty, so let's explicitly check for native/cross.
Chris Larson [Wed, 19 Aug 2009 21:49:02 +0000 (14:49 -0700)]
collections.inc: sync with MVL6.
- Gather info on the collections into COLLECTIONSINFO.
- Store the collection info for the current file in COLLECTIONINFO.
- Add has_collection() and get_collection() utility functions.
- Make collection_unpack pass back the collection name.
- Just use != rather than symmetric_difference on the set comparision.
- Set PYTHONPATH for the bitbake re-execution.
- Make the 'Using existing' message use bb.debug.
Chris Larson [Fri, 10 Jul 2009 18:27:31 +0000 (11:27 -0700)]
Let the distro control whether we include hostap or madwifi.
- Add base_ifelse convenience function to base.bbclass.
- Replace all conditionals in the recipes relating to hostap and madwifi to
look for their name in COMBINED_FEATURES rather than looking for specific buses (pci, pcmcia).
- Change the default COMBINED_FEATURES to enable:
- madwifi, when:
- distro has pci, wifi, and madwifi in its features
- machine has pci in its features
- hostap, when:
- 'wifi' and 'hostap' are in distro features
- either 'pci' or 'pcmcia' are in both distro and machine features
Michael Smith [Wed, 8 Jul 2009 22:31:35 +0000 (18:31 -0400)]
openssh.inc: cleanup
Because of leading slashes in FILES_*, some files were being installed
twice: e.g. /etc/ssh/moduli was in both openssh and openssh-sshd. Now
openssh is an empty metapackage, which I think was the plan.
Other cleanups:
* switch to INC_PR
* remove dangling slogin symlink to ssh to fix warning
* remove FILES_openssh-dbg line, which had a syntax error and doesn't
appear necessary to keep debug out of the openssh-misc package anymore.
* rename package ssh-keygen to openssh-keygen for consistency
* use ${PN} in variable names
Michael Smith [Sat, 27 Jun 2009 21:12:01 +0000 (17:12 -0400)]
source-checker: usability tweaks
checksum sorter, source checker:
* exit(1) on failure;
* send errors to stderr;
* make executable
checksum sorter:
* read from stdin if no arg;
* accept --inplace option to read and write from the same file;
* check that input file exists as ConfigParser.read() doesn't treat
missing files as an error.
Rolf Leggewie [Fri, 14 Aug 2009 14:01:10 +0000 (16:01 +0200)]
base.bbclass: introduce OE source mirror network as last resort for do_fetch
Updating recipes and checksums.ini for vanishing upstream hosts or simple
restructuring can quickly become a chore for OE devs if taken seriously.
The OE user experience suffers severely when at any given point in time
4 to 5 recipes on average fail do_fetch for a simple image.
The solution is for OE to provide its own caching of upstream sources.
mirrors.openembedded.org is a swarm of possibly incomplete source mirrors
provided by the community and load-balanced via DNS round robin. They
act as a first line of defense and lower bandwidth load on melo which
hosts sources.openembedded.org. The melo mirror aims to have a complete
copy of free-to-publish sources used by the current org.oe.dev branch.
More information at http://wiki.openembedded.net/index.php/Sources_mirror
Acked-by: Holger Freyther <zecke@selfish.org> Acked-by: Chris Larson <clarson@kergoth.com>
Michael Smith [Mon, 17 Aug 2009 03:29:02 +0000 (03:29 +0000)]
mtools: don't install-info; fixes build on non-Debian hosts
The install-info installed into staging by dpkg-native looks for
/var/backups/infodir.bak and /usr/share/base-files/info.dir on
the build system. On Debian/Ubuntu this is benign, but on other
distros these files don't exist and the install fails.
The info file is still installed, we just don't try to rebuild the
nonexistent directory.
There are cleaner ways to solve this in the long run:
http://dev.openbossa.org/trac/mamona/ticket/139
Signed-off-by: Michael Smith <msmith@cbnco.com> Signed-off-by: Holger Freyther <zecke@selfish.org>
package_tar.bbclass: Do not set IMAGE_PKGTYPE to unbreak parsing
image.bbclass is trying to inherit package_${IMAGE_PKGTYPE} and
this will fail because a rootfs_tar.bbclass doesn't exist. When
planning to build images one needs to inherit package_ipk,
package_rpm or package_deb in addition to INHERIT += "package_tar".
Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org> Acked-by: Philip Balister <philip@balister.org>
John Willis [Tue, 14 Jul 2009 05:46:31 +0000 (05:46 +0000)]
gamin-0.1.8: Fix build issue with recent GCC/GLibC combos.
Update gamin_0.1.8.bb to build with recent GCC and GLibC 2.8 > via addition
of configure.in patch (use AC_USE_SYSTEM_EXTENSIONS instead of
AC_ISC_POSIX).
Roman I Khimov [Mon, 17 Aug 2009 10:10:06 +0000 (14:10 +0400)]
site/ix86-common: fix grave bug in ac_cv_sizeof_unsigned_char
ac_cv_sizeof_unsigned_char definition accidentally redefines
ac_cv_sizeof_unsigned_int to 1. Luckily, not many packages are using that
but for example it completely breakes gnutls.
Graeme Gregory [Sat, 15 Aug 2009 13:56:26 +0000 (14:56 +0100)]
transmission_1.73.bb : makes this LSB compliant and stop messing with /home
added a /etc/default/transmission-daemon to contain paths and values used
by the daemon. Moved the homedir and config to /var/lib/transmission-daemon
Khem Raj [Fri, 14 Aug 2009 22:42:21 +0000 (15:42 -0700)]
common-uclibc: Unset guile_cv_use_csqrt for guile
guile's configure is not smart to guess if csqrt works
in a cross compile environment so it ends up assuming
that it works and fails to link. Anyways for uclibc
complex functions are unimplemented so we help configure
by unsetting here in site file for uclibc.
Rolf Leggewie [Tue, 9 Jun 2009 02:57:24 +0000 (11:57 +0900)]
zaurus-2.6.inc: add zaurusd to collie RDEPENDS
* there is no need to deviate from the other Zaurus machines here
http://svn.o-hand.com/repos/misc/trunk/zaurusd/config/machines
* regroup some fields while we're at it