package/busybox: invert dependency with pciutils
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Jul 2018 09:45:44 +0000 (11:45 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 8 Jul 2018 10:22:15 +0000 (12:22 +0200)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/busybox/busybox.mk
package/pciutils/pciutils.mk

index df51f288c47adda71b537ff4010c4cebed1b458a..c87bcec0e43fe32015bedb9e09254522733365e9 100644 (file)
@@ -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) \
index 2dd5771f2193e2bd220e77a29e07295445785031..30d429e75a35faf692d67b0dfce3516769922dfe 100644 (file)
@@ -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/' \