can_run_host_binaries() returns true even when cross compiling, if there is an executable wrapper defined that can run cross-binaries under some kind of emulation.
Unfortunately, custom_target() will not use the wrapper and will attempt to execute the command directly. Until this is addressed in meson upstream, we have to disable these targets in cross scenarios.
Signed-off-by: Alexander Kanavin alex@linutronix.de