blob: d5aa32f780b69bd901f77be08d995baec40710fd [file] [log] [blame]
DESCRIPTION = "service"
DEPENDS = "libbinder"
SECTION = "app"
LICENSE = "zte"
PV = "1.0.0"
PR = "r0"
#配置code路径信息。
FILESEXTRAPATHS_prepend :="${APP-OPEN-PATH}/test:"
SRC_URI = " \
file://service \
"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/zte;md5=c075689d1d1e06d4ab5bbe53623a6808"
S = "${WORKDIR}"
#引用公用头文件和编译选项。
include ${BSPDIR}/sources/meta-zxic/conf/app_com.inc
#编译
do_compile() {
make -C service
}
#库文件的安装
do_install() {
install -d ${D}${bindir}/
install -m 0755 ${S}/service/service ${D}${bindir}/
#install elfs
install -d ${ELFS-PATH}/
install -m 0755 ${S}/service/service ${ELFS-PATH}/
}
#清库
do_cleanlibs () {
rm -fr ${ELFS-PATH}/service
}
addtask cleanlibs after do_clean before do_cleansstate
#rootfs包含的文件
FILES_${PN} = "\
${bindir}/ \
"
RDEPENDS_${PN} = "libbinder"