Commit 85e2a876 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

pciutils: correct dns disabling logic



Fixes #8581

Commit 2c879f95 (pciutils: cleanup) refactored the make arguments, but
accidently changed the logic to disable dns based lookups to pass
PCIUTILS_DNS=no instead of DNS=no, causing the autotection to be used.

This autodetection looks at host includes, so it isn't safe for cross
compilation.

Disable it by setting the correct make variable instead.

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent af2de9e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ PCIUTILS_MAKE_OPTS = \
	LDFLAGS="$(TARGET_LDFLAGS)" \
	RANLIB=$(TARGET_RANLIB) \
	AR=$(TARGET_AR) \
	PCIUTILS_DNS=no
	DNS=no

ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
PCIUTILS_DEPENDENCIES += udev