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