blob: eafcb823ab2c9ff4daaf9c22246375c11c15eaf9 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "Dummy packages which handle excluding packages from the sdk, e.g. ensuring perl is excluded from buildtools"
2LICENSE = "MIT"
3
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004PACKAGE_ARCH = "all"
5
Brad Bishop316dfdd2018-06-25 12:45:53 -04006inherit allarch
7
8python() {
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
16ALLOW_EMPTY_${PN} = "1"
17
18PR[vardeps] += "DUMMYPROVIDES"
19
20python 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