mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 01:33:00 -04:00
kbuild: always run 'make silentoldconfig' when tree is cleaned
If the file .kconfig.d is missing then make sure to run 'make silentoldconfig', since we have no way to detect if a Kconfig file has been updated. -kconfig.d is created by kconfig and is removed as part of 'make clean' so the situation is likely to occur in reality. Jan Beulich <[email protected]> reported this bug. Signed-off-by: Sam Ravnborg <[email protected]>
This commit is contained in:
parent
54e08a2392
commit
752625cff3
2 changed files with 7 additions and 5 deletions
|
|
@ -33,7 +33,7 @@ int file_write_dep(const char *name)
|
|||
FILE *out;
|
||||
|
||||
if (!name)
|
||||
name = ".config.cmd";
|
||||
name = ".kconfig.d";
|
||||
out = fopen("..config.tmp", "w");
|
||||
if (!out)
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue