blob: 7650e8c3fd5f58b7d4717e1023552d50faefaea2 [file] [log] [blame]
xf.libdd93d52023-05-12 07:10:14 -07001DESCRIPTION = "libscipc"
2DEPENDS = ""
3SECTION = "lib"
4LICENSE = "zte"
5PV = "1.0.0"
6PR = "r0"
7LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/zte;md5=c075689d1d1e06d4ab5bbe53623a6808"
8
9#配置code路径信息。
10FILESEXTRAPATHS_prepend :="${APP-OPEN-PATH}/sdk:"
11SRC_URI = " \
12 file://libscipc \
13 "
14
15S = "${WORKDIR}"
16#引用公用头文件和编译选项。
17include ${BSPDIR}/sources/meta-zxic/conf/app_com.inc
18
19#编译
20do_compile () {
21 make -C libscipc
22}
23
24#库和头文件的安装
25do_install () {
26 install -d ${D}${libdir}/
27 install -d ${D}/usr/include
28 install -m 0755 ${S}/libscipc/libscipc.so ${D}${libdir}/
29 install -m 0755 ${S}/libscipc/libscipc.a ${D}${libdir}/
30
31 install -m 0644 ${S}/libscipc/sc_ipc.h ${D}/usr/include/
32
33 #install elfs
34 install -d ${ELFS-PATH}/
35 install -m 0755 ${S}/libscipc/libscipc.so ${ELFS-PATH}/
36}
37
38#清库
39do_cleanlibs () {
40 rm -fr ${ELFS-PATH}/libscipc.so
41}
42
43#rootfs包含的文件
44FILES_${PN} += "${libdir}/*.so"
45FILES_${PN}-dbg += "${libdir}/.debug"
46FILES_SOLIBSDEV = ""
47INSANE_SKIP_${PN} = "dev-so"