Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233
  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:= realtek-firmware
  5. PKG_VERSION:= 1.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 32b82d463f8742e094ed53a4820424c6
  8. PKG_DESCR:= firmware for realtek wired and wireless cards
  9. PKG_SECTION:= sys/firmware
  10. PKG_SITES:= http://www.openadk.org/distfiles/
  11. PKG_SUBPKGS:= REALTEK_FIRMWARE_WIRELESS REALTEK_FIRMWARE_WIRED
  12. include ${ADK_TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,REALTEK_FIRMWARE_WIRED,realtek-firmware-wired,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. $(eval $(call PKG_template,REALTEK_FIRMWARE_WIRELESS,realtek-firmware-wireless,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_REALTEK_FIRMWARE_WIRELESS}/lib/firmware
  20. ${CP} ${WRKBUILD}/rtlwifi \
  21. ${IDIR_REALTEK_FIRMWARE_WIRELESS}/lib/firmware
  22. ${INSTALL_DIR} ${IDIR_REALTEK_FIRMWARE_WIRED}/lib/firmware
  23. ${CP} ${WRKBUILD}/rtl_nic \
  24. ${IDIR_REALTEK_FIRMWARE_WIRED}/lib/firmware
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk