Bug 1705 - Fix pciutils broken cross compiling
Summary: Fix pciutils broken cross compiling
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 14:30 UTC by Gustavo Zacarias
Modified: 2010-05-06 21:07 UTC (History)
1 user (show)

See Also:
Host: i686-linux
Target: powerpc-uclibc
Build:


Attachments
Fix pciutils broken cross compiling (1.79 KB, patch)
2010-05-06 14:30 UTC, Gustavo Zacarias
Details

Note You need to log in before you can comment on or make changes to this bug.
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