HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" DESCRIPTION = "U-Boot, a boot loader for Embedded boards based on PowerPC, \ ARM, MIPS and several other processors, which can be installed in a boot \ ROM and used to initialize and test the hardware or to download and run \ application code." SECTION = "bootloaders" DEPENDS += "flex-native bison-native" COMPATIBLE_MACHINE = "cn913x" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse SRCREV = "c11f5649c2053684dc8f6658228cf3e9baf47422" # Patch from https://github.com/SolidRun/cn913x_build # Git SHA: f33e2aeb01c7ee061be7b053035ae87ce30fce4a SRC_URI = "git://git@bitbucket.gad.local:7999/nm-nsp/netmodule-u-boot.git;protocol=ssh;user=git;branch=sdk11.23.08-v2020.10-nitroc" S = "${WORKDIR}/git" require recipes-bsp/u-boot/u-boot.inc require recipes-bsp/u-boot/u-boot-coreos.inc # Solidrun patches require to build out-of-the-tree B = "${WORKDIR}/build" DEPENDS += "bc-native dtc-native u-boot-mkimage-native" do_compile:prepend() { export DEVICE_TREE="${UBOOT_BUILDENV_DEVICE_TREE}" } SYSROOT_DIRS += " /boot "