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
tree: 7965b7728393c4028e13b6e7f39f13d8134d765b
  1. conf/
  2. dynamic-layers/
  3. recipes-bsp/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-devtools/
  7. recipes-extended/
  8. recipes-google/
  9. recipes-kernel/
  10. recipes-phosphor/
  11. recipes-tpm1/
  12. LICENSE
  13. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.