diff --git a/recipes-bsp/u-boot/u-boot-armada-nrhw18-v2_git.bb b/recipes-bsp/u-boot/u-boot-armada-nrhw18-v2_git.bb new file mode 100644 index 0000000..00375a1 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-armada-nrhw18-v2_git.bb @@ -0,0 +1,27 @@ +require u-boot-nm.inc + +# Force machine configuration for this recipe +UBOOT_MACHINE = "armada-385-nrhw18-v2_defconfig" + +# Be aware github/netmodule git +SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2017.11-armada-nrhw" + +DEPENDS = "bc-native" + +# Should be updated when a new U-Boot Version is available +SRCREV ?= "f665946cc415e628b237fcf846bda1debf40980b" + +PV = "v2017.11+git${SRCPV}" + +UBOOT_SUFFIX = "kwb" +UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}" + +do_deploy() { + rm -f ${DEPLOYDIR}/${PN}-spl.bin + rm -f ${DEPLOYDIR}/${PN}.bin + rm -f ${DEPLOYDIR}/${PN}-spl.kwb + cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/${PN}-spl.bin + cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.bin + cp ${S}/u-boot-spl.kwb ${DEPLOYDIR}/${PN}.kwb +} +