hc
2023-05-31 43fd8d44e8182b691c8ee61d487cec02ca11afd2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright (c) 2019, Fuzhou Rockchip Electronics Co., Ltd
# Released under the MIT license (see COPYING.MIT for the terms)
 
DESCRIPTION = "Broadcom develop tools"
SECTION = "devel"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
 
SRC_URI = " \
   file://dhd_priv.c \
   file://brcm_patchram_plus1.c \
   file://Makefile \
"
 
S = "${WORKDIR}"
 
do_compile:append() {
   ${CC} ${CFLAGS} ${LDFLAGS} brcm_patchram_plus1.c -o brcm_patchram_plus
}
 
do_install() {
   install -d ${D}${bindir}
   install -m 0755 dhd_priv ${D}${bindir}
   install -m 0755 brcm_patchram_plus ${D}${bindir}
}