Andreas Ericsson wrote: > This is bad, since it forces users to do one thing first and then do > what they're used to. Better to have the script add > > -include config.mak.autogen > > LAST in config.mak, unless it's already in the file and generate > config.mak.autogen with configure. > > Since Make does things bottoms-up (much like swedish students and > midsummer celebrators), the previous hand-edited defaults in config.mak > will beat the ones in config.mak.autogen (a good thing). That's not true, unless we use '?=' assignment in Makefile. And we _want_ to override defaults provided in main git Makefile, so in config.mak.autoconf, and probably in user's own config.mak we use '=' overriding assignment. So it would be better to just add "-include config.mak.autogen" to makefile before "-include config.mak", as in patch below. diff --git a/Makefile b/Makefile index ccd7c62..a37d400 100644 --- a/Makefile +++ b/Makefile @@ -333,6 +333,7 @@ ifneq (,$(findstring arm,$(uname_M))) ARM_SHA1 = YesPlease endif +-include config.mak.autogen -include config.mak ifdef WITH_OWN_SUBPROCESS_PY -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html