Commit 046de13c authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed building for rocko

parent 655e9fe3
# when updating from Jethro to Rocko 'cleandirs' is set for S
# So it happily nukes a freshly cloned u-boot repo, so:
# unsetting cleandirs flag:
python(){
d.setVarFlag('do_unpack','cleandirs', '')
}
##########################################################################################
# SRC_URI - Couldn't find how to deal with multiple git repos:
# 1. Tried and it didn't work: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010926.html
......@@ -34,6 +43,7 @@ do_fetch(){
else
echo "Skipped: ${GITDIR_uboot_dir} is already cloned."
fi
}
##########################################################################################
......
DESCRIPTION = "EZYNQ is the Xilinx's bootgen (fsbl) replacement + u-boot. The output is a working BOOT.BIN"
HOMEPAGE = "http://elphel.com;http://blog.elphel.com"
DESCRIPTION = "EZYNQ is the Xilinx's bootgen (FSBL) replacement + u-boot. This recipe generates SPL and U-BOOT images"
HOMEPAGE = "https://elphel.com;https://blog.elphel.com"
SECTION = "bootloaders"
#Project Version
# Project Version
PV = "v2016.05"
#Project Revision
# Project Revision
PR = "r0"
include u-boot-ezynq.inc
PROVIDES = "u-boot virtual/bootloader"
PROVIDES += " u-boot"
# Define the path to the xilinx platform init code/headers
PLATFORM_INIT_DIR ?= "/usr/src/xilinx-platform-init"
#PLATFORM_INIT_DIR ?= "/usr/src/xilinx-platform-init"
PLATFORM_INIT_STAGE_DIR = "${STAGING_DIR_HOST}${PLATFORM_INIT_DIR}"
#PLATFORM_INIT_STAGE_DIR = "${STAGING_DIR_HOST}${PLATFORM_INIT_DIR}"
#UBOOT_CONFIG="dtb"
require recipes-bsp/u-boot/u-boot.inc
DEPENDS = "bc-native dtc-native"
LICENSE = "GPLv2+ & GPLv3"
LIC_FILES_CHKSUM = "file://${GITDIR_uboot}/README;md5=f0b2103a037ad81f10894cc74e3b6212 \
file://${GITDIR_ezynq}/LICENSE;md5=891e49b3c2a8c133ffe7985e54245aff"
# working directory
S = "${WORKDIR}/git/${GITDIR_uboot_dir}"
B = "${S}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PACKAGES = "u-boot-ezynq"
FILES_${PN} = " /boot/*"
##########################################################################################
# Defining u-boot.inc parameters
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment