diff options
author | Benjamin Fair <benjaminfair@google.com> | 2022-10-18 23:33:29 +0300 |
---|---|---|
committer | Benjamin Fair <benjaminfair@google.com> | 2022-10-25 23:22:08 +0300 |
commit | f90af74b70c9aa8f5178567f2a57deae88cedd6b (patch) | |
tree | bc3e33790245ca5e0d6816679d6f2aa52f1e46d6 /meta-nuvoton/recipes-bsp/images/npcm8xx-igps.inc | |
parent | 9777c3d33feaa5fca2dd5bccd84d9792e87d74e7 (diff) | |
download | openbmc-f90af74b70c9aa8f5178567f2a57deae88cedd6b.tar.xz |
meta-nuvoton: move npcm8xx-igps recipe into inc file
This will allow us to use different versions of this recipe for
different platforms.
Tested: No impact to the resulting recipe
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: I5a4e58d0a013ab5ac3df5ff47f02c8004ead6249
Diffstat (limited to 'meta-nuvoton/recipes-bsp/images/npcm8xx-igps.inc')
-rw-r--r-- | meta-nuvoton/recipes-bsp/images/npcm8xx-igps.inc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-nuvoton/recipes-bsp/images/npcm8xx-igps.inc b/meta-nuvoton/recipes-bsp/images/npcm8xx-igps.inc new file mode 100644 index 0000000000..c4202e49df --- /dev/null +++ b/meta-nuvoton/recipes-bsp/images/npcm8xx-igps.inc @@ -0,0 +1,25 @@ +SUMMARY = "Image Generation and Programming Scripts for NPCM8XX (Arbel) devices" +DESCRIPTION = "Image Generation and Programming Scripts for NPCM8XX (Arbel) devices" +HOMEPAGE = "https://github.com/Nuvoton-Israel/igps-npcm8xx" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +IGPS_BRANCH ?= "main" +SRC_URI = " \ + git://github.com/Nuvoton-Israel/igps-npcm8xx;branch=${IGPS_BRANCH};protocol=https \ + file://0001-Adjust-paths-for-use-with-Bitbake.patch \ +" + +S = "${WORKDIR}/git" + +DEST = "${D}${datadir}/${BPN}" + +do_install() { + install -d ${DEST} + install py_scripts/ImageGeneration/references/BootBlockAndHeader_${DEVICE_GEN}_${IGPS_MACHINE}.xml ${DEST} + install py_scripts/ImageGeneration/references/UbootHeader_${DEVICE_GEN}.xml ${DEST} + install py_scripts/ImageGeneration/inputs/BL31_AndHeader.xml ${DEST} + install py_scripts/ImageGeneration/inputs/OpTeeAndHeader.xml ${DEST} +} + +inherit native |