From ab571457b9960cc05d46d3ae6a3796e760766750 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Fri, 19 Feb 2021 10:01:20 +0800 Subject: [ci/build] Copy config.sub around --- boot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boot b/boot index 04dec14314..213a5b1a30 100755 --- a/boot +++ b/boot @@ -8,6 +8,7 @@ import argparse from textwrap import dedent import subprocess import re +import shutil cwd = os.getcwd() @@ -172,6 +173,8 @@ def autoreconf(): for dir_ in ['.'] + glob.glob('libraries/*/'): if os.path.isfile(os.path.join(dir_, 'configure.ac')): print("Booting %s" % dir_) + if dir_ != '.': + shutil.copyfile('config.sub', os.path.join(dir_, 'config.sub')) processes[dir_] = subprocess.Popen(['sh', '-c', reconf_cmd], cwd=dir_) # Wait for all child processes to finish. -- cgit v1.2.1