Bug 1705

Summary: Fix pciutils broken cross compiling
Product: buildroot Reporter: Gustavo Zacarias <gustavo>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: i686-linux Target: powerpc-uclibc
Build:
Attachments: Fix pciutils broken cross compiling

Description Gustavo Zacarias 2010-05-06 14:30:53 UTC
Created attachment 1663 [details]
Fix pciutils broken cross compiling

The pciutils migration to gentargets broke cross compiling.
First problem is the internal install always trying to strip stuff, that's wrong since native install doesn't know how to strip foreign binaries and also breaks debugging since it's not conditional.
Second problem is the library isn't being cross compiled either (HOST variable never set so it assumes native).
A third problem is the library never being installed and if the binaries link against it (which they always do) they fail to work properly (make install-lib needed).

Also added a comment about pci.ids / pci.ids.gz not being installed this time around and being needed in the skeleton for a nice verbose lspci output.
This will be addressed post-2010.05 release with new infrastructure to fetch files.
Comment 1 Peter Korsgaard 2010-05-06 21:07:56 UTC
Committed, thanks