kbuild: move autoconf.h to include/generated
[linux-2.6-block.git] / scripts / kconfig / confdata.c
index b55e72ff2fc676d4ae36ebe9028c6dee5b44d715..797a7410f69024470e1f695e7f974f9c46520232 100644 (file)
@@ -776,7 +776,7 @@ int conf_write_autoconf(void)
 
        name = getenv("KCONFIG_AUTOHEADER");
        if (!name)
-               name = "include/linux/autoconf.h";
+               name = "include/generated/autoconf.h";
        if (rename(".tmpconfig.h", name))
                return 1;
        name = conf_get_autoconfig_name();