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