diff options
author | Philip Balister <philip@balister.org> | 2014-10-27 14:21:57 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-10-27 17:57:17 +1000 |
commit | ee9051f25a435125a6ec4e51b2a6a2db701268b1 (patch) | |
tree | ed058744e354058e7c3756e7f3ab410efe508a40 | |
parent | 14a88e974ce149030046873250e45c274b26a0d8 (diff) | |
download | meta-xilinx-ee9051f25a435125a6ec4e51b2a6a2db701268b1.tar.gz |
u-boot-xlnx.inc: Add support for building working SPL
You need to add the files ps7_init.[ch] via a board specific
SRC_URI append. The ps7 files should be GPL licensed to avoid
license headaches.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r-- | recipes-bsp/u-boot/u-boot-xlnx.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-xlnx.inc b/recipes-bsp/u-boot/u-boot-xlnx.inc index ee6b32c2..a2816439 100644 --- a/recipes-bsp/u-boot/u-boot-xlnx.inc +++ b/recipes-bsp/u-boot/u-boot-xlnx.inc | |||
@@ -4,7 +4,17 @@ LICENSE = "GPLv2+" | |||
4 | 4 | ||
5 | XILINX_EXTENSION = "-xilinx" | 5 | XILINX_EXTENSION = "-xilinx" |
6 | 6 | ||
7 | FILESEXTRAPATHS += "${THISDIR}/u-boot-xlnx:" | ||
8 | SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" | 7 | SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" |
9 | 8 | ||
9 | SPL_BINARY_zynq = "boot.bin" | ||
10 | UBOOT_SUFFIX = "img" | ||
11 | |||
12 | do_configure_prepend () { | ||
13 | if test -e ${WORKDIR}/ps7_init.h; then | ||
14 | cp ${WORKDIR}/ps7_init.h ${S}/board/xilinx/zynq/ | ||
15 | cp ${WORKDIR}/ps7_init.c ${S}/board/xilinx/zynq/ | ||
16 | fi | ||
17 | } | ||
18 | |||
10 | include u-boot-extra.inc | 19 | include u-boot-extra.inc |
20 | |||