28 lines
770 B
BlitzBasic
28 lines
770 B
BlitzBasic
require u-boot-nm.inc
|
|
|
|
# Force machine configuration for this recipe
|
|
UBOOT_MACHINE = "armada-385-nbhw18-v1_defconfig"
|
|
|
|
# Be aware github/netmodule git
|
|
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=nbhw-armada-v2017.11"
|
|
|
|
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
|
|
}
|
|
|