bmcweb: enable google-baremetal for gbmc-baremetal
Platforms having bare-metal feature should only need to add:
- gbmc-baremetal to MACHINE_FEATURES in conf files.
- config the require setting in the setup bb file.
Tested:
```
// the option is still disabled for a random platform.
bitbake -e bmcweb | grep EXTRA_OEMESON=
... -Dgoogle-baremetal=disabled ...
// also no bare-metal-setup in `bitbake -e obmc-phosphor-image | grep
// OBMC_IMAGE_EXTRA_INSTALL=`
// the option is enabled for a platform with adding machine features.
bitbake -e bmcweb | grep EXTRA_OEMESON=
... -Dgoogle-baremetal=enabled ...
// also bare-metal-setup in `bitbake -e obmc-phosphor-image | grep
// OBMC_IMAGE_EXTRA_INSTALL=`
```
Google-Bug-Id: 327596841
Signed-off-by: Tom Tung <tomtung@google.com>
Change-Id: I17293852f40eaa3bf9c6e711eafab0a8e5debd6b
Signed-off-by: Tom Tung <tomtung@google.com>
2 files changed