33 lines
757 B
BlitzBasic
Executable File
33 lines
757 B
BlitzBasic
Executable File
# SPDX-FileCopyrightText: 2021 Unisoc (Shanghai) Technologies Co., Ltd.
|
|
#
|
|
# SPDX-License-Identifier: LicenseRef-Unisoc-General-1.0
|
|
|
|
DESCRIPTION = "Unisoc sprd-sign module"
|
|
HOMEPAGE = "http://www.unisoc.com/"
|
|
LICENSE = "CLOSED"
|
|
require sprd-sign.inc
|
|
|
|
SECTION = "bin"
|
|
PV = "0.1"
|
|
PR = "r0"
|
|
|
|
|
|
EXTERNALSRC_BUILD = "${EXTERNALSRC}"
|
|
|
|
do_install:prepend () {
|
|
if [ ${PACKIMAGE_SOURCE_SRC_MODE} != "customer" ]; then
|
|
rm -rf ${PACKIMAGE_SOURCE_INSTALL_DIR}
|
|
install -d ${PACKIMAGE_SOURCE_INSTALL_DIR}
|
|
install -m 0777 ${S}/sprd-sign ${PACKIMAGE_SOURCE_INSTALL_DIR}
|
|
fi
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}${bindir}/
|
|
install -m 0755 ${S}/sprd-sign ${OEROOT}/prebuilts/scripts/packimage_scripts/sprd_sign
|
|
}
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|