phase1: move ccache preparation after defconfig
[buildbot.git] / phase1 / master.cfg
index bc21f809543e62cb3ad5c26692cec38090666475..695973f8e0da85a1adbc182404a7ce53a6e3208b 100644 (file)
@@ -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))