summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-05-26 15:09:50 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-05-26 15:09:50 +1000
commit2af8d2a0e63aa371045895da03ba2bf98b51adb4 (patch)
tree27a3245c1e5503bad072710a6f64cbab1bfbacc4
parent5aa58bbbf8ddcc59f8746805d62fd156d7cff461 (diff)
downloadmeta-xilinx-2af8d2a0e63aa371045895da03ba2bf98b51adb4.tar.gz
u-boot-xlnx-dev: Update for 2015.04 of u-boot-xlnx master
* U-Boot now relies on openssl for its tools build * Force the use of the HOSTCC == BUILD_CC Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx-dev.bb16
1 files changed, 12 insertions, 4 deletions
diff --git a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
index 717a1d5c..411663d1 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
@@ -3,21 +3,29 @@
3# 3#
4# To enable this recipe, set the following in your machine or local.conf 4# To enable this recipe, set the following in your machine or local.conf
5# PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx-dev" 5# PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx-dev"
6# PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx-dev"
7 6
8UBRANCH ?= "master-next" 7UBRANCH ?= "master"
9 8
10include u-boot-xlnx.inc 9include u-boot-xlnx.inc
11include u-boot-elf.inc 10include u-boot-elf.inc
12include u-boot-extra.inc 11include u-boot-extra.inc
13 12
13DEPENDS += "openssl-native"
14EXTRA_OEMAKE_append += 'HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLD="${BUILD_LD}" HOSTLDFLAGS="${BUILD_LDFLAGS}"'
15
14LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" 16LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c"
15 17
16SRCREV="67f6167a0f808ca7051a337858e0db237ce2b972" 18SRCREV = "c0dc1a884dc3509fa3e12235c099f1e4edc24431"
17 19
18python () { 20python () {
19 d.setVar("SRCREV", "${AUTOREV}") 21 d.setVar("SRCREV", "${AUTOREV}")
20} 22}
21 23
22PR = "r0"
23PV = "${UBRANCH}${XILINX_EXTENSION}+git" 24PV = "${UBRANCH}${XILINX_EXTENSION}+git"
25
26do_compile_append() {
27 # link u-boot-dtb.img to u-boot.img.
28 if [ ! -e ${B}/u-boot-dtb.img ]; then
29 ln -sf u-boot.img ${B}/u-boot-dtb.img
30 fi
31}