diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-15 20:46:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-16 17:19:13 +0000 |
commit | d6663c342e61473937e6a5a7976324c7c07252c8 (patch) | |
tree | 0cbc4f09f52d019eb8f8ba9d7ba149894391dfce /meta/recipes-extended | |
parent | 88f4568fc55998266b6d60d610bf9039c26c4b51 (diff) | |
download | poky-d6663c342e61473937e6a5a7976324c7c07252c8.tar.gz |
libconvert-asn1-perl/libtimedate-perl: Convert to use allarch
Both these recipes generate architecture independent packages.
They can safely use the allarch class to ensure they really
are indepentent from the target compiler and so forth and
hence ensure sstate packages with good dependencies.
[YOCTO #1075]
(From OE-Core rev: 2856d3f6aca0c20acd40f7f8970ec8590e4889a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/perl/libconvert-asn1-perl_0.22.bb | 6 | ||||
-rw-r--r-- | meta/recipes-extended/perl/libtimedate-perl_1.20.bb | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/meta/recipes-extended/perl/libconvert-asn1-perl_0.22.bb b/meta/recipes-extended/perl/libconvert-asn1-perl_0.22.bb index 48e107c8fa..98ca8049cd 100644 --- a/meta/recipes-extended/perl/libconvert-asn1-perl_0.22.bb +++ b/meta/recipes-extended/perl/libconvert-asn1-perl_0.22.bb | |||
@@ -11,10 +11,8 @@ SRC_URI[sha256sum] = "be63d5cc715d7306e54b41d3c68c3617ca306289cff619a2ca43505e35 | |||
11 | 11 | ||
12 | S = "${WORKDIR}/Convert-ASN1-${PV}" | 12 | S = "${WORKDIR}/Convert-ASN1-${PV}" |
13 | 13 | ||
14 | inherit cpan | 14 | inherit cpan allarch |
15 | 15 | ||
16 | EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}" | 16 | EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}" |
17 | 17 | ||
18 | BBCLASSEXTEND="native" | 18 | BBCLASSEXTEND = "native" |
19 | |||
20 | PACKAGE_ARCH = "all" | ||
diff --git a/meta/recipes-extended/perl/libtimedate-perl_1.20.bb b/meta/recipes-extended/perl/libtimedate-perl_1.20.bb index c925980d37..67c583691d 100644 --- a/meta/recipes-extended/perl/libtimedate-perl_1.20.bb +++ b/meta/recipes-extended/perl/libtimedate-perl_1.20.bb | |||
@@ -10,13 +10,12 @@ SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/TimeDate-${PV}.tar. | |||
10 | 10 | ||
11 | S = "${WORKDIR}/TimeDate-${PV}" | 11 | S = "${WORKDIR}/TimeDate-${PV}" |
12 | 12 | ||
13 | inherit cpan | 13 | inherit cpan allarch |
14 | 14 | ||
15 | BBCLASSEXTEND="native" | 15 | BBCLASSEXTEND = "native" |
16 | 16 | ||
17 | RDEPENDS_${PN}_virtclass-native = "" | 17 | RDEPENDS_${PN}_virtclass-native = "" |
18 | RDEPENDS_${PN} += "perl-module-carp perl-module-exporter perl-module-strict perl-module-time-local" | 18 | RDEPENDS_${PN} += "perl-module-carp perl-module-exporter perl-module-strict perl-module-time-local" |
19 | PACKAGE_ARCH = "all" | ||
20 | 19 | ||
21 | SRC_URI[md5sum] = "7da7452bce4c684e4238e6d09b390200" | 20 | SRC_URI[md5sum] = "7da7452bce4c684e4238e6d09b390200" |
22 | SRC_URI[sha256sum] = "f8251a791f6692c69952b4af697c01df93981ad1ab133279d034656a03cd3755" | 21 | SRC_URI[sha256sum] = "f8251a791f6692c69952b4af697c01df93981ad1ab133279d034656a03cd3755" |