Backport: Add option to do baremetal configuration.

Aligned with development branch and added option 'baremetal' that sets configuration for bare metal builds.
1 file changed