1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= brcm-bluetooth
  5. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 85a7d1d1386143fad312a5a82c422380
  8. PKG_DESCR:= firmware for broadcom bluetooth chips
  9. PKG_SECTION:= wifi
  10. NO_DISTFILES:= 1
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,BRCM_BLUETOOTH,brcm-bluetooth,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIG_STYLE:= manual
  14. BUILD_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. do-build:
  17. ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
  18. -o ${WRKBUILD}/brcm_patchram ${WRKBUILD}/brcm_patchram.c
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_BRCM_BLUETOOTH}/lib/firmware/brcm
  21. ${CP} ${WRKBUILD}/*.hcd ${IDIR_BRCM_BLUETOOTH}/lib/firmware/brcm
  22. ${INSTALL_DIR} ${IDIR_BRCM_BLUETOOTH}/sbin
  23. ${INSTALL_BIN} ${WRKBUILD}/brcm_patchram \
  24. ${IDIR_BRCM_BLUETOOTH}/sbin/brcm_patchram
  25. include ${TOPDIR}/mk/pkg-bottom.mk