37 lines
847 B
BlitzBasic
Executable File
37 lines
847 B
BlitzBasic
Executable File
# SPDX-FileCopyrightText: 2021 Unisoc (Shanghai) Technologies Co., Ltd.
|
|
#
|
|
# SPDX-License-Identifier: LicenseRef-Unisoc-General-1.0
|
|
DESCRIPTION = "Unisoc Engpc-Ctl Module"
|
|
HOMEPAGE = "http://www.unisoc.com/"
|
|
LICENSE = "Unisoc-General-1.0"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=0c3d3a15cada12cfaf94e8a91052a981"
|
|
SECTION:${PN} = "base"
|
|
|
|
SRC_URI = "ssh://[email protected]/yocto/unisoc/engpc;protocol=ssh;branch=unc_glp_engpc"
|
|
|
|
# Modify these as desired
|
|
PV = "1.0+git${SRCPV}"
|
|
SRCREV = "${AUTOREV}"
|
|
|
|
DEPENDS = "iniparser"
|
|
RDEPENDS:${PN} = "iniparser"
|
|
|
|
EXTERNALSRC_BUILD = "${EXTERNALSRC}"
|
|
|
|
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}/engpc-ctl \
|
|
"
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|