Files
BPI-M2C/source_sync_rls_25c/layers/meta-unisoc/recipes-devtools/aprd/aprdctl.bb
T

35 lines
886 B
BlitzBasic
Raw Normal View History

2026-09-22 09:38:26 +08:00
# SPDX-FileCopyrightText: 2023 Unisoc (Shanghai) Technologies Co., Ltd.
#
# SPDX-License-Identifier: LicenseRef-Unisoc-General-1.0
DESCRIPTION = "Unisoc APRD Module"
HOMEPAGE = "http://www.unisoc.com/"
LICENSE = "Unisoc-General-1.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=6ec6785348c6cef0f1ba4743a50ff8aa"
SECTION:${PN} = "base"
SRC_URI = "ssh://gitadmin@gitmirror.unisoc.com/yocto/unisoc/aprd;protocol=ssh;branch=unc_linux_trunk_2.0"
# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "${AUTOREV}"
PROVIDES = "aprdctl"
EXTERNALSRC_BUILD = "${EXTERNALSRC}"
DEPENDS = "iniparser curl"
RDEPENDS:${PN} = "iniparser curl"
do_compile () {
# Specify compilation commands here
oe_runmake -C ${S}
}
do_install () {
# Specify install commands here
oe_runmake -C ${S} install DESTDIR=${D}
}
FILES:${PN} += " \
${bindir}/aprdctl \
"
TARGET_CC_ARCH += "${LDFLAGS}"