add some debug output, which has the nice side effect to fix timing issues while...
[openadk.git] / package / pciutils / Makefile
blob3720f55f86b913da65b589c11cc914da9a6ae919
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= pciutils
7 PKG_VERSION:= 3.5.1
8 PKG_RELEASE:= 2
9 PKG_HASH:= 2bf3a4605a562fb6b8b7673bff85a474a5cf383ed7e4bd8886b4f0939013d42f
10 PKG_DESCR:= pci utilities
11 PKG_SECTION:= sys/hw
12 PKG_DEPENDS:= zlib
13 PKG_BUILDDEP:= zlib
14 PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils/
15 PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/
16 PKG_BB:= 1
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,PCIUTILS,pciutils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
22 CONFIG_STYLE:= manual
24 MAKE_FLAGS+= CC="$(TARGET_CC)" \
25 CFLAGS="$(TARGET_CFLAGS) -fPIC" \
26 CROSS_COMPILE="$(TARGET_CROSS)" \
27 IDSDIR="/usr/share" \
28 HOST=$(GNU_TARGET_NAME)
29 ALL_TARGET:=
31 pciutils-install:
32 $(INSTALL_DIR) $(IDIR_PCIUTILS)/usr/sbin
33 $(INSTALL_DIR) $(IDIR_PCIUTILS)/usr/lib
34 $(CP) $(WRKINST)/usr/lib/libpci*.so* $(IDIR_PCIUTILS)/usr/lib
35 $(INSTALL_BIN) $(WRKINST)/usr/sbin/lspci $(IDIR_PCIUTILS)/usr/sbin
36 $(INSTALL_BIN) $(WRKINST)/usr/sbin/setpci $(IDIR_PCIUTILS)/usr/sbin
38 include $(ADK_TOPDIR)/mk/pkg-bottom.mk