diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-05-26 15:09:50 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-05-26 15:09:50 +1000 |
| commit | 2af8d2a0e63aa371045895da03ba2bf98b51adb4 (patch) | |
| tree | 27a3245c1e5503bad072710a6f64cbab1bfbacc4 | |
| parent | 5aa58bbbf8ddcc59f8746805d62fd156d7cff461 (diff) | |
| download | meta-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.bb | 16 |
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 | ||
| 8 | UBRANCH ?= "master-next" | 7 | UBRANCH ?= "master" |
| 9 | 8 | ||
| 10 | include u-boot-xlnx.inc | 9 | include u-boot-xlnx.inc |
| 11 | include u-boot-elf.inc | 10 | include u-boot-elf.inc |
| 12 | include u-boot-extra.inc | 11 | include u-boot-extra.inc |
| 13 | 12 | ||
| 13 | DEPENDS += "openssl-native" | ||
| 14 | EXTRA_OEMAKE_append += 'HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLD="${BUILD_LD}" HOSTLDFLAGS="${BUILD_LDFLAGS}"' | ||
| 15 | |||
| 14 | LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" | 16 | LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" |
| 15 | 17 | ||
| 16 | SRCREV="67f6167a0f808ca7051a337858e0db237ce2b972" | 18 | SRCREV = "c0dc1a884dc3509fa3e12235c099f1e4edc24431" |
| 17 | 19 | ||
| 18 | python () { | 20 | python () { |
| 19 | d.setVar("SRCREV", "${AUTOREV}") | 21 | d.setVar("SRCREV", "${AUTOREV}") |
| 20 | } | 22 | } |
| 21 | 23 | ||
| 22 | PR = "r0" | ||
| 23 | PV = "${UBRANCH}${XILINX_EXTENSION}+git" | 24 | PV = "${UBRANCH}${XILINX_EXTENSION}+git" |
| 25 | |||
| 26 | do_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 | } | ||
