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....@linaro.org>
CC: patc...@linaro.org
Signed-off-by: John Stultz <john.stu...@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


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to