Benjamin Fair | f90af74 | 2022-10-18 20:33:29 +0000 | [diff] [blame] | 1 | SUMMARY = "Image Generation and Programming Scripts for NPCM8XX (Arbel) devices" |
| 2 | DESCRIPTION = "Image Generation and Programming Scripts for NPCM8XX (Arbel) devices" |
| 3 | HOMEPAGE = "https://github.com/Nuvoton-Israel/igps-npcm8xx" |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 6 | |
| 7 | IGPS_BRANCH ?= "main" |
| 8 | SRC_URI = " \ |
| 9 | git://github.com/Nuvoton-Israel/igps-npcm8xx;branch=${IGPS_BRANCH};protocol=https \ |
Benjamin Fair | f90af74 | 2022-10-18 20:33:29 +0000 | [diff] [blame] | 10 | " |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | DEST = "${D}${datadir}/${BPN}" |
| 15 | |
Benjamin Fair | 5d5c9f1 | 2022-10-19 21:28:35 +0000 | [diff] [blame] | 16 | # Adjust paths for use with bitbake |
| 17 | do_patch() { |
| 18 | sed -i -e 's,inputs/,,g' ${S}/py_scripts/ImageGeneration/{references,inputs}/*.xml |
| 19 | } |
| 20 | |
Benjamin Fair | f90af74 | 2022-10-18 20:33:29 +0000 | [diff] [blame] | 21 | do_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 | |
| 29 | inherit native |