]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
genrandconfig: calculate configfile only once
authorArnout Vandecappelle <arnout@mind.be>
Fri, 21 Jul 2017 01:05:17 +0000 (03:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Jul 2017 20:50:07 +0000 (22:50 +0200)
commit5638b10c22dc3c4ec67a4e602d38d097e8e16c69
treef26d3b381a9eb4008c080cdbdc8536d55f5dc2a9
parentb8288a5f437e53263e92cc27940391d2dea335dd
genrandconfig: calculate configfile only once

The path to the .config file is calculated in several places - replace
it with a single calculation, and pass configfile as an argument
to is_toolchain_usable and fixup_config. These functions also don't
need outputdir any more.

This makes it easier to fix the case when configfile is not in
outputdir.

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