diff options
-rw-r--r-- | meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb index d971c3ca3d..6fb2b64f79 100644 --- a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb +++ b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | |||
@@ -2,9 +2,16 @@ SUMMARY = "Dummy package which ensures perl is excluded from buildtools" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
4 | 4 | ||
5 | inherit nativesdk | 5 | inherit allarch |
6 | |||
7 | python() { | ||
8 | # Put the package somewhere separate to ensure it's never used except | ||
9 | # when we want it | ||
10 | # (note that we have to do this in anonymous python here to avoid | ||
11 | # allarch.bbclass disabling itself) | ||
12 | d.setVar('PACKAGE_ARCH', 'buildtools-dummy-${SDKPKGSUFFIX}') | ||
13 | } | ||
6 | 14 | ||
7 | # Put it somewhere separate to ensure it's never used except when we want it | ||
8 | PACKAGE_ARCH = "buildtools-dummy-${SDKPKGSUFFIX}" | 15 | PACKAGE_ARCH = "buildtools-dummy-${SDKPKGSUFFIX}" |
9 | 16 | ||
10 | PERLPACKAGES = "nativesdk-perl \ | 17 | PERLPACKAGES = "nativesdk-perl \ |