Add 'make' with no target as preferred build command
RFC PATCH 1/1 Add 'make' with no target as preferred build command
Hello,
It seems for 2.5/2.6 'make' is the preferred command for building the kernel tree (also stated in davej's 2.6 "what to expect" document). That scenario however isn't even presented when the user finishes the kernel configuration. This is a simple patch to scripts/kconfig/mconf.c which tackles that, perhaps not in the best fashion but certainly in the simplest.
Applies on top of bk-curr. Please consider.
Paulo Andre'
scripts/kconfig/mconf.c +1 -1
@@ -781,7 +781,7 @@printf ("\n\n" "*** End of Linux kernel configuration.\n" "*** Check the top-level Makefile for additional configuration.\n" -"*** Next, you may run 'make bzImage', 'make bzdisk', or 'make install'.\n\n" ); +"*** Next, you may run 'make', 'make bzImage', 'make bzdisk', or 'make install'.\n\n" ); }else printf ("\n\nYour kernel configuration changes were NOT saved.\n\n" );
Quoted 8 lines · Paulo Andre
Hello,
It seems for 2.5/2.6 'make' is the preferred command for building the kernel tree (also stated in davej's 2.6 "what to expect" document). That scenario however isn't even presented when the user finishes the kernel configuration. This is a simple patch to
scripts/kconfig/mconf.cwhich tackles that, perhaps not in the best fashion but certainly in the simplest.
If we really want this boilerplate text then bzImage should not be present. It is i386 centric.
Revised patch below. Also made it a bit more readable by wrapping a long line.
Roman Zippel cc:ed as he is the kconfig maintainer.
Sam
===== scripts/kconfig/mconf.c 1.5 vs edited =====
scripts/kconfig/mconf.c +5 -3
@@ -780,10 +780,12 @@conf_write (NULL );printf ("\n\n" "*** End of Linux kernel configuration.\n" -"*** Check the top-level Makefile for additional configuration.\n" -"*** Next, you may run 'make bzImage', 'make bzdisk', or 'make install'.\n\n" ); +"*** Execute 'make' to build the kernel" +" or try 'make help'.\n\n" ); }else -printf ("\n\nYour kernel configuration changes were NOT saved.\n\n" ); +printf ("\n\n" +"*** Your kernel configuration changes were NOT saved." +"\n\n" );return 0 ; }
Quoted 4 lines · On Mon, 26 May 2003 22:34:43 +0200 Sam Ravnborg <[email protected]> wrote:
If we really want this boilerplate text then bzImage should not be present. It is i386 centric.
Revised patch below. Also made it a bit more readable by wrapping a long line.
Agreed.
Quoted 1 line
Roman Zippel cc:ed as he is the kconfig maintainer.
I apologize for not having cc'ed Roman Zippel in the first place. It sounded like too simple a fix. My bad, and for that I'm sorry.
Paulo
Hi,
Quoted 4 lines · Sam Ravnborg
If we really want this boilerplate text then bzImage should not be present. It is i386 centric.
Revised patch below. Also made it a bit more readable by wrapping a long line.
Looks good, thanks.
bye, Roman