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
6 PKG_NAME
:= brcm-bluetooth
9 PKG_DESCR
:= firmware for broadcom bluetooth chips
10 PKG_SECTION
:= sys
/firmware
14 include ${ADK_TOPDIR}/mk
/package.mk
16 $(eval
$(call PKG_template
,BRCM_BLUETOOTH
,brcm-bluetooth
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
20 INSTALL_STYLE
:= manual
23 ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
24 -o
${WRKBUILD}/brcm_patchram
${WRKBUILD}/brcm_patchram.c
27 ${INSTALL_DIR} ${IDIR_BRCM_BLUETOOTH}/lib
/firmware
/brcm
28 ${CP} ${WRKBUILD}/*.hcd
${IDIR_BRCM_BLUETOOTH}/lib
/firmware
/brcm
29 ${INSTALL_DIR} ${IDIR_BRCM_BLUETOOTH}/sbin
30 ${INSTALL_BIN} ${WRKBUILD}/brcm_patchram \
31 ${IDIR_BRCM_BLUETOOTH}/sbin
/brcm_patchram
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk