[Buildroot] [PATCH 11/50] package/busybox: invert dependency with sysvinit

Carlos Santos casantos at datacom.com.br
Tue Jul 3 11:13:49 UTC 2018


> From: "Yann Morin" <yann.morin.1998 at free.fr>
> To: "buildroot" <buildroot at buildroot.org>
> Cc: "Yann Morin" <yann.morin.1998 at free.fr>
> Sent: Monday, July 2, 2018 6:11:45 PM
> Subject: [Buildroot] [PATCH 11/50] package/busybox: invert dependency with sysvinit

> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> ---
> package/busybox/busybox.mk   | 1 +
> package/sysvinit/sysvinit.mk | 5 -----
> 2 files changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index 76a195d1f5..2e80c5fa14 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
> 
> # Packages that provide commands that may also be busybox applets:
> BUSYBOX_DEPENDENCIES = \
> +	$(if $(BR2_PACKAGE_SYSVINIT),sysvinit) \
> 	$(if $(BR2_PACKAGE_TAR),tar) \
> 	$(if $(BR2_PACKAGE_TFTPD),tftpd) \
> 	$(if $(BR2_PACKAGE_TRACEROUTE),traceroute) \
> diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk
> index a606ddabf0..993e399e73 100644
> --- a/package/sysvinit/sysvinit.mk
> +++ b/package/sysvinit/sysvinit.mk
> @@ -13,11 +13,6 @@ SYSVINIT_LICENSE_FILES = COPYING
> 
> SYSVINIT_MAKE_OPTS = SYSROOT=$(STAGING_DIR)
> 
> -# Override BusyBox implementations if BusyBox is enabled.
> -ifeq ($(BR2_PACKAGE_BUSYBOX),y)
> -SYSVINIT_DEPENDENCIES = busybox
> -endif
> -
> ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
> SYSVINIT_DEPENDENCIES += libselinux
> SYSVINIT_MAKE_OPTS += WITH_SELINUX="yes"
> --
> 2.14.1

Reviewed-by: Carlos Santos <casantos at datacom.com.br>

-- 
Carlos Santos (Casantos) - DATACOM, P&D
“Marched towards the enemy, spear upright, armed with the certainty
that only the ignorant can have.” — Epitaph of a volunteer


More information about the buildroot mailing list