carl9170: config: re-add config.cmake
[carl9170fw.git] / config / conf.c
index 58df1b76b5288ad46661d75cacf88ead9cf456f9..2949b7d983193e8ae9eb7e26d4612e1f0827dd4b 100644 (file)
@@ -705,6 +705,13 @@ int main(int ac, char **av)
                 * syncconfig always creates or updates auto.conf because it is
                 * used during the build.
                 */
+
+               /*
+                * In our cmake case, we always want to update the autogenerated
+                * files.
+                */
+               sync_kconfig = 1;
+
                if (conf_write_autoconf(sync_kconfig) && sync_kconfig) {
                        fprintf(stderr,
                                "\n*** Error during sync of the configuration.\n\n");