nrhw18 - add new u-boot machine type nrhw18-v2
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This commit is contained in:
parent
36f8729b25
commit
9f9bd7c800
|
|
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue