blob: 3906a8c7383902187ff55123f127d166c4a4973b [file] [log] [blame]
Benjamin Fairf90af742022-10-18 20:33:29 +00001SUMMARY = "Image Generation and Programming Scripts for NPCM8XX (Arbel) devices"
2DESCRIPTION = "Image Generation and Programming Scripts for NPCM8XX (Arbel) devices"
3HOMEPAGE = "https://github.com/Nuvoton-Israel/igps-npcm8xx"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7IGPS_BRANCH ?= "main"
8SRC_URI = " \
9 git://github.com/Nuvoton-Israel/igps-npcm8xx;branch=${IGPS_BRANCH};protocol=https \
Benjamin Fairf90af742022-10-18 20:33:29 +000010"
11
12S = "${WORKDIR}/git"
13
14DEST = "${D}${datadir}/${BPN}"
15
Benjamin Fair5d5c9f12022-10-19 21:28:35 +000016# Adjust paths for use with bitbake
17do_patch() {
Benjamin Fair3a39b8b2022-10-26 17:04:57 +000018 sed -i -e 's,inputs/,,g' ${S}/py_scripts/ImageGeneration/references/*.xml \
19 ${S}/py_scripts/ImageGeneration/inputs/*.xml
Benjamin Fair5d5c9f12022-10-19 21:28:35 +000020}
21
Benjamin Fairf90af742022-10-18 20:33:29 +000022do_install() {
23 install -d ${DEST}
24 install py_scripts/ImageGeneration/references/BootBlockAndHeader_${DEVICE_GEN}_${IGPS_MACHINE}.xml ${DEST}
25 install py_scripts/ImageGeneration/references/UbootHeader_${DEVICE_GEN}.xml ${DEST}
26 install py_scripts/ImageGeneration/inputs/BL31_AndHeader.xml ${DEST}
27 install py_scripts/ImageGeneration/inputs/OpTeeAndHeader.xml ${DEST}
28}
29
30inherit native