blob: d5aa32f780b69bd901f77be08d995baec40710fd [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001DESCRIPTION = "service"
2DEPENDS = "libbinder"
3SECTION = "app"
4LICENSE = "zte"
5PV = "1.0.0"
6PR = "r0"
7
8#配置code路径信息。
9FILESEXTRAPATHS_prepend :="${APP-OPEN-PATH}/test:"
10SRC_URI = " \
11 file://service \
12 "
13
14LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/zte;md5=c075689d1d1e06d4ab5bbe53623a6808"
15S = "${WORKDIR}"
16
17#引用公用头文件和编译选项。
18include ${BSPDIR}/sources/meta-zxic/conf/app_com.inc
19
20#编译
21do_compile() {
22 make -C service
23}
24
25#库文件的安装
26do_install() {
27 install -d ${D}${bindir}/
28 install -m 0755 ${S}/service/service ${D}${bindir}/
29
30 #install elfs
31 install -d ${ELFS-PATH}/
32 install -m 0755 ${S}/service/service ${ELFS-PATH}/
33}
34#清库
35do_cleanlibs () {
36 rm -fr ${ELFS-PATH}/service
37}
38
39addtask cleanlibs after do_clean before do_cleansstate
40
41#rootfs包含的文件
42FILES_${PN} = "\
43 ${bindir}/ \
44 "
45
46RDEPENDS_${PN} = "libbinder"