blob: 892ded5fe1d9af1beb676565dd2013a3bdb20251 [file] [log] [blame]
DESCRIPTION = "libreference-ril"
DEPENDS = "libatchn libsoftap libnvram libsofttimer libatutils"
SECTION = "lib"
LICENSE = "zte"
PV = "1.0.0"
PR = "r0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/zte;md5=c075689d1d1e06d4ab5bbe53623a6808"
#配置code路径信息。
FILESEXTRAPATHS_prepend :="${APP-OPEN-PATH}:"
SRC_URI = " \
file://ril/ \
"
S = "${WORKDIR}"
#引用公用头文件和编译选项。
include ${BSPDIR}/sources/meta-zxic/conf/app_com.inc
#编译
do_compile () {
make -C ril/reference-ril
}
#库和头文件的安装
do_install () {
install -d ${D}${libdir}/
install -d ${D}/usr/include
install -d ${D}/usr/include/telephony
install -m 0755 ${S}/ril/reference-ril/libreference-ril.so ${D}${libdir}/
install -m 0644 ${S}/ril/include/telephony/*.h ${D}/usr/include/telephony/
#install elfs
install -d ${ELFS-PATH}/
install -m 0755 ${S}/ril/reference-ril/libreference-ril.so ${ELFS-PATH}/
}
#清库
do_cleanlibs () {
rm -fr ${ELFS-PATH}/libreference-ril.so
}
#rootfs包含的文件
FILES_${PN} += "${libdir}/*.so"
FILES_${PN}-dbg += "${libdir}/.debug"
FILES_SOLIBSDEV = ""
INSANE_SKIP_${PN} = "dev-so"
RDEPENDS_${PN} = "libatchn libsoftap libnvram libsofttimer libatutils"