Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 5 | inherit allarch |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 7 | PR = "r2" |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 8 | |
| 9 | python() { |
| 10 | # Put the package somewhere separate to ensure it's never used except |
| 11 | # when we want it |
| 12 | # (note that we have to do this in anonymous python here to avoid |
| 13 | # allarch.bbclass disabling itself) |
| 14 | d.setVar('PACKAGE_ARCH', 'buildtools-dummy-${SDKPKGSUFFIX}') |
| 15 | } |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | |
| 17 | PERLPACKAGES = "nativesdk-perl \ |
| 18 | nativesdk-perl-module-file-path" |
| 19 | |
| 20 | ALLOW_EMPTY_${PN} = "1" |
| 21 | |
| 22 | python populate_packages_prepend() { |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 23 | d.appendVar(d.expand('RPROVIDES_${PN}'), '${PERLPACKAGES}') |
| 24 | d.appendVar(d.expand('RCONFLICTS_${PN}'), '${PERLPACKAGES}') |
| 25 | d.appendVar(d.expand('RREPLACES_${PN}'), '${PERLPACKAGES}') |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | } |
| 27 | |