Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= pciutils
  5. PKG_VERSION:= 3.3.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 413395d4bdc66fdedd6c993ed9083d1dd73812bf2a679d320f73de35c7801301
  8. PKG_DESCR:= pci utilities (lspci/setpci)
  9. PKG_SECTION:= sys/hw
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDDEP:= zlib
  12. PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils/
  13. PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/
  14. PKG_BB:= 1
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,PCIUTILS,pciutils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. MAKE_FLAGS+= CC="${TARGET_CC}" \
  20. CFLAGS="${TARGET_CFLAGS}" \
  21. CROSS_COMPILE="${TARGET_CROSS}" \
  22. IDSDIR="/usr/share" \
  23. HOST=${GNU_TARGET_NAME}
  24. ALL_TARGET:=
  25. do-install:
  26. ${INSTALL_DIR} ${IDIR_PCIUTILS}/usr/{share,bin}
  27. ${INSTALL_BIN} ${WRKBUILD}/{lspci,setpci} ${IDIR_PCIUTILS}/usr/bin
  28. ${INSTALL_DATA} ${WRKBUILD}/pci.ids ${IDIR_PCIUTILS}/usr/share
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk