[Buildroot] [PATCH] script/scancpan: add -host & -hostonly options

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Mar 29 15:46:53 UTC 2014


Dear Francois Perrad,

On Sat, 29 Mar 2014 16:17:04 +0100, Francois Perrad wrote:

> +=item B<-host>
> +
> +Generates package for the target and host variants (the default is for target only).
> +
> +=item B<-hostonly>
> +
> +Generates package only for the host variant (the default is for target only).

The naming of the options look really weird, IMO. If you use -host, I
would assume that only the host variant is generated. What about:

 * default behavior: target only (i.e same as -target below)
 * -target: enable target package
 * -notarget: disable target package
 * -host: enable host package
 * -nohost: disable host package

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list