summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
AgeCommit message (Collapse)AuthorFiles
2006-09-17base.bbclass: attempt to fix the case where do_install wants to run from ↵Koen Kooi1
inside ${D}
2006-09-17base.bbclass: add ${D} to do_install[dirs] to fix some issues introduced by ↵Koen Kooi1
the task reordering
2006-09-15Restructure the subpackage metadata to facilitate use of that metadata by ↵Chris Larson1
other packages.
2006-09-12base.bbclass(oe_libinstall): Handle shared libs basenames of which werePaul Sokolovsky1
suffixed with version properly. * Sometimes soname of a shlib is overriden to contain extra version. If it's build by libtool, .la still has basename w/o suffix. This fix recognizes such case, and handles shlib installation properly (via libtool). * Example of this is smpeg_0.4.4+0.4.5cvs20040311 which builds libsmpeg-0.4, while still being linked as -lsmpeg. Fixes #1389.
2006-09-05Add 'rebuild' task to base.bbclass, as it's quite useful and simple to add.Chris Larson1
2006-08-28Merge from poky:Chris Larson1
Rework the way patches are handled. There are now two abstract base classes, initialized in patch.bbclass. One for patchset operations on a directory, and another for patch failure resolution. Currently includes 'patch' and 'quilt' concrete PatchSet classes, and a 'user' resolver class, which simply drops you into a shell in the source tree to fix the rejects.
2006-08-27base.bbclass: Add base_contains and base_both_containg - useful functions ↵Richard Purdie1
for the new task-machine code (from poky)
2006-08-26base.bbclass: Change FILESPATH handling to allow it to be appended/prepended ↵Richard Purdie1
to. Should be backwards compatible.
2006-08-25classes: run do_package before do_stage so we can populate staging with ↵Koen Kooi1
package if we want
2006-08-23base.bbclass: Remove empty messagesRichard Purdie1
2006-08-22base.bbclass: remove nostamp for fetchKoen Kooi1
* this will force a full rebuild, so have some coffee + cookies ready
2006-08-20classes: Add task dependencies expressions, as required for the new ↵Richard Purdie1
multithreading version of bitbake. Also, set BB_DEFAULT_TASK to specify the default task (build) rather than hardcode into bitbake.
2006-08-05classes/base.bbclass: Make find call portableHolger Freyther1
Make the find invocation portable (BSD) by specifying '.' as the to be searched directory. The error on libtool-native was: find: illegal option -- n find: illegal option -- a find: illegal option -- m find: illegal option -- e
2006-07-28base.bbclass: bugfix in oe_unpack_fileChris Larson1
* Fix an issue with file:// urls in SRC_URI which reside in WORKDIR. With this issue fixed, patches within tarballs can be successfully applied to ${S}.
2006-07-22classes/base.bbclass: adapt to monotone 0.27Koen Kooi1
2006-06-12base.bbclass: added gnutls mirrorsMarcin Juszkiewicz1
2006-05-31base.bbclass: Fix COMPATIBLE_MACHINE to cope when MACHINE isn't setRichard Purdie1
2006-05-27openembedded/classes/base.bbclass: Add CTAN mirrorHolger Freyther1
Add CTAN mirror. A German/Berlin, Japan and an Australian one.
2006-05-27base.bbclass: Move manifest code into manifest.bbclass and fix a bug in it ↵Richard Purdie1
(import bb.manifest)
2006-05-24classes/base.bbclass: Add GnuPG mirrorHolger Freyther1
Add two european and one north american mirror for gnupg.
2006-05-21base.bbclass: fix all patches being classified as "outdated" when SRCDATE > DATEMichael Lauer1
2006-05-20base.bbclass: add support for 'min/max' date for patchesMarcin Juszkiewicz1
- SRC_URI = "file//something.patch;patch=1;mindate=20050312;maxdate=20060302 means that patch should be applied if SRCDATE > 20050312 and SRCDATE < 20060302
2006-05-09base.bbclass: remove bogus debug out. thanks koen for spotting.Michael Lauer1
2006-05-09base.bbclass: fix showing MT revision by using rindex instead of index to ↵Michael Lauer1
get the position of the MT directory
2006-05-08base.bbclass: add DISTRO_VERSION to the summaryKoen Kooi1
* it isn't a mandatory var, but very usefull for debugging user problems
2006-05-04base.bbclass: fix .la file fixup rule in oe_libinstallPhilipp Zabel1
- attach 'g' to the s/${WORKDIR}/${STAGING_LIBDIR}/ sed rule to fix up multiple references to yet unstaged .la files
2006-04-24base.bbclass: Add COMPATIBLE_MACHINE to list machines any given package/file isRichard Purdie1
compatible with. Update documentation.conf accordingly.
2006-04-16base class: make base_read_file not raise an exception if the file to read ↵Michael Lauer1
is not present This is necessary due to the new RDEPENDS handling. I don't feel 100% comfortable with it, but until we rework the complete staging-shouldn't-contain-dependency-information, this is our way.
2006-04-04base.bbclass: make oe_libinstall fix references to .la files in Philipp Zabel1
2006-02-28base.bbclass: Handle crlf with DOS ZIP file, courtesy Raymond DanksKoen Kooi1
2006-01-07Convert CVSDATE -> SRCDATE. Also standardise cvs and svn PVs to ↵Richard Purdie1
x.x.x+cvsYYYYMMDD format and some includes some minor whitespace cleanup.
2005-12-26autotools.bbclass, base.bbclass: modify autotools_stage_all to use ↵Philipp Zabel1
oe_libinstall and install aclocal macros, too
2005-11-23base.bbclass: attempt to fix the staging .la problemJohn Bowler1
- when using oe_libinstall to install a libtool library (.la file - present) into the staging directory (${STAGING_LIBDIR}) fix up the - installed .lai file so that it contains 'installed=no' - this - prevents libtool from subsequently using a copy of the build system - library if it exists in the final (target) installation directory - on the build machine (typically /usr/lib). Remove the patches from - pcre_4.4.bb to match (it now seems to work without them), add - cherokee to the openslug (etc) build (it was failing because of this - problem.)
2005-09-19GNU cp has a nice -a switch, sadly the BSD tools lack itHolger Freyther1
update our descriptions to work with any version of cp. Patches that include cp -a are not changed. They seem to work and I'm too scared busybox cp is more like GNU cp than BSD cp. (e.g do not know about P)
2005-09-05classes/base: show BitBake version and Monotone Revision (if working on a ↵Michael Lauer1
valid MT repository) in OE Build Configuration
2005-07-21classes/base.bbclass:Holger Freyther1
Change oe_libinstall (watch carefully): If the user requires the installation of a static library and it does not exist we want the user to notice and fail. I assume this was then intended purpose for the requirestatic variable. The matter for the dotlai (.lai) is a bit different. The system automatically detects the .la file and assumes it is libtool generated and wants to install the .lai file even if it does not exist. I think this is wrong and I change it to do the following: If it decides it has libtool it installs the .lai if it is present. (change the -o to -a) At least Qt Version 3 has a .la but no .lai in its library directory and oe_libinstall fails to install.
2005-07-17base.bbclass:Holger Freyther1
Make it compatible with FreeBSD Replace --no-derefence with -P according to the GNU cp manpage this option is the same as --no-derenfe and FreeBSD knows -P as well
2005-05-20Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/05/20 21:49:48+02:00 handhelds.org!zecke opie-lockapplet/opie-security: lock.png is installed by both opie-lockapplet and opie-security. As opie-lockapplet depends on opie-security we will leave it to opie-security to install lock.png 2005/05/20 21:41:54+02:00 handhelds.org!zecke classes/base.bbclass: Call the fetcher methods with a data-instance instead of None BKrev: 428e4b0fK4bxvnkYhyIyuoE_4wi3Gw
2005-05-17Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/05/17 20:39:04+02:00 uni-frankfurt.de!mickeyl add python-pygtk2 to task-python-everything 2005/05/17 20:32:02+02:00 uni-frankfurt.de!mickeyl apply zecke's patches to prepare for the low memory bitbake. the repository needs bitbake r159 or better now BKrev: 428a3a77SoUtXtfto7tXtwiSdrA1ew
2005-05-05Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/05/05 15:39:30+02:00 uni-frankfurt.de!mickeyl fix oesources mirror entry. spotted by Nick Haflinger BKrev: 427a3045Wm9Tmb-X85GBp5HPmFI_4w
2005-05-02Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/05/02 11:54:14-07:00 (none)!ggilbert base.bbclass: Moving MIRROR to oesources.org local.conf.sample: Moving CVS_TARBALL_STASH to oesources.org BKrev: 42768214CJNcNmVazhNdoM8kjvuLgw
2005-04-04classes/base.bbclass: change -P to --no-dereferenceHolger Schurig1
BKrev: 42511434NzFFVX5XAaDTUTftcu6f2Q
2005-03-30Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/30 21:54:30+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into gandalf.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/03/30 21:54:07+02:00 uni-frankfurt.de!mickeyl fix missing dependency to kernel-image-<ver> by ALLOW_EMPTY=1 for Zaurus kernels 2005/03/30 20:52:02+01:00 (none)!cwiiis Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into cwiiisdesktop.(none):/home/cwiiis/Dev/oe/openembedded 2005/03/30 20:47:32+01:00 rpsys.net!RP base.bbclass: spliting on the last "." breaks for patch series' with similar filesnames (eg: 2.6.12-patch1, 2.6.12-patch2) 2005/03/30 20:21:34+01:00 (none)!cwiiis Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into cwiiisdesktop.(none):/home/cwiiis/Dev/oe/openembedded 2005/03/30 20:20:49+01:00 (none)!cwiiis Correct SRC_URI for matchbox-panel-manager BKrev: 424b0ef9_dORxDSjGZ1WQExBCPmvmQ
2005-03-26Merge nslu2-linux@nslu2-linux.bkbits.net:openembeddedg2@giantshoulder.com1
into giantshoulder.com:/home/tom/dev/openslug/openembedded 2005/03/26 17:01:49+01:00 nslu2-linux.org!perlguru openslug-packages.bb: Added CVS 2005/03/26 06:41:32-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/26 15:07:57+01:00 vanille.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into allanon.vanille.de:/home/mickey/openembedded 2005/03/26 15:05:31+01:00 vanille.de!mickeyl This ChangeSet introduces .inc files for everything Opie related Fixed and floating versions only differ in PV and SRC_URI, so that's what gets overridden in the actual .bbfiles. Please watch out for breakage and catch up if I missed files. Unfortunately, for now I had to yank the few individually versioned Opie programs. We will bring individual versions for many (if not all) programs back eventually. 2005/03/26 14:14:13+01:00 mauricekoster.com!maurice openslug-packages.bb: Added rsync 2005/03/26 04:41:37-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/26 13:06:25+01:00 utwente.nl!koen Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/03/26 13:06:05+01:00 utwente.nl!koen libgphoto2_2.1.5.bb: fix deps 2005/03/26 03:41:28-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/26 12:07:48+01:00 uni-frankfurt.de!mickeyl opie-1.2.0 uses qcop 1.0.1 2005/03/26 12:06:49+01:00 utwente.nl!koen Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/03/26 12:03:13+01:00 utwente.nl!koen libgphoto2_2.1.5.bb, gphoto2_2.1.5.bb: add latest and greatest gphoto2, features improved ptp2 support 2005/03/26 12:02:29+01:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into gandalf.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/03/26 12:00:56+01:00 uni-frankfurt.de!mickeyl opie-taskbar-1.2.0: catch up with cvs version 2005/03/26 11:51:00+01:00 uni-frankfurt.de!mickeyl use opie 1.2.0 in familiar 0.8.2 2005/03/26 11:44:24+01:00 uni-frankfurt.de!mickeyl libqpe-opie-1.2.0: catch up with cvs version 2005/03/25 20:41:33-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/25 23:09:00-05:00 handhelds.org!kergoth Merge oe-devel@oe-devel.bkbits.net:openembedded into handhelds.org:/home/kergoth/code/openembedded 2005/03/25 23:08:40-05:00 handhelds.org!kergoth Add linux-libc-headers 2.6.11.1. 2005/03/25 16:44:54-08:00 kalmiopsis!jbowler ssh does not allow login as a user unless that user has a password. Unmodified NSLU2 boxes running OpenSlug only allow login via dropbear (ssh), therefore a password is required for root (the only user in the initial setup.) This changed version of the root-home.patch adds a password, the password is documented in the README file. 2005/03/25 15:41:35-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/26 00:02:41+01:00 vanille.de!mickeyl oz.conf: last updates - approaching 3.5.3 2005/03/25 07:41:37-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/25 16:05:02+01:00 uni-frankfurt.de!mickeyl switch oz-3.5.3 to release mode and update 2005/03/25 04:41:32-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/25 13:29:29+01:00 uni-frankfurt.de!mickeyl add generic distro configuration and x86 machine configuration 2005/03/25 00:35:27-10:00 (none)!dyoung change DISTRO_TYPE from = to ?= construct to simplify future testing. 2005/03/24 23:55:09-10:00 (none)!dyoung Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded into builder.(none):/home/dereky/bbroot/openembedded 2005/03/24 23:54:07-10:00 (none)!dereky openslug-image.bb: change base-passwd to version 3.5.9 2005/03/25 01:41:35-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/25 10:37:35+01:00 utwente.nl!koen Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/03/25 10:37:05+01:00 utwente.nl!koen x11_cvs.bb: fix is upstream now, threads.patch is obsolete now 2005/03/24 17:41:35-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/24 20:29:38-05:00 handhelds.org!kergoth Add unionfs version 1.0.11. 2005/03/25 09:16:21+10:30 (none)!rwhitby Fixed the nsswitch.conf for Unslung 2005/03/25 07:38:46+10:30 (none)!rwhitby Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded into home.(none):/home/bitbake/openembedded 2005/03/25 07:38:18+10:30 (none)!rwhitby Added /etc/nsswitch.conf to Unslung rootfs 2005/03/24 12:41:31-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/24 21:04:24+01:00 zeckescompany.nl!alwin Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into zeckescompany.nl:/home/ral/progs/Zaurus/oe/openembedded 2005/03/24 21:04:07+01:00 zeckescompany.nl!alwin fixed typo in base-files/c7x0/fstab 2005/03/24 10:41:32-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/24 19:07:47+01:00 utwente.nl!koen x11_cvs.bb: add threads.patch 2005/03/24 02:41:28-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/24 11:12:07+01:00 uni-frankfurt.de!mickeyl base.bbclass: add function base_conditional that serves as an equivalent of the '?' operator in C. this is very handy to simplify some constructs in our .bb files, i.e. appending things based on if a variable has a certain value or not. Example Use: SRC_URI_append = '{base_conditional(DISTRO_TYPE,debug,file://allow-root-pw.patch,'',d)}' 2005/03/24 11:01:31+01:00 uni-frankfurt.de!mickeyl bump timezones to 1.2.0 2005/03/24 01:41:28-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/24 10:17:49+01:00 handhelds.org!CoreDump Just a test, no changes 2005/03/23 17:41:24-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/24 01:59:38+01:00 handhelds.org!zecke Libopie2 Visibility changes: -There is no difference between 1.2.0 and cvs in regards to visibility -Quote the string inside the message -Remove include-cvs.pro as it is not needed anymore 2005/03/23 16:41:34-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/24 00:45:36+01:00 handhelds.org!zecke Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/ich/programming/oe/opie_move 2005/03/24 00:44:26+01:00 handhelds.org!zecke Opie 1.1.9 -> 1.2.0: -increment PV on the _cvs.bb files -remove PR from the .bb files 2005/03/23 15:41:25-08:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/24 00:37:00+01:00 handhelds.org!zecke Opie 1.1.9 -> 1.2.0: Update courtsey python and kergoths super cow power über sed skills -mv 1.1.9.bb to 1.2.0.bb -remove PR fromm 1.2.0.bb and _cvs.bb -bump PV in the _cvs.bb 2005/03/24 00:31:44+01:00 zeckescompany.nl!alwin corrected corgikeymap BKrev: 42459626c9gSuz7RwCyChCjKFbynfA
2005-02-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson1
into odin.sc.ti.com:/home/kergoth/code/user/oe/openembedded 2005/02/09 17:41:25-06:00 ti.com!kergoth - At the beginning of a build, display an 'OE Build Configuration', showing some important variables and their values, to make it easy to spot an incorrect setup. - Change the default TARGET_ARCH and TARGET_OS to no longer be the BUILD versions. It used to make sense, given the primary configuration file resided in the core. Now that its in our metadata, we can change that, and also make the build abort with an obvious error if either are not set. BKrev: 420a9fc1QNq7YE9IOvWAuHnCbfBZuw
2005-01-27Add handling of USE_NLS_packagename, done the same way as CVSDATE.Chris Larson1
BKrev: 41f96620LvvAATva0D1dW9Br_EB-mg
2005-01-27turn off SRC_URI-based PACKAGE_ARCH mangling if requestedPhil Blundell1
BKrev: 41f93d4bA7UVxRqWKvjaoryoPbopfQ
2005-01-20Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/20 12:47:46+01:00 mn-solutions.de!schurig Allow patches to have names, otherwise you couldn't install patch-2.6.11-rc1 and patch-2.6.11-rc1-bk7, because the auto-name-feature would set 'patch-2.6' as name for both. BKrev: 41efa6b7InwrkprDOdRS1P2ji_O2gw
2005-01-20Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/20 02:26:21-05:00 handhelds.org!kergoth Fix base_do_patch when applying patches with no extension in the filename. BKrev: 41ef605976xbq6OfMXpNpf0rLQcAhA
2005-01-20Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/20 01:02:45-05:00 handhelds.org!kergoth uclibc_cvs: include librt in the uclibc package. 2005/01/20 00:13:06-05:00 handhelds.org!kergoth Now that packaging is one coherent whole, there's no reason to keep the 'build' task flagged as nostamp. Removing that will make bitbake skip packages that you've already built quite a bit faster than it does today. BKrev: 41ef5248d9nHZI7DoQf5eHhkD3XiOQ