diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2015-11-26 15:48:04 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2015-11-26 15:48:04 +1000 |
| commit | 9fc69a54a6c8f78f310dc3c765b1ede4811a9821 (patch) | |
| tree | 14264af6354cd13588ddb226613736bf7c15f8dc /recipes-bsp/u-boot/u-boot-extra.inc | |
| parent | 34736392307c45c25176a135edde672b8ca5062e (diff) | |
| download | meta-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/u-boot/u-boot-extra.inc')
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-extra.inc | 2 |
1 files changed, 1 insertions, 1 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 | |||
| 6 | FILESEXTRAPATHS_append := "${@get_additional_bbpath_filespath('conf/machine/boards', d)}" | 6 | FILESEXTRAPATHS_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 |
| 9 | SRC_URI_append += " ${@paths_affix(d.getVar("MACHINE_XPARAMETERS", True) or '', prefix = 'file://')}" | 9 | SRC_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 |
| 12 | UBOOT_XPARAMETERS ?= "${@expand_workdir_paths("MACHINE_XPARAMETERS", d)}" | 12 | UBOOT_XPARAMETERS ?= "${@expand_workdir_paths("MACHINE_XPARAMETERS", d)}" |
