summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-04-30 14:16:16 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-04-30 14:16:16 +0000
commita4797daf339a39e77b8ffbd7f7763f616788b371 (patch)
tree88648e38cfb2a331c6df1bc7327244d941f2ba9b /classes
parent5b6c9f0be8ea89e1bf8ea165f1cbc1c7afd1de94 (diff)
parent96e3a536135dd744798bfdedb095472cc2f10515 (diff)
merge of '548157e6cd17d49950d2b216414b1570f06705db'
and 'c543d0117473a500f955b26db8d404474a1506af'
Diffstat (limited to 'classes')
-rw-r--r--classes/cpan.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index 00709f7e18..687dbcd1cb 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -41,9 +41,18 @@ def perl_get_libdirs(d):
libdirs = libdir + '/*/*/perl5'
return libdirs
+def is_target(d):
+ import bb
+ if not bb.data.inherits_class('native', d):
+ return "yes"
+ return "no"
+
IS_NEW_PERL = "${@is_new_perl(d)}"
PERLLIBDIRS = "${@perl_get_libdirs(d)}"
+# Env var which tells perl if it should use host (no) or target (yes) settings
+export PERLCONFIGTARGET = "${@is_target(d)}"
+
cpan_do_configure () {
perl Makefile.PL ${EXTRA_CPANFLAGS}
if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
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-03upgrade PV for opie_cvs packagesMichael Lauer1 BKrev: 42022a37vRUPjWB_dcfXY1LBxEnxDg 2004-12-27Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1 into bkbits.net:/repos/n/nslu2-linux/openembedded 2004/12/27 14:28:28+01:00 dyndns.org!reenoo Merge oe-devel@oe-devel.bkbits.net:openembedded into sugarcube.dyndns.org:/home2/oe/bakery/openembedded 2004/12/27 14:28:11+01:00 dyndns.org!reenoo vlc-gpe: fix FILES. package .desktop file. 2004/12/27 14:00:41+01:00 uni-frankfurt.de!mickeyl opie cvs stuff is now 1.1.8+cvs- 2004/12/27 13:53:14+01:00 uni-frankfurt.de!mickeyl openzaurus 3.5.3 uses opie 1.1.8 and qte 2.3.9 BKrev: 41d010dc7G8fBE-Qnk0n_kXXQwxqPw 2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson1 into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA