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
/
18 include $(ADK_TOPDIR
)/mk
/package.mk
20 $(eval
$(call PKG_template
,PCIUTILS
,pciutils
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
24 MAKE_FLAGS
+= CC
="$(TARGET_CC)" \
25 CFLAGS
="$(TARGET_CFLAGS) -fPIC" \
26 CROSS_COMPILE
="$(TARGET_CROSS)" \
28 HOST
=$(GNU_TARGET_NAME
)
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