summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2015-11-26 15:48:04 +1000
committerNathan Rossi <nathan@nathanrossi.com>2015-11-26 15:48:04 +1000
commit9fc69a54a6c8f78f310dc3c765b1ede4811a9821 (patch)
tree14264af6354cd13588ddb226613736bf7c15f8dc /recipes-bsp
parent34736392307c45c25176a135edde672b8ca5062e (diff)
downloadmeta-xilinx-9fc69a54a6c8f78f310dc3c765b1ede4811a9821.tar.gz
Fix up use of '_append +='
The use of '_append' and '+=' together is considered bad practice within recipes. It is preferred to explicitly add the preceeding spaces where they are applicable instead of using the '+=' to achieve the same result. Change all the uses of '_append +=' to match the recommended pattern, adding in spaces where explicitly required. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/u-boot/u-boot-extra.inc2
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx_2015.04.bb4
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes-bsp/u-boot/u-boot-extra.inc b/recipes-bsp/u-boot/u-boot-extra.inc
index d5f5819a..ff824d85 100644
--- a/recipes-bsp/u-boot/u-boot-extra.inc
+++ b/recipes-bsp/u-boot/u-boot-extra.inc
@@ -6,7 +6,7 @@ inherit xilinx-utils
6FILESEXTRAPATHS_append := "${@get_additional_bbpath_filespath('conf/machine/boards', d)}" 6FILESEXTRAPATHS_append := "${@get_additional_bbpath_filespath('conf/machine/boards', d)}"
7 7
8# Append the xparameters file to the SRC_URI if set 8# Append the xparameters file to the SRC_URI if set
9SRC_URI_append += " ${@paths_affix(d.getVar("MACHINE_XPARAMETERS", True) or '', prefix = 'file://')}" 9SRC_URI_append = " ${@paths_affix(d.getVar("MACHINE_XPARAMETERS", True) or '', prefix = 'file://')}"
10 10
11# Full path to the xparameters.h file 11# Full path to the xparameters.h file
12UBOOT_XPARAMETERS ?= "${@expand_workdir_paths("MACHINE_XPARAMETERS", d)}" 12UBOOT_XPARAMETERS ?= "${@expand_workdir_paths("MACHINE_XPARAMETERS", d)}"
diff --git a/recipes-bsp/u-boot/u-boot-xlnx_2015.04.bb b/recipes-bsp/u-boot/u-boot-xlnx_2015.04.bb
index fd28fbee..c331600a 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx_2015.04.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx_2015.04.bb
@@ -5,8 +5,8 @@ include u-boot-extra.inc
5UBOOT_ENV_zc702-zynq7 = "uEnv" 5UBOOT_ENV_zc702-zynq7 = "uEnv"
6UBOOT_ENV_zedboard-zynq7 = "uEnv" 6UBOOT_ENV_zedboard-zynq7 = "uEnv"
7 7
8SRC_URI_append_zc702-zynq7 += "file://uEnv.txt" 8SRC_URI_append_zc702-zynq7 = " file://uEnv.txt"
9SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt" 9SRC_URI_append_zedboard-zynq7 = " file://uEnv.txt"
10 10
11do_compile_append() { 11do_compile_append() {
12 # link u-boot-dtb.img to u-boot.img. 12 # link u-boot-dtb.img to u-boot.img.