From: Yann E. MORIN Date: Sun, 8 Jul 2018 09:45:37 +0000 (+0200) Subject: package/busybox: invert dependency with systemd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4b0e1801c860e18ae6eefc15aead9fc0ec431b6;p=buildroot.git package/busybox: invert dependency with systemd Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index e504924540..9d3ea22d96 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_SYSTEMD),systemd) \ $(if $(BR2_PACKAGE_SYSVINIT),sysvinit) \ $(if $(BR2_PACKAGE_TAR),tar) \ $(if $(BR2_PACKAGE_TFTPD),tftpd) \ diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 04775ee778..d7031ed21d 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -18,12 +18,6 @@ SYSTEMD_DEPENDENCIES = \ SYSTEMD_PROVIDES = udev -# Make sure that systemd will always be built after busybox so that we have -# a consistent init setup between two builds -ifeq ($(BR2_PACKAGE_BUSYBOX),y) -SYSTEMD_DEPENDENCIES += busybox -endif - SYSTEMD_CONF_OPTS += \ -Drootlibdir='/usr/lib' \ -Dblkid=true \