Files
2026-09-22 09:38:26 +08:00

44 lines
1.0 KiB
BlitzBasic
Executable File

# SPDX-FileCopyrightText: 2022 Unisoc (Shanghai) Technologies Co., Ltd.
#
# SPDX-License-Identifier: LicenseRef-Unisoc-General-1.0
DESCRIPTION = "Unisoc Nativemmi Module"
HOMEPAGE = "http://www.unisoc.com/"
LICENSE = "Unisoc-General-1.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=7a709ac98a9d8606af72d15cafa6a147"
SECTION:${PN} = "libs"
SRC_URI = "ssh://gitadmin@gitmirror.unisoc.com/yocto/unisoc/unirlog;protocol=ssh;branch=unc_linux_trunk_2.0"
EXTERNALSRC_BUILD = "${EXTERNALSRC}"
# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "${AUTOREV}"
DEPENDS = ""
RDEPENDS:${PN} = ""
do_compile () {
# Specify compilation commands here
oe_runmake -C ${S}
}
do_install () {
# Specify install commands here
oe_runmake -C ${S} install DESTDIR=${D}
}
do_install:append () {
install -d ${D}${includedir}/
install -m 0644 ${S}/UnirlogSocket.h ${D}${includedir}/UnirlogSocket.h
}
FILES:${PN} += " \
${libdir}/libunirlogsocket.so \
"
FILES:${PN}-dev =" \
${includedir}/UnirlogSocket.h \
"
TARGET_CC_ARCH += "${LDFLAGS}"