37 lines
1.1 KiB
BlitzBasic
37 lines
1.1 KiB
BlitzBasic
# Copyright (C) 2012-2015 Digi International
|
|
|
|
require recipes-bsp/u-boot/u-boot.inc
|
|
|
|
DESCRIPTION = "Bootloader for Digi platforms"
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://Licenses/README;md5=c7383a594871c03da76b3707929d2919"
|
|
|
|
DEPENDS += "dtc-native u-boot-mkimage-native"
|
|
|
|
PROVIDES += "u-boot"
|
|
|
|
# Internal repo branch
|
|
SRCBRANCH = "v2015.04/master"
|
|
|
|
SRCREV_external = ""
|
|
SRCREV_internal = "cceb7e3aaa6830162a2f4cbf0029e2047d40b983"
|
|
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
|
|
|
|
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-uboot.git;protocol=git;nobranch=1"
|
|
SRC_URI_internal = "${DIGI_GIT}u-boot-denx.git;protocol=git;nobranch=1"
|
|
SRC_URI = " \
|
|
${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_internal}', '${SRC_URI_external}', d)} \
|
|
file://boot.txt \
|
|
"
|
|
|
|
LOCALVERSION ?= ""
|
|
inherit fsl-u-boot-localversion
|
|
|
|
EXTRA_OEMAKE_append = " KCFLAGS=-fgnu89-inline"
|
|
|
|
do_deploy_append() {
|
|
mkimage -T script -n bootscript -C none -d ${WORKDIR}/boot.txt ${DEPLOYDIR}/boot.scr
|
|
}
|
|
|
|
COMPATIBLE_MACHINE = "(ccimx6)"
|