From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 28 Sep 2010 19:26:29 +0200 Subject: [Buildroot] [PATCH 1/4] Added new menu item to specify a custom port for /etc/inittab In-Reply-To: <4CA05B90.30704@visionsystems.de> References: <4C9C54A9.20803@visionsystems.de> <4CA05B90.30704@visionsystems.de> Message-ID: <20100928192629.1717d83c@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, Would people cry/complain if instead of the following patch we simply replace the TARGET_GENERIC_GETTY_PORT parameter by a single free-form text-field ? Thomas On Mon, 27 Sep 2010 10:53:36 +0200 Yegor Yefremov wrote: > Signed-off-by: Yegor Yefremov > > --- > target/generic/Config.in | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/target/generic/Config.in b/target/generic/Config.in > index 54ff1d6..286b0a3 100644 > --- a/target/generic/Config.in > +++ b/target/generic/Config.in > @@ -102,8 +102,16 @@ config BR2_TARGET_GENERIC_GETTY_TTYCPM2 > config BR2_TARGET_GENERIC_GETTY_TTYCPM3 > bool "ttyCPM3" > depends on BR2_powerpc > +config BR2_TARGET_GENERIC_GETTY_CUSTOM > + bool "Select custom port" > + > endchoice > > +config BR2_TARGET_GENERIC_GETTY_CUSTOM_PORT > + string "Port" > + depends on BR2_TARGET_GENERIC_GETTY_CUSTOM > + default "" > + > config BR2_TARGET_GENERIC_GETTY_PORT > string > default "#ttyS0" if BR2_TARGET_GENERIC_GETTY_NONE > @@ -134,6 +142,7 @@ config BR2_TARGET_GENERIC_GETTY_PORT > default "ttyCPM1" if BR2_TARGET_GENERIC_GETTY_TTYCPM1 > default "ttyCPM2" if BR2_TARGET_GENERIC_GETTY_TTYCPM2 > default "ttyCPM3" if BR2_TARGET_GENERIC_GETTY_TTYCPM3 > + default $(BR2_TARGET_GENERIC_GETTY_CUSTOM_PORT) if BR2_TARGET_GENERIC_GETTY_CUSTOM > > choice > prompt "Baudrate to use" > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com