29 lines
826 B
BlitzBasic
29 lines
826 B
BlitzBasic
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"
|
|
SRCREV = "${AUTOREV}"
|
|
|
|
PV = "v2017.11+git${SRCPV}"
|
|
|
|
UBOOT_SUFFIX = "kwb"
|
|
UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
|
|
|
|
do_deploy_append() {
|
|
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}/spl-${PN}.xmodem.bin
|
|
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.xmodem.bin
|
|
cp ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX}
|
|
}
|
|
|