diff options
Diffstat (limited to 'meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb')
-rw-r--r-- | meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb new file mode 100644 index 0000000000..a3cf9d754a --- /dev/null +++ b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "Dummy package which ensures perl is excluded from buildtools" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
4 | |||
5 | inherit nativesdk | ||
6 | |||
7 | # Put it somewhere separate to ensure it's never used except when we want it | ||
8 | PACKAGE_ARCH = "buildtools-dummy-${SDKPKGSUFFIX}" | ||
9 | |||
10 | PERLPACKAGES = "nativesdk-perl \ | ||
11 | nativesdk-perl-module-file-path" | ||
12 | |||
13 | ALLOW_EMPTY_${PN} = "1" | ||
14 | |||
15 | python populate_packages_prepend() { | ||
16 | d.appendVar('RPROVIDES_${PN}', '${PERLPACKAGES}') | ||
17 | d.appendVar('RCONFLICTS_${PN}', '${PERLPACKAGES}') | ||
18 | } | ||