From: Jo-Philipp Wich Date: Mon, 23 Jan 2017 13:23:36 +0000 (+0100) Subject: phase1: move ccache preparation after defconfig X-Git-Tag: v1~192 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2ecde598b7c3fdb9769f14ab38d5df24c26e28aa;p=buildbot.git phase1: move ccache preparation after defconfig The ccache.sh helper script uses make targets to figure out staging_dir paths which might trigger interactive menuconfig in case there is no populated .config file yet, leading to command timeouts on fresh trees. Move the ccache preparation step after defconfig in order to avoid triggering menuconfig. Signed-off-by: Jo-Philipp Wich --- diff --git a/phase1/master.cfg b/phase1/master.cfg index bc21f80..695973f 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -454,13 +454,6 @@ for target in targets: command=["./scripts/feeds", "install", "-a"], env = MakeEnv())) - # ccache helper - factory.addStep(FileDownload( - mastersrc = "ccache.sh", - slavedest = "ccache.sh", - mode = 0755 - )) - # ccache prepare factory.addStep(ShellCommand( name = "prepccache", @@ -513,6 +506,13 @@ for target in targets: description = "Finding libc suffix", command = ["sed", "-ne", '/^CONFIG_LIBC=/ { s!^CONFIG_LIBC="\\(.*\\)"!\\1!; s!^musl$!!; s!.\\+!-&!p }', ".config"])) + # ccache helper + factory.addStep(FileDownload( + mastersrc = "ccache.sh", + slavedest = "ccache.sh", + mode = 0755 + )) + # install build key factory.addStep(FileDownload(mastersrc=home_dir+'/key-build', slavedest="key-build", mode=0600)) factory.addStep(FileDownload(mastersrc=home_dir+'/key-build.pub', slavedest="key-build.pub", mode=0600))