42 lines
908 B
BlitzBasic
Executable File
42 lines
908 B
BlitzBasic
Executable File
# SPDX-FileCopyrightText: 2022 Unisoc (Shanghai) Technologies Co., Ltd.
|
|
#
|
|
# SPDX-License-Identifier: LicenseRef-Unisoc-General-1.0
|
|
DESCRIPTION = "Unisoc libethernet module"
|
|
HOMEPAGE = "http://www.unisoc.com/"
|
|
LICENSE = "Unisoc-General-1.0"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=9ce10beeb406b199db3323ee053454c3"
|
|
SECTION:${PN} = "libs"
|
|
|
|
SRC_URI = "ssh://gitadmin@gitmirror.unisoc.com/yocto/unisoc/engpc;protocol=ssh;branch=unc_glp_engpc"
|
|
|
|
# Modify these as desired
|
|
PV = "1.0+git${SRCPV}"
|
|
SRCREV = "${AUTOREV}"
|
|
|
|
DEPENDS = "engpc"
|
|
|
|
EXTERNALSRC_BUILD = "${EXTERNALSRC}"
|
|
|
|
EXTRA_OEMAKE = "\
|
|
'CC=${CC}' \
|
|
'AR=${AR}' \
|
|
'LDFLAGS=${LDFLAGS}' \
|
|
"
|
|
|
|
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} += " \
|
|
${libdir}/npidevice/libethernet.so \
|
|
"
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|