Bug 8581

Summary: pciutils.mk PCIUTILS_MAKE_OPTS typo
Product: buildroot Reporter: Lonnie Abelbeck <lonnie>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Lonnie Abelbeck 2016-01-04 17:10:58 UTC
For package pciutils, when specifying PCIUTILS_MAKE_OPTS values, there is a typo:

package/pciutils/pciutils.mk
line 20:
---
-	PCIUTILS_DNS=no
+	DNS=no
---
Comment 1 Peter Korsgaard 2016-01-04 20:56:15 UTC
Thanks, fixed in git by:

commit 85e2a87699f4f98d1b669576922581ae3bcac004
Author: Peter Korsgaard <peter@korsgaard.com>
Date:   Mon Jan 4 21:47:37 2016 +0100

    pciutils: correct dns disabling logic
    
    Fixes #8581
    
    Commit 2c879f95a0 (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: Peter Korsgaard <peter@korsgaard.com>