blob: 73812eab51ed65c702e9a49bce8b4c0d983b1eed [file] [log] [blame]
Vishwanatha Subbanna7e84c6e2017-01-23 16:04:35 +05301SUMMARY = "Phosphor LED Group Management meta data"
2PR = "r1"
3
4inherit obmc-phosphor-utils
5inherit obmc-phosphor-license
Brad Bishopb3a24d62017-03-01 15:33:25 -05006inherit native
Vishwanatha Subbanna7e84c6e2017-01-23 16:04:35 +05307
8# Default is the example set of data.
Brad Bishopb3a24d62017-03-01 15:33:25 -05009PHOSPHOR_LED_MANAGER_CONFIG ??= "${BPN}-example-native"
Vishwanatha Subbanna7e84c6e2017-01-23 16:04:35 +053010
11# Choose appropriate yaml file
12def get_depends(d):
13 if d.getVar('USE_MRW', 'yes'):
Brad Bishopb3a24d62017-03-01 15:33:25 -050014 return "${BPN}-mrw-native"
Vishwanatha Subbanna7e84c6e2017-01-23 16:04:35 +053015 else:
16 return "${PHOSPHOR_LED_MANAGER_CONFIG}"
17
Brad Bishopb943d912017-01-31 10:37:13 -050018USE_MRW = "${@cf_enabled(d, 'obmc-mrw', 'yes')}"
Vishwanatha Subbanna7e84c6e2017-01-23 16:04:35 +053019DEPENDS += "${@get_depends(d)}"