diff options
author | Benjamin Fair <benjaminfair@google.com> | 2019-10-22 04:45:41 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-11-12 19:51:10 +0300 |
commit | fbf258a361056e803832df080828c1dd75833840 (patch) | |
tree | bef25eb05e3d39d3864fd2554087be762145a07c /meta-nuvoton/recipes-bsp/images/npcm7xx-igps-native_02.01.12.bb | |
parent | 19763b2c77c3394d11654d42624f03e2a2706137 (diff) | |
download | openbmc-fbf258a361056e803832df080828c1dd75833840.tar.xz |
meta-nuvoton: add npcm7xx-igps recipe
Fetch the XML files which describe how to assemble the bootloaders for
an NPCM7XX BMC.
Apply a patch which changes the image paths to work with our BitBake
build environment. The original files are intended to be used with
custom Python build scripts which place the intermediate images at
different paths than we use.
(From meta-nuvoton rev: 878ffb6430f74d9b3398797a04f429ab2dc3f679)
Change-Id: I90877d4f288afc75d6ba29045d13064b610275a6
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-nuvoton/recipes-bsp/images/npcm7xx-igps-native_02.01.12.bb')
-rw-r--r-- | meta-nuvoton/recipes-bsp/images/npcm7xx-igps-native_02.01.12.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-nuvoton/recipes-bsp/images/npcm7xx-igps-native_02.01.12.bb b/meta-nuvoton/recipes-bsp/images/npcm7xx-igps-native_02.01.12.bb new file mode 100644 index 0000000000..c04d92a0a2 --- /dev/null +++ b/meta-nuvoton/recipes-bsp/images/npcm7xx-igps-native_02.01.12.bb @@ -0,0 +1,25 @@ +SUMMARY = "Image Generation and Programming Scripts for NPCM7XX (Poleg) devices" +DESCRIPTION = "Image Generation and Programming Scripts for NPCM7XX (Poleg) devices" +HOMEPAGE = "https://github.com/Nuvoton-Israel/igps" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = " \ + git://github.com/Nuvoton-Israel/igps \ + file://0001-Adjust-paths-for-use-with-Bitbake.patch \ +" +# tag IGPS_02.01.12 +SRCREV = "2fb1a3b0d61164ed1157e27889a4ec2292cbc760" + +S = "${WORKDIR}/git" + +DEST = "${D}${datadir}/${BPN}" + +do_install() { + install -d ${DEST} + install ImageGeneration/references/BootBlockAndHeader_${IGPS_MACHINE}.xml ${DEST} + install ImageGeneration/references/UbootHeader_${IGPS_MACHINE}.xml ${DEST} + install ImageGeneration/inputs/mergedBootBlockAndUboot.xml ${DEST} +} + +inherit native |