Commit Graph

76 Commits

Author SHA1 Message Date
Richard Purdie
a566074ef3 bitbake.conf: Split STAGING and CROSS to become target specific so armv5 binaries don't mix with armv6 or v7, likewise with the cross compilers themselves. Also move pkgdata our of staging since it follows a totally different directory structure to staging. These changes break ABI so change the ABI number
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4893 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-19 11:59:42 +00:00
Richard Purdie
767d9ca544 Merge multimachine class into bitbake.conf and create singlemachine.bbclass as a backwards compatibility option
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4858 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-17 20:49:48 +00:00
Richard Purdie
9e6cfe2225 base.bbclass: Disable do_mrproper - it doesn't do anything sane/useful
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4563 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-29 09:28:36 +00:00
Richard Purdie
7564d63ba5 base.bbclass: Add sanity check for multiple file matches to oe_libinstall from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4460 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-12 14:10:06 +00:00
Ross Burton
8076a7b88a base.bbclass: don't add shasum-native dependency if we are building shasum-native
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4444 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06 15:43:12 +00:00
Ross Burton
06fd2b6aaf base.bbclass: only depend on shasum-native if we don't have hashlib
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 11:42:24 +00:00
Ross Burton
9fb8bc41bf When checksuming tarballs use bb.utils.*_sum instead of calling commands directly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4387 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 11:00:27 +00:00
Richard Purdie
e1fcc01376 base.bbclass: Remove unneeded imports
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4356 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 20:41:01 +00:00
Richard Purdie
d10b26644b base.bbclass: Add checkuri/checkuriall tasks to check validity of upstream source URLs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4353 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 11:28:34 +00:00
Richard Purdie
192e4fb821 base.bbclass: Add setscene task to handle preparing the work area at the start of a given task, fixing the handling of the rebuild task. This task removes the need for do_prepackaged_stage in packaged-staging.bbclass.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4351 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 10:48:16 +00:00
Richard Purdie
54b240ec36 base.bbclass: Prefer gcc 3.4.6/7 over 3.4
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4341 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-25 15:32:45 +00:00
Richard Purdie
a06b6cb530 base.bbclass: Fix dependency_libs libtool mangling regexp
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4306 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-22 12:48:30 +00:00
Richard Purdie
51fc436f35 base.bbclass: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4064 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 16:07:25 +00:00
Richard Purdie
570f12e972 base.bbclass: Let unpack task remove S beforehand which fixes clean handling. Optimise some expand and getVar calls
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3982 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-10 15:43:39 +00:00
Richard Purdie
1a59c52aec base.bbclass: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3894 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-03 22:58:30 +00:00
Marcin Juszkiewicz
e7a2337c03 base.bbclass: align build configuration dump properly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3823 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-17 10:29:11 +00:00
Richard Purdie
094234f792 base.bbclass: Drop _FUNCTION suffix to METADATA_REVISION
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3819 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-15 15:31:07 +00:00
Richard Purdie
35d364f964 base.bbclass: Show svn revision of poky being used
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3818 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-15 15:23:45 +00:00
Richard Purdie
d34b2f60a1 base.bbclass: Make sure PATH searched for applications is expanded
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3413 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-06 18:58:11 +00:00
Marcin Juszkiewicz
66ff85a048 base and sanity bbclasses + qemu: move gcc3 availability checking into base.bbclass
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3402 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-03 14:07:44 +00:00
Richard Purdie
9eee32bf93 base.bbclass: Fix populate_staging whitespace
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3272 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-30 08:18:09 +00:00
Richard Purdie
4743a3fbed base.bbclass: Fix PKGDATA to work properly with multimachine
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3238 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-25 23:47:36 +00:00
Richard Purdie
7be7ded669 base.bbclass: Add buildall task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3230 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-25 14:07:17 +00:00
Richard Purdie
7c189eeb98 base.bbclass: Fix regexp
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3149 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-14 09:12:10 +00:00
Richard Purdie
320be50c50 base.bbclass: Improve .la file conversion from installed=yes to installed=no
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3140 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-13 17:17:37 +00:00
Richard Purdie
454311f20f base.bbclass: Fix hardcoded staging references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3030 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 21:38:28 +00:00
Richard Purdie
82e5d0de4d base.bbclass: Add note from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3018 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 15:20:25 +00:00
Richard Purdie
c107af790f base.bbclass: Clean up staging references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3017 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 15:16:19 +00:00
Marcin Juszkiewicz
734f511ddb base.bbclass: add checksums.ini generator
If file is fetched via HTTP or FTP and we do not have its checksum in
metadata (conf/checksums.ini) then we generate checksums into
TMPDIR/checksums.ini file. Content of that file can be then added into
metadata one.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2898 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-17 09:54:00 +00:00
Marcin Juszkiewicz
15080afba3 base.bbclass: merge checksums.ini warning from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2890 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-16 14:57:43 +00:00
Richard Purdie
451ef8b574 base.bbclass: Swicth to use cleandirs flag for install task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2694 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 08:41:10 +00:00
Ross Burton
6fa51c276d base.bbclass: Remove and re-create when installing to ensure that it is empty
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2680 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-03 13:05:32 +00:00
Richard Purdie
411cd0c6ae base.bbclass: Further tweaks from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2629 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01 15:06:04 +00:00
Richard Purdie
19e113c67f base.bbclass: Remove legacy code which hides bugs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2628 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01 14:53:48 +00:00
Richard Purdie
1bc8eee458 base.bbclass: Remove showdata task (its broken and bitbake -e is equivalent and not broken), tweak URI checksum messages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2627 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01 14:49:03 +00:00
Richard Purdie
2ed6d9cf28 base.bbclass: Make populate_staging run after install to avoid conflicts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2534 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21 15:22:06 +00:00
Richard Purdie
4a705e9b1a base.bbclass: populate_staging after do_compile. Any packages staging implementation can change this
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2529 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21 11:33:08 +00:00
Richard Purdie
f041a4d9ab base.bbclass: Set pkgdata location to something machine specific when needed so multimachine builds don't break.
NOTE: People will have to rerun the install/package tasks after this change on existing builds

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2527 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21 10:40:55 +00:00
Richard Purdie
fc136f0b4c base.bbclass: Improve performance with SRC_URI_OVERRIDES_PACKAGE_ARCH enabled (14% parsing speedup)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2483 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-12 11:36:37 +00:00
Richard Purdie
c9c5d36d35 base.bbclass: Fix SRC_URI_OVERRIDES_PACKAGE_ARCH handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2482 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-11 22:46:16 +00:00
Richard Purdie
9c900768c4 base.bbclass: Sync with OE.dev (mainly download checksumming code)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2411 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08 21:04:28 +00:00
Richard Purdie
029c2a1575 base.bbclass: Correct git-native autodependencies
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2351 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-03 14:42:18 +00:00
Richard Purdie
4c75040fc6 base.bbclass: Auto add dependency on git-native when needed
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2349 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-03 14:28:42 +00:00
Richard Purdie
41228de5fb base.bbclass: Fix base_get_srcrev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2278 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01 13:13:59 +00:00
Richard Purdie
09e3f98f7e base.bbclass: Minor performance tweak, add base_get_srcrev()
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2249 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01 11:24:50 +00:00
Richard Purdie
8b1fff0aa4 base.bbclass: Revert quoting changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2129 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-07 08:33:13 +00:00
Richard Purdie
91bbcd4ffa base.bbclass: Start to fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2126 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-06 12:45:26 +00:00
Richard Purdie
409335beae classes: Rework core dependencies to work properly at the task level
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 11:31:02 +00:00
Richard Purdie
1d48528c36 base.bbclass: unexport DISTRO to prevent application compile failures
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1380 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-21 16:30:33 +00:00
Richard Purdie
f5b38f9db0 Remove DISTRO_TYPE, replacing with IMAGE_FEATURES. Documentation is in local.conf.sample
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1053 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-20 00:00:03 +00:00