From: Yann E. MORIN Date: Sun, 8 Jul 2018 09:45:44 +0000 (+0200) Subject: package/busybox: invert dependency with pciutils X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e0b29022f11d869c59173f3713e31ddba0df7b1;p=buildroot.git package/busybox: invert dependency with pciutils 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 df51f288c4..c87bcec0e4 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_PCIUTILS),pciutils) \ $(if $(BR2_PACKAGE_PROCPS_NG),procps-ng) \ $(if $(BR2_PACKAGE_PSMISC),psmisc) \ $(if $(BR2_PACKAGE_RSYSLOGD),rsyslog) \ diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index 2dd5771f21..30d429e75a 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -46,11 +46,6 @@ else PCIUTILS_MAKE_OPTS += SHARED=yes endif -# Build after busybox since it's got a lightweight lspci -ifeq ($(BR2_PACKAGE_BUSYBOX),y) -PCIUTILS_DEPENDENCIES += busybox -endif - define PCIUTILS_CONFIGURE_CMDS $(SED) 's/wget --no-timestamping/wget/' $(PCIUTILS_DIR)/update-pciids.sh $(SED) 's/uname -s/echo Linux/' \