meta-netmodule-bsp/recipes-bsp/u-boot/u-boot-imx8-nmhw23_git.bb

29 lines
719 B
BlitzBasic

require u-boot-nm.inc
DEPENDS += "bc-native coreutils-native dtc-native"
# Force machine configuration for this recipe
UBOOT_MACHINE = "imx8_nmhw23_defconfig"
# Be aware github/netmodule git
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2018.03/imx/imx8-nmhw23"
# License
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
# Should be updated when a new U-Boot Version is available
SRCREV ?= "${AUTOREV}"
PV = "v2018.03+git${SRCPV}"
UBOOT_BINARY = "flash.bin"
do_compile() {
sh ${B}build-imx8-nmhw23.sh
}
do_deploy_append() {
cp ${S}/flash.bin ${DEPLOYDIR}/flash.bin
cp ${S}/flash.sd ${DEPLOYDIR}/flash.sd
}