Is it possible to use a single OpenEmbedded directory structure for multiple machines?

According to OpenEmbedded (core) the machine is set in ~/oe-core/build/conf/local.conf or directly on the command line.

I case I want to build for two different machines (T30 and iMX6 in my case),…

  1. …do I have to use two distinct oe-core directory structures (e.g. ~/oe-core-t30 and ~/oe-core-imx6),
  2. …or may I specify one machine at a time for each build
  3. …or may I even specify both machines at the same time to build for both at once?

According to OpenEmbedded (core) the machine is set in ~/oe-core/build/conf/local.conf or directly on the command line.

Yes, exactly.

In case I want to build for two different machines (T30 and iMX6 in my case),…

1). …do I have to use two distinct oe-core directory structures (e.g. ~/oe-core-t30 and ~/oe-core-imx6),

No, not at all.

2). …or may I specify one machine at a time for each build

Yes, exactly.

3). …or may I even specify both machines at the same time to build for both at once?

No, I don’t think this is possible. However of course you may use some script which automatically builds them one after the other. We e.g. do so to build it for all of our modules.

Please note however that there are certain DISTRO_FEATURES which will require separate build folders (e.g. building X11 for one module and say Wayland for the other).