[PATCH 04/12] kbuild: Avoid kconfig fragment defconfigs from having odd config order
John Stultz
john.stultz at linaro.org
Wed Mar 9 02:32:38 UTC 2011
Sort of a hack.
With the new kconfig framents, some config items may be defined
in a different order then usual. To preserve the normal order,
re-run sildentoldconfig after running defconfig.
CC: Jason Hui <jason.hui at linaro.org>
CC: patches at linaro.org
Signed-off-by: John Stultz <john.stultz at linaro.org>
---
scripts/kconfig/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 320ac75..866dbca 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -130,6 +130,8 @@ $(old_defconfigs): %_defconfig: $(obj)/conf
$(defconfigs): %_defconfig: $(obj)/conf
$(Q)$< --defconfig=/dev/null arch/$(SRCARCH)/configs/Kconfig.$*
+# use oldconfig reorder option properly
+ $(Q)$< --silentoldconfig $(Kconfig) > /dev/null
# Help text used by make help
help:
--
1.7.3.2.146.gca209
More information about the linaro-dev
mailing list