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
9 PKG_HASH
:= 2bf3a4605a562fb6b8b7673bff85a474a5cf383ed7e4bd8886b4f0939013d42f
10 PKG_DESCR
:= pci utilities
14 PKG_URL
:= http
://www.kernel.org
/pub
/software
/utils
/pciutils
/
15 PKG_SITES
:= http
://www.kernel.org
/pub
/software
/utils
/pciutils
/
17 include $(ADK_TOPDIR
)/mk
/package.mk
19 $(eval
$(call PKG_template
,PCIUTILS
,pciutils
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
23 MAKE_FLAGS
+= CC
="$(TARGET_CC)" \
24 CFLAGS
="$(TARGET_CFLAGS) -fPIC" \
25 CROSS_COMPILE
="$(TARGET_CROSS)" \
27 HOST
=$(GNU_TARGET_NAME
)
31 $(INSTALL_DIR
) $(IDIR_PCIUTILS
)/usr
/sbin
32 $(INSTALL_DIR
) $(IDIR_PCIUTILS
)/usr
/lib
33 $(CP
) $(WRKINST
)/usr
/lib
/libpci
*.so
* $(IDIR_PCIUTILS
)/usr
/lib
34 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/lspci
$(IDIR_PCIUTILS
)/usr
/sbin
35 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/setpci
$(IDIR_PCIUTILS
)/usr
/sbin
37 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk