blob: 21bdb4bf0f7c8b5a5f4892776a683ee44f76d1d0 [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 \
Thang Q. Nguyen90bb5e12021-12-30 11:06:27 +000011 file://ampere_add_redfishevent.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}/
Thang Q. Nguyen90bb5e12021-12-30 11:06:27 +000021 install -m 0755 ${WORKDIR}/ampere_add_redfishevent.sh ${D}/${sbindir}/
22}