blob: 6d62270c4302bf838a89a3fd8071974f67b3049d [file] [log] [blame]
DESCRIPTION = "libdebug-info"
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}/sdk:"
SRC_URI = " \
file://libdebug_info \
"
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 libdebug_info
}
#库和头文件的安装
do_install () {
install -d ${D}${libdir}/
install -d ${D}/usr/include
install -m 0755 ${S}/libdebug_info/libdebug_info.so ${D}${libdir}/
install -m 0755 ${S}/libdebug_info/libdebug_info.a ${D}${libdir}/
#install elfs
install -d ${ELFS-PATH}/
install -m 0755 ${S}/libdebug_info/libdebug_info.so ${ELFS-PATH}/
}
#清库
do_cleanlibs () {
rm -fr ${ELFS-PATH}/libdebug_info.so
}
#rootfs包含的文件
FILES_${PN} += "${libdir}/*.so"
FILES_${PN}-dbg += "${libdir}/.debug"
FILES_SOLIBSDEV = ""
INSANE_SKIP_${PN} = "dev-so"