blob: 159ccdd645939a26993d3d1836a398679577b412 [file] [log] [blame]
ThuBaNguyenfb214782021-07-08 14:20:43 +07001SUMMARY = "Ampere Platform Environment Definitions"
2DESCRIPTION = "Ampere Platform Environment Definitions"
3PR = "r1"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
6
7SRC_URI = " \
8 file://gpio-defs.sh \
ThuBaNguyen7b452822021-06-06 14:36:07 +07009 file://gpio-lib.sh \
ThuBaNguyenfb214782021-07-08 14:20:43 +070010 file://ampere_power_util.sh \
ThuBaNguyen7b452822021-06-06 14:36:07 +070011 file://ampere_host_check.sh \
ThuBaNguyenfb214782021-07-08 14:20:43 +070012 "
13
14RDEPENDS_${PN} = "bash"
15
16do_install() {
17 install -d ${D}/usr/sbin
ThuBaNguyen7b452822021-06-06 14:36:07 +070018 install -m 0755 ${WORKDIR}/gpio-lib.sh ${D}/${sbindir}/
ThuBaNguyenfb214782021-07-08 14:20:43 +070019 install -m 0755 ${WORKDIR}/gpio-defs.sh ${D}/${sbindir}/
20 install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/
ThuBaNguyen7b452822021-06-06 14:36:07 +070021 install -m 0755 ${WORKDIR}/ampere_host_check.sh ${D}/${sbindir}/
ThuBaNguyenfb214782021-07-08 14:20:43 +070022}