Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "Dummy packages which handle excluding packages from the sdk, e.g. ensuring perl is excluded from buildtools" |
| 2 | LICENSE = "MIT" |
| 3 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 4 | PACKAGE_ARCH = "all" |
| 5 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 6 | inherit allarch |
| 7 | |
| 8 | python() { |
| 9 | # Put the package somewhere separate to ensure it's never used except |
| 10 | # when we want it |
| 11 | # (note that we have to do this in anonymous python here to avoid |
| 12 | # allarch.bbclass disabling itself) |
| 13 | d.setVar('PACKAGE_ARCH', '${DUMMYARCH}') |
| 14 | } |
| 15 | |
| 16 | ALLOW_EMPTY_${PN} = "1" |
| 17 | |
| 18 | PR[vardeps] += "DUMMYPROVIDES" |
| 19 | |
| 20 | python populate_packages_prepend() { |
| 21 | p = d.getVar("PN") |
| 22 | d.appendVar("RPROVIDES_%s" % p, "${DUMMYPROVIDES}") |
| 23 | #d.appendVar("RCONFLICTS_%s" % p, "${DUMMYPROVIDES}") |
| 24 | #d.appendVar("RREPLACES_%s" % p, "${DUMMYPROVIDES}") |
| 25 | } |
| 26 | |