devtools: allow test build outside source directory
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 1 Apr 2019 16:08:33 +0000 (17:08 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 Apr 2019 17:03:35 +0000 (19:03 +0200)
commitd6cefc11e05f0ddd87eef79f47d45fd3d01bb4bc
treec69d39c7e5fa2d06aa578ecad73275c7327d3538
parentb77c1d1c0ab7712827ad9b2bf4da796397546911
devtools: allow test build outside source directory

The test-meson-builds.sh script correctly detects the source directory and
builds the native builds successfully in a directory outside of the source
tree. However, the paths to the cross-files are not prefixed with the
source directory path, so the cross-builds all fail. Fix this by prepending
the source directory path appropriately.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
devtools/test-meson-builds.sh