mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
BSD refinements
Make it easier to compile flashrom under NetBSD and DragonFlyBSD: - Use /usr/pkg/ as prefix for includes and linking - Use pciutils as include path for the right(tm) libpci Also, fix date handling in getrevision.sh to work with the various formats for invoking 'date'. This also uses svn's info --xml output instead of the regular one. Corresponding to flashrom svn r1742. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Tested-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
@ -37,7 +37,13 @@
|
||||
* or as builtin.
|
||||
*/
|
||||
#define index shadow_workaround_index
|
||||
|
||||
#if !defined (__NetBSD__) && !defined (__DragonFly__)
|
||||
#include <pci/pci.h>
|
||||
#else
|
||||
#include <pciutils/pci.h>
|
||||
#endif
|
||||
|
||||
#undef index
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user