blob: 1ed440a2bd269272bcfe21dda5bb1bcdad8068bb [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
Thang Q. Nguyenfa1aa4d2021-08-07 05:09:50 +000014RDEPENDS:${PN} = "bash"
ThuBaNguyenfb214782021-07-08 14:20:43 +070015
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}