Chris Larson [Mon, 2 Mar 2009 16:13:31 +0000 (08:13 -0800)]
cross.bbclass: set autoconf's program prefix to keep TARGET_SYS and TARGET_PREFIX decoupled
Currently, we rely on autoconf's implicit prefixing of outputted binaries
for -cross, but that names them based on TARGET_SYS, not TARGET_PREFIX,
which keeps the two tightly coupled. By explicitly setting the prefix to
the latter, we get around that.
Chris Larson [Wed, 25 Feb 2009 23:05:41 +0000 (15:05 -0800)]
classes/base.bbclass: Locate the scm base path via BBPATH.
Currently, if the first item in BBFILES isn't in the main OE repository,
the build fails entirely due to a ValueError. This isn't optimal. Rather
than searching through BBFILES to find it, which could be slow when
BBFILES contains thousands of files, let's just find base.bbclass and use
that repository.
Also, use better methods to find the git revision and branch, and identify
the scm based on the existance of .svn/.git/_MTN to avoid calling out
subprocesses unnecessarily.
Chris Larson [Thu, 19 Feb 2009 22:51:57 +0000 (15:51 -0700)]
bitbake.conf: rework FILESPATH generation.
Rework FILESPATH generation to be done in bitbake.conf, avoiding the
confusion about it being in multiple places. Adds FILESPATHBASE and
FILESPATHPKG which can be manipulated rather than manipulating FILESPATH
directly.
One usage possibility:
FILESPATHBASE =. "${TOPDIR}/files:"
Which would let me provide a custom busybox config for this build by
copying the defconfig from the openembedded metadata into my
build/files/busybox-1.0/ directory, for example.
Khem Raj [Fri, 20 Mar 2009 18:51:17 +0000 (11:51 -0700)]
binutils_cvs: Various fixes to get it building.
* Port patched needed from binutils 2.19.
* Refresh the old patches.
* Cover for bitbake fetcher lameness where it
checks out the while src tree when we only
asked for binutils module. So we have to build
selective targets.
Richard Purdie [Mon, 18 Aug 2008 08:01:41 +0000 (08:01 +0000)]
package_rpm.bbclass: added from Poky
Squashed changes from Poky:
svn r5067 - package_rpm.bbclass: Update against recent packaging changes
and start to implement dependency handling.
svn r5100 - package_rpm.bbclass: Fix empty package handling, handle
package dependency renaming by adding a missing function
call and expand RPMBUILD before changing the dictonary so
local PV/PR changes don't break the WORKDIR variable
expansion
svn r5111 - package_rpm.bbclass: Stop autogenerated dependencies for
now, its not functioning correctly
svn r5116 - package_rpm.bbclass: files needs to start from /
svn r5129 - package_rpm.bbclass: Fix problems with package version with
'-' in the version (replace with '+'), improve the Requires
and Recommends generation code
svn r5131 - package_rpm.bbclass: Add support for postinst and preinst scripts
svn r5381 - classes: Split rpm feeds by PACKAGE_ARCH
svn r5390 - package_rpm.bbclass: Improve handling of '-' characters in Requires
and Recommends fields
svn r5393 - package_rpm.bbclass: Fix package version fixing for PKG renamed packages
svn r5397 - package_rpm.bbclass: Fix dependency rebuilding bug
svn r5413 - package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for
packaging
package_rpm.bbclass: Don't use the system wide RPM macros.
This fixes the build on Fedora 10 where the RPM system macros obliterate
the value of BuildRoot that is set in the spec file.
package_rpm.bbclass: fix indentation package_rpm.bbclass: fix syntax errors
package_rpm.bbclass: save RPROVIDES in packages
Richard Purdie [Mon, 25 Aug 2008 20:53:13 +0000 (20:53 +0000)]
rootfs_rpm.bbclass: added from Poky
Squashed changes from Poky:
svn r5101 - Add rootfs_rpm.bbclass, a start at image generation from rpms. Its
not expected to be entirely functional yet.
svn r5112 - rootfs_rpm.bbclass: Remove the feed directory before packaging the image
svn r5134 - rootfs_rpm.bbclass: Add basic postinstall handling during image creation
svn r5143 - rootfs_rpm.bbclass: Fixup broken symlinks due to fakechroot and run
any leftover postinstalls on real hardware at first boot
svn r5158 - rootfs_rpm.bbclass: Add recommends handling
svn r5380 - rootfs_rpm.bbclass: ship rpm and yum in target images
svn r5382 - rootfs_rpm.bbclass: Add rpm package coverage
svn r5386 - rootfs_rpm.bbclass: use more efficient way to copy packages
svn r5391 - rootfs_rpm: set target architecture and do not tell yum which arch we will use
svn r5398 - rootfs_rpm.bbclass: Set YUM_ARCH_FORCE
svn r5412 - rootfs_rpm.bbclass: remove lock files to get rpm working on device
svn r5432 - rootfs_rpm.bbclass: fix platform so rpm will be usable on device
svn r5433 - rootfs_rpm.bbclass: remove temporary yum config - rootfs has one
from yum package
svn r5434 - rootfs_rpm.bbclass: added generation of feed entries
svn r5436 - rootfs_rpm.bbclass: added code to generate images from feeds
OE changes:
rootfs_rpm.bbclass: remove two functions (need rewrite for RPM)
install_all_locales and remove_packaging_data_files functions were from
rootfs_ipk.bbclass and need to be rewritten for RPM rootfs.
rootfs_rpm.bbclass: use DISTRO instead of hardcoded Poky - spotted by Tom Rini
rootfs_rpm.bbclass: drop not needed disabled code
rpm/rpm-native: Add recipe for 4.4.2.3 (from Poky)
Squashed set of changes from Poky:
svn r5069 - rpm/rpm-native: Add recipe for 4.4.2.3
svn r5085 - rpm: Patch out some Makefile strangeness causing build failures
svn r5093 - rpm: Enable python extensions and improve cross compiling patches
svn r5103 - rpm: Tweak patches to remove popt problem
svn r5113 - rpm: Add recommends support from suse rpm patches
svn r5132 - rpm-native: Set varprefix to get the rpm database in a sane location
svn r5152 - rpm: Handle PYTHONVER differently in EXTRA_OECONF to stop gettext/uclibc failures during parsing
svn r5154 - rpm: Add missing patches
svn r5423 - rpm: Add python module packaging
OE changes:
rpm-native: add Python 2.6 support
rpm: use distutils-base to get Python version
rpm: use sed instead of ed - it is present in our metadata
rpm: set ARM_INSTRUCTION_SET as it fails to build for thumb
| /tmp/ccYO91se.s: Assembler messages:
| /tmp/ccYO91se.s:71: Error: selected processor does not support `swpb r2,r3,[r4]'
| /tmp/ccYO91se.s:72: Error: unshifted register required -- `eor r2,r2,#1'
sane-toolchain.inc: move non-weak assignments for CACHE and DEPLOY_DIR to minimal.conf; make them weak
You can override DEPLOY_DIR now in your local.conf.