genrandconfig: get configs from in-tree toolchain-configs.csv
authorArnout Vandecappelle <arnout@mind.be>
Fri, 21 Jul 2017 01:05:26 +0000 (03:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Jul 2017 21:05:29 +0000 (23:05 +0200)
commit84929a53a47f12c98de84ea894e53cc21a033623
tree60f7adabf7b4745697110f127623152921b21b42
parente7b9afa70a2fe643ffc28151b382e41218a106b8
genrandconfig: get configs from in-tree toolchain-configs.csv

Now we have the toolchain config fragments in the buildroot directory
itself, it is no longer necessary to fetch it from the toolchain URL.

The --toolchains-url option is renamed to --toolchains-csv.

The paths in the toolchains_csv file should be either absolute, or
relative to buildrootdir.

After this change, the script should be called from autobuild-run as:

    subprocess.call([os.path.join(srcdir, "utils/genrandconfig"),
                     "-o", outputdir, "-b", srcdir,
                     "--toolchains-csv", kwargs['toolchains_csv']],
                    stdout=devnull, stderr=log)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
utils/genrandconfig