blob: 0d4904c9be34aff14aab7274993ec35a31a0b070 [file] [log] [blame]
Willy Tub7f22072021-06-24 17:59:46 -07001python() {
2 # Instead of using BB_ENV_EXTRAWHITE, we can get info from the
3 # shell environment this way.
4 origenv = d.getVar("BB_ORIGENV", False)
5 memo = origenv.getVar("BUILD_MEMO", False)
6 if memo:
Willy Tua4300332021-06-29 14:17:44 -07007 d.setVar("BUILD_MEMO", memo)
Willy Tub7f22072021-06-24 17:59:46 -07008}
9
Willy Tua971dac2021-10-01 16:56:41 -070010IMAGE_TYPE = "${GBMC_CONFIG}"
Tom Tung7f9f2442023-05-17 19:11:26 +080011GBMC_TARGET_MACHINE ?= "${MACHINE}"
12
13OS_RELEASE_FIELDS:append:gbmc = " BUILD_MEMO IMAGE_TYPE GBMC_TARGET_MACHINE"