ThuBaNguyen | fb21478 | 2021-07-08 14:20:43 +0700 | [diff] [blame] | 1 | SUMMARY = "Ampere Platform Environment Definitions" |
| 2 | DESCRIPTION = "Ampere Platform Environment Definitions" |
| 3 | PR = "r1" |
| 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 6 | |
| 7 | SRC_URI = " \ |
| 8 | file://gpio-defs.sh \ |
ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 9 | file://gpio-lib.sh \ |
ThuBaNguyen | fb21478 | 2021-07-08 14:20:43 +0700 | [diff] [blame] | 10 | file://ampere_power_util.sh \ |
ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 11 | file://ampere_host_check.sh \ |
ThuBaNguyen | fb21478 | 2021-07-08 14:20:43 +0700 | [diff] [blame] | 12 | " |
| 13 | |
Thang Q. Nguyen | fa1aa4d | 2021-08-07 05:09:50 +0000 | [diff] [blame^] | 14 | RDEPENDS:${PN} = "bash" |
ThuBaNguyen | fb21478 | 2021-07-08 14:20:43 +0700 | [diff] [blame] | 15 | |
| 16 | do_install() { |
| 17 | install -d ${D}/usr/sbin |
ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 18 | install -m 0755 ${WORKDIR}/gpio-lib.sh ${D}/${sbindir}/ |
ThuBaNguyen | fb21478 | 2021-07-08 14:20:43 +0700 | [diff] [blame] | 19 | install -m 0755 ${WORKDIR}/gpio-defs.sh ${D}/${sbindir}/ |
| 20 | install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/ |
ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 21 | install -m 0755 ${WORKDIR}/ampere_host_check.sh ${D}/${sbindir}/ |
ThuBaNguyen | fb21478 | 2021-07-08 14:20:43 +0700 | [diff] [blame] | 22 | } |