summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-utils.bb
blob: 1ed440a2bd269272bcfe21dda5bb1bcdad8068bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUMMARY = "Ampere Platform Environment Definitions"
DESCRIPTION = "Ampere Platform Environment Definitions"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

SRC_URI = " \
          file://gpio-defs.sh \
          file://gpio-lib.sh \
          file://ampere_power_util.sh \
          file://ampere_host_check.sh \
          "

RDEPENDS:${PN} = "bash"

do_install() {
    install -d ${D}/usr/sbin
    install -m 0755 ${WORKDIR}/gpio-lib.sh ${D}/${sbindir}/
    install -m 0755 ${WORKDIR}/gpio-defs.sh ${D}/${sbindir}/
    install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/
    install -m 0755 ${WORKDIR}/ampere_host_check.sh ${D}/${sbindir}/
}