blob: 5d64d17662d9b022edf763e08e2aab90208c3d22 [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() {
18 sed -i -e 's,inputs/,,g' ${S}/py_scripts/ImageGeneration/{references,inputs}/*.xml
19}
20
Benjamin Fairf90af742022-10-18 20:33:29 +000021do_install() {
22 install -d ${DEST}
23 install py_scripts/ImageGeneration/references/BootBlockAndHeader_${DEVICE_GEN}_${IGPS_MACHINE}.xml ${DEST}
24 install py_scripts/ImageGeneration/references/UbootHeader_${DEVICE_GEN}.xml ${DEST}
25 install py_scripts/ImageGeneration/inputs/BL31_AndHeader.xml ${DEST}
26 install py_scripts/ImageGeneration/inputs/OpTeeAndHeader.xml ${DEST}
27}
28
29inherit native