From fbf258a361056e803832df080828c1dd75833840 Mon Sep 17 00:00:00 2001 From: Benjamin Fair Date: Mon, 21 Oct 2019 18:45:41 -0700 Subject: 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 Signed-off-by: Brad Bishop --- .../images/npcm7xx-igps-native_02.01.12.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-nuvoton/recipes-bsp/images/npcm7xx-igps-native_02.01.12.bb (limited to 'meta-nuvoton/recipes-bsp/images/npcm7xx-igps-native_02.01.12.bb') 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 000000000..c04d92a0a --- /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 -- cgit v1.2.3