build-crosstool-ng: use ./configure relative path

Avoids build error in Ubuntu 16.04...
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-30 00:00:02 +00:00
parent 1f55dec44c
commit a336201b06

View File

@@ -38,7 +38,10 @@ Build crosstool-NG with Newlib for bare metal compilation
)
self.sh.run_cmd(
[
os.path.join(self.env['crosstool_ng_source_copy_dir'], 'configure'), LF,
# abspath here makes Ubuntu 16.04 fail with:
# configure: error: source directory already configured; run "make distclean" there first
# after another build has been done. Don't ask me why.
os.path.join(os.curdir, 'configure'), LF,
'--enable-local', LF,
],
)