Commit Graph

272 Commits

Author SHA1 Message Date
Marcin Juszkiewicz
2aba13054a cpan-base.bbclass: Update the perl depenedencies: (from OE)
* For native modules DEPEND on perl-native and for others DEPEND on perl
  (which in turn depends on perl-native) rather then always depending on
  both perl and perl-native.
* Only RDEPEND for non-native modules rather then both native and non-native.

These changes are to allow you to build native modules without have to build
perl. Previously the dependencies would result in perl being built even
though it didn't actually need to. Thanks to hrw for pointing out what was
happening here.

Revision: 399705dfa7f6a6fd87366a6c0b1058354a5d4312
Ancestor: 5f43096a239a7ac66c7046feb414e8279db8f4bc
Author: lenehan@openembedded.org
Date: 2007-05-30T22:10:32
Branch: org.openembedded.dev

Modified files:
        classes/cpan-base.bbclass



git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3280 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-30 14:04:04 +00:00
Richard Purdie
1cab3f240e siteinfo.bbclass: Add darwin entry
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3275 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-30 08:53:23 +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
Marcin Juszkiewicz
d862b5758c package_{ipk|deb|tar|rpm): append depend-tasks instead of overwriting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3265 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-28 20:01:41 +00:00
Richard Purdie
3526acda1a package.bbclass: Remove debug code
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3245 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-27 15:09:56 +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
aa10825598 package_ipk.bbclass: Make sure packages which alter PACKAGE_ARCH end up in the correct 'feed'
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3234 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-25 19:35:19 +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
48c7f7fc85 package.bbclass: Remove PKGMAPS functionality and supersede with pkgdata. Remove duplicate unneeded PACKAGES checks.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3225 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24 23:06:56 +00:00
Richard Purdie
1d01a5ef00 package_{ipk|deb}.bbclass: Remove hardcoded install path reference
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3224 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24 23:05:05 +00:00
Richard Purdie
c065977948 classes: Use internal bitbake functions and fix packaging unlocking on error paths
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3222 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24 14:55:57 +00:00
Richard Purdie
b4e9ef8979 image.bbclass: Add ldconfig-native dependency, run ldconfig at image generation time
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3218 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-23 17:05:35 +00:00
Richard Purdie
8ec24bc6ec cross.bbclass: Explicitly set the compiler in the same way as native.bbclass, otherwise TOOLCHAIN_OPTIONS can interfer
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3212 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-23 10:07:56 +00:00
Ross Burton
5477906ca1 insane.bbclass: use bb.error when reporting desktop file problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3152 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-14 09:48:17 +00:00
Ross Burton
ab2a04d843 insane.bbclass: validate desktop files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3151 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-14 09:36:55 +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
54b470e727 sdk.bbclass: Set directory structure correctly after staging layout changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3130 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 16:30:17 +00:00
Richard Purdie
7fc5d6eeea pkgconfig: Switch to using sysroot simplifying pkgconfig files. Requires a full rebuild.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3125 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:30:16 +00:00
Richard Purdie
01d5da72d0 Rearrange staging to match target system layout. This is a major change and will require a full rebuild.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3123 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:25:30 +00:00
Richard Purdie
4285b621bf pkgconfig.bbclass: Fix hardcoded staging layout references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3121 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:19:54 +00:00
Richard Purdie
98bd2b0d60 rootfs_deb.bbclass: Make sure alternatives path exists
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3119 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:12:31 +00:00
Richard Purdie
19c7b21fbc package_deb.bbclass: Fix hardcoded apt.conf path, add depends on run-postinsts package for deb images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3118 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:11:48 +00:00
Richard Purdie
b17670211a Remove hardcoded staging layout assumptions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3117 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:10:08 +00:00
Richard Purdie
7ca6e91d29 rootfs_deb: Fix hardcoded etc references, add missing mkdir
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3074 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-05 22:35:55 +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
Richard Purdie
3255b1d2c9 autotools.bbclass: Reference STAGING_DATADIR
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3016 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 15:09:46 +00:00
Marcin Juszkiewicz
8cd7a0e4f4 sdk.bbclass: package more debug files (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2975 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-25 15:06:21 +00:00
Marcin Juszkiewicz
9e33229a9c openmoko2.bbclass: sync SVNREV with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2974 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-25 14:54:29 +00:00
Richard Purdie
6e23136cc7 package.bbclass: Make populate_packages copy files, not move them during do_package
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2950 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-23 21:57:31 +00:00
Marcin Juszkiewicz
62c6e3ef89 siteinfo.bbclass: add mips support from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2911 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-19 10:31:21 +00:00
Marcin Juszkiewicz
c67429e4a1 insane.bbclass: fix x86_64 arch name (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2910 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-19 10:29:34 +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
03abf8e9c6 bootimg.bbclass: Fix taskname reference
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2867 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-11 21:46:11 +00:00
Richard Purdie
62b67b04d4 package.bbclass: Remove depchains packaged() check. This broke after pkgdata was split for multimachine issues and I'm not sure we need/want it anyway, we're only dealing with Recommends, not Depends
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2824 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-02 14:19:54 +00:00
Richard Purdie
f2287f417a package_deb.bbclass: Create DPKG_ARCH to allow mapping between debian archs and Poky ones
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2817 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-27 20:26:26 +00:00
Richard Purdie
82bdad4c78 package.bbclass: Append to do_package[deptask], cleanup up PACKAGES checks, generate .packaged file for depchains benefit (fixing -dev and -dbg package dependencies). People should wipe do_install stamps and rebuild to fix package dependencies
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2815 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-27 11:52:15 +00:00
Richard Purdie
8af3726ad5 package_(ipk|deb).bbclass: Rename do_packages stamp to be clearer about what it does
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2814 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-27 11:48:36 +00:00
Ross Burton
b6b72006b7 gnome.bbclass: change version regexp to handle x.y versions, not just x.y.z
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2752 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-17 18:52:01 +00:00
Richard Purdie
5b5ae6bec9 kernel.bbclass: Add menuconfig task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2746 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-17 13:39:15 +00:00
Richard Purdie
51d9c76e95 devshell.bbclass: Sync with OE since this no longer works at properly without this change
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2738 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-17 08:14:16 +00:00
Richard Purdie
720b5c11fb kernel.bbclass: Add kernel-vmlinux package
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2724 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-11 12:47:17 +00:00
Richard Purdie
f0842c2336 package_ipk.bbclass: Improve directory existence check
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2702 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 21:31:49 +00:00
Richard Purdie
027fa671f4 package_ipk.bbclass: Fix ipkg-sdk.conf
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2701 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 21:23:11 +00:00
Richard Purdie
4eaac5b5de package_ipk.bbclass: Create sdk Packages files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2700 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 21:17:46 +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
Richard Purdie
763dc8a909 package_ipk.bbclass: Split ipk deploy directory by PACKAGE_ARCH (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2692 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 07:53:21 +00:00