phase1, phase2: add unified ccache handling
[buildbot.git] / phase2 / master.cfg
index 08b5387c12ddbe013282ae7d35845e41bba089b5..d6d2e224edd6f3387a42fe2e2b09f2eae31d3f54 100644 (file)
@@ -287,6 +287,17 @@ for arch in arches:
                workdir = "build/sdk",
                command = ["sh", "-c", "rm -f .config && make defconfig"]))
 
+       factory.addStep(FileDownload(
+               mastersrc = home_dir+'/ccache.sh',
+               slavedest = 'sdk/ccache.sh',
+               mode = 0755))
+
+       factory.addStep(ShellCommand(
+               name = "prepccache",
+               description = "Preparing ccache",
+               workdir = "build/sdk",
+               command = ["./ccache.sh"]))
+
        factory.addStep(ShellCommand(
                name = "updatefeeds",
                description = "Updating feeds",