phase2: force regeneration of SDK .config
authorJo-Philipp Wich <jo@mein.io>
Tue, 24 May 2016 21:44:06 +0000 (23:44 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 24 May 2016 21:44:06 +0000 (23:44 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase2/master.cfg

index 1ff8d076aec8daf9b3513a853c617d8fdafbfc9f..11e2173e95bf4485430087c7a701eadb7df0fbc9 100644 (file)
@@ -180,6 +180,12 @@ for arch in arches:
                description = "Preparing download directory",
                command = ["sh", "-c", "mkdir -p $HOME/dl && rmdir ./sdk/dl && ln -sf $HOME/dl ./sdk/dl"]))
 
+       factory.addStep(ShellCommand(
+               name = "mkconf",
+               description = "Preparing SDK configuration",
+               workdir = "build/sdk",
+               command = ["sh", "-c", "rm -f .config && make defconfig"]))
+
        factory.addStep(ShellCommand(
                name = "updatefeeds",
                description = "Updating feeds",