blob: 03f7f02ca6108b6c10ade672fcbc8159f33b4fa0 [file] [log] [blame]
Jayanth Othayoth942f57f2021-06-21 07:23:09 -05001SUMMARY = "Tools and libraries to manage the phal devicetree"
2DESCRIPTION = "phal(power hardware abstraction layer) devicetree data \
3modelling mainly includes the host hardware topology and attributes, \
4which includes the configuration data"
5
6PR = "r1"
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
9
10PDATA_DTB_PATH="${datadir}/pdata"
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000011FILES:${PN} += "${PDATA_DTB_PATH}"
Jayanth Othayoth942f57f2021-06-21 07:23:09 -050012
13do_install() {
14
15 DTB_FILE_ENV=power-target.sh
16 DTB_FILE_CONF_PATH=${D}${PDATA_DTB_PATH}
17
18 install -d ${DTB_FILE_CONF_PATH}
19 install -m 744 ${THISDIR}/files/${DTB_FILE_ENV} ${DTB_FILE_CONF_PATH}/${DTB_FILE_ENV}
20 install -d ${D}${sysconfdir}/profile.d
21 ln -s ${PDATA_DTB_PATH}/${DTB_FILE_ENV} ${D}${sysconfdir}/profile.d/${DTB_FILE_ENV}
22}