mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
build-crosstool-ng: use ./configure relative path
Avoids build error in Ubuntu 16.04...
This commit is contained in:
@@ -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,
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user