On Sun, Jan 22, 2012 at 10:58:59AM +0100, Andreas Bießmann wrote: > > I don't know fw_printenv. Please elaborate. > > As Bernhard said it is a tool to access u-boot configuration from linux > through /dev/mtdX, but some target specific configuration is required > here. So would be some ToDo comment required or just leave this til > someone stumble over the missing target configuration?
Is this a config file, or what? If yes, add an option for it, and use install_alternative to install it. Then you can add your target specific file to your BSP. Or always install and add one to generic/ in ptxdist, if there are some sane default values. > I know we will need the fw_printenv tool in some of our products in near > future but at the moment I just want to have a submenu for U-Boot tools. > A submenu with just one entry would be a bit empty ... > > <snip> > > >> --- /dev/null > >> +++ b/rules/host-u-boot-tools.in > >> @@ -0,0 +1,8 @@ > >> +## SECTION=hosttools_noprompt > >> + > >> +config HOST_U_BOOT_TOOLS > >> + tristate > >> + default ALLYES > >> + help > >> + the U-Boot tools contains the mkimage command which is used > >> + to create boot images for the U-Boot bootloader. > > > > Can we even see the help for a noprompt option? > > I don't know ... it was like this before (in host-umkimage.in). Remove the help. host-umkimage used to have a prompt and the help was not removed with it. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list [email protected]
