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
}
##########################################################################################
......@@ -44,7 +54,7 @@ do_unpack(){
if [ ! -h "${GITDIR_uboot}/${GITDIR_ezynq_label}" ]; then
ln -s ${GITDIR_ezynq} "${GITDIR_uboot}/${GITDIR_ezynq_label}"
fi
fi
if [ ! -f "${GITDIR_ezynq}/${PATCH_NAME}" ]; then
cd ${GITDIR_ezynq}
......@@ -112,7 +122,7 @@ do_compile(){
cat boot_head.bin $UBOOT_FILE > boot.bin
oe_runmake env
cd ${WORKDIR}
}
......
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
......@@ -57,6 +62,6 @@ SRCREV_uboot= "aeaec0e682f45b9e0c62c522fafea353931f73ed"
#for u-boot-xlnx
#SRCREV_uboot= "01b1fea9b13b799a16efd743587dc861719e5212"
PATCH_NAME= "ezynq.patch"
PATCH_NAME= "ezynq.patch"
include u-boot-ezynq-tasks.inc
\ No newline at end of file
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