[Buildroot] [PATCH] less: build after busybox

Samuel Martin s.martin49 at gmail.com
Thu Jul 26 22:30:04 UTC 2012


2012/7/26 Gustavo Zacarias <gustavo at zacarias.com.ar>:
> Build less after busybox if it's enabled, since we prefer the full-blown
> version over the light one if it's enabled (and busybox would overwrite
> the link when built afterwards).
>
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
> ---
>  package/less/less.mk |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/package/less/less.mk b/package/less/less.mk
> index b758e46..c0ecf20 100644
> --- a/package/less/less.mk
> +++ b/package/less/less.mk
> @@ -6,7 +6,8 @@
>
>  LESS_VERSION = 444
>  LESS_SITE = http://www.greenwoodsoftware.com/less
> -LESS_DEPENDENCIES = ncurses
> +# Build after busybox, full-blown is better
> +LESS_DEPENDENCIES = ncurses $(if $(BR2_PACKAGE_BUSYBOX),busybox)
Though I understand why you prefer this one, I somehow don't really
like it... because it's not about build dependency, but build/install
order...

At least it would be worth to document which binary works if using the
one provided by the busybox built instead of the one provided by
another package, which doesn't.
This makes echo to some other recent thread about using login from
util-linux or busybox.


Regards,

-- 
Sam



More information about the buildroot mailing list