blob: 529d0e1949e3b9ce845562d4487c126ebc2d214d [file] [log] [blame]
DESCRIPTION = "libsqlite"
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}/platform:"
SRC_URI = " \
file://libsqlite \
"
DEPENDS = ""
S = "${WORKDIR}"
#引用公用头文件和编译选项。
include ${BSPDIR}/sources/meta-zxic/conf/app_com.inc
do_compile () {
make -C libsqlite
}
do_install () {
install -d ${D}${libdir}/
install -d ${D}/usr/include
install -m 0755 ${S}/libsqlite/libsqlite.so ${D}${libdir}/
install -m 0755 ${S}/libsqlite/libsqlite.a ${D}${libdir}/
install -m 0644 ${S}/libsqlite/sqlite3.h ${D}/usr/include
install -d ${ELFS-PATH}/
install -m 0755 ${S}/libsqlite/libsqlite.so ${ELFS-PATH}/
}
#清库
do_cleanlibs () {
rm -fr ${ELFS-PATH}/libsqlite.so
}
FILES_${PN} += "${libdir}/*.so"
FILES_${PN}-dbg += "${libdir}/.debug"
FILES_SOLIBSDEV = ""
INSANE_SKIP_${PN} = "dev-so"