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 | |
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>
-rw-r--r-- | conf/distro/include/tcmode-external-xilinx.inc | 2 | ||||
-rw-r--r-- | conf/machine/include/machine-xilinx-board.inc | 2 | ||||
-rw-r--r-- | conf/machine/include/machine-xilinx-default.inc | 4 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-extra.inc | 2 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-xlnx_2015.04.bb | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-xilinx-configs.inc | 2 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-xilinx-machines.inc | 6 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-xlnx_3.14.bb | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.14.bbappend | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.19.bbappend | 2 | ||||
-rw-r--r-- | recipes-microblaze/binutils/binutils%.bbappend | 2 | ||||
-rw-r--r-- | recipes-microblaze/gcc/gcc-source_5.2.bbappend | 2 | ||||
-rw-r--r-- | recipes-microblaze/gdb/gdb-microblaze-7.7.inc | 2 | ||||
-rw-r--r-- | recipes-zynqmp/qemu/qemu_2.4.%.bbappend | 2 |
14 files changed, 20 insertions, 20 deletions
diff --git a/conf/distro/include/tcmode-external-xilinx.inc b/conf/distro/include/tcmode-external-xilinx.inc index 6949810b..b2824acb 100644 --- a/conf/distro/include/tcmode-external-xilinx.inc +++ b/conf/distro/include/tcmode-external-xilinx.inc | |||
@@ -37,7 +37,7 @@ ENABLE_BINARY_LOCALE_GENERATION = "" | |||
37 | 37 | ||
38 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" | 38 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" |
39 | # Fix up default hash, enforce it in for CC_ARCH for packages that ignore LDFLAGS. | 39 | # Fix up default hash, enforce it in for CC_ARCH for packages that ignore LDFLAGS. |
40 | TARGET_CC_ARCH_append += "${TARGET_LINK_HASH_STYLE}" | 40 | TARGET_CC_ARCH_append = " ${TARGET_LINK_HASH_STYLE}" |
41 | 41 | ||
42 | # Default sysroot is inside the Xilinx ARM v7-A toolchain in the '<CSL_TARGET_SYS>/libc' (no debug-root) | 42 | # Default sysroot is inside the Xilinx ARM v7-A toolchain in the '<CSL_TARGET_SYS>/libc' (no debug-root) |
43 | EXTERNAL_TOOLCHAIN_SYSROOT_armv7a ??= "${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}/libc" | 43 | EXTERNAL_TOOLCHAIN_SYSROOT_armv7a ??= "${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}/libc" |
diff --git a/conf/machine/include/machine-xilinx-board.inc b/conf/machine/include/machine-xilinx-board.inc index 654e3ebb..3447731e 100644 --- a/conf/machine/include/machine-xilinx-board.inc +++ b/conf/machine/include/machine-xilinx-board.inc | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | 3 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" |
4 | 4 | ||
5 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_microblaze += "device-tree" | 5 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_microblaze = " device-tree" |
6 | 6 | ||
7 | IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} ${UBOOT_BINARY}" | 7 | IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} ${UBOOT_BINARY}" |
8 | 8 | ||
diff --git a/conf/machine/include/machine-xilinx-default.inc b/conf/machine/include/machine-xilinx-default.inc index 8a23f07e..054a2e18 100644 --- a/conf/machine/include/machine-xilinx-default.inc +++ b/conf/machine/include/machine-xilinx-default.inc | |||
@@ -28,10 +28,10 @@ UBOOT_ELF ?= "u-boot" | |||
28 | UBOOT_ELF_aarch64 ?= "u-boot.elf" | 28 | UBOOT_ELF_aarch64 ?= "u-boot.elf" |
29 | 29 | ||
30 | # By default use the device-tree recipe to generate device trees for Zynq machines | 30 | # By default use the device-tree recipe to generate device trees for Zynq machines |
31 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_zynq += "device-tree" | 31 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_zynq = " device-tree" |
32 | 32 | ||
33 | # Common Device Tree Includes | 33 | # Common Device Tree Includes |
34 | MACHINE_DEVICETREE_append_zynq += " \ | 34 | MACHINE_DEVICETREE_append_zynq = " \ |
35 | common/zynq7-base.dtsi \ | 35 | common/zynq7-base.dtsi \ |
36 | " | 36 | " |
37 | 37 | ||
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)}" |
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 | |||
5 | UBOOT_ENV_zc702-zynq7 = "uEnv" | 5 | UBOOT_ENV_zc702-zynq7 = "uEnv" |
6 | UBOOT_ENV_zedboard-zynq7 = "uEnv" | 6 | UBOOT_ENV_zedboard-zynq7 = "uEnv" |
7 | 7 | ||
8 | SRC_URI_append_zc702-zynq7 += "file://uEnv.txt" | 8 | SRC_URI_append_zc702-zynq7 = " file://uEnv.txt" |
9 | SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt" | 9 | SRC_URI_append_zedboard-zynq7 = " file://uEnv.txt" |
10 | 10 | ||
11 | do_compile_append() { | 11 | do_compile_append() { |
12 | # link u-boot-dtb.img to u-boot.img. | 12 | # link u-boot-dtb.img to u-boot.img. |
diff --git a/recipes-kernel/linux/linux-xilinx-configs.inc b/recipes-kernel/linux/linux-xilinx-configs.inc index 4d9efcc3..30b6a8fd 100644 --- a/recipes-kernel/linux/linux-xilinx-configs.inc +++ b/recipes-kernel/linux/linux-xilinx-configs.inc | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | FILESEXTRAPATHS_prepend := "${THISDIR}/config:" | 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/config:" |
6 | 6 | ||
7 | SRC_URI_append += " \ | 7 | SRC_URI_append = " \ |
8 | file://xilinx-common;type=kmeta;destsuffix=xilinx-common \ | 8 | file://xilinx-common;type=kmeta;destsuffix=xilinx-common \ |
9 | file://xilinx-machine;type=kmeta;destsuffix=xilinx-machine \ | 9 | file://xilinx-machine;type=kmeta;destsuffix=xilinx-machine \ |
10 | " | 10 | " |
diff --git a/recipes-kernel/linux/linux-xilinx-machines.inc b/recipes-kernel/linux/linux-xilinx-machines.inc index 67b07277..94753eea 100644 --- a/recipes-kernel/linux/linux-xilinx-machines.inc +++ b/recipes-kernel/linux/linux-xilinx-machines.inc | |||
@@ -4,9 +4,9 @@ COMPATIBLE_MACHINE_zynq = "zynq" | |||
4 | COMPATIBLE_MACHINE_microblaze = "microblaze" | 4 | COMPATIBLE_MACHINE_microblaze = "microblaze" |
5 | 5 | ||
6 | # Default kernel config fragements for specific machines | 6 | # Default kernel config fragements for specific machines |
7 | KERNEL_FEATURES_append_qemumicroblaze += "bsp/qemumicroblaze/qemumicroblaze.scc" | 7 | KERNEL_FEATURES_append_qemumicroblaze = " bsp/qemumicroblaze/qemumicroblaze.scc" |
8 | KERNEL_FEATURES_append_qemumicroblaze-s3adsp1800 += "bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.scc" | 8 | KERNEL_FEATURES_append_qemumicroblaze-s3adsp1800 = " bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.scc" |
9 | KERNEL_FEATURES_append_kc705-trd-microblazeel += "bsp/kc705-trd-microblazeel/kc705-trd-microblazeel.scc" | 9 | KERNEL_FEATURES_append_kc705-trd-microblazeel = " bsp/kc705-trd-microblazeel/kc705-trd-microblazeel.scc" |
10 | 10 | ||
11 | # MicroBlaze is a uImage target, but its not called 'uImage' instead it is called 'linux.bin.ub' | 11 | # MicroBlaze is a uImage target, but its not called 'uImage' instead it is called 'linux.bin.ub' |
12 | python () { | 12 | python () { |
diff --git a/recipes-kernel/linux/linux-xlnx_3.14.bb b/recipes-kernel/linux/linux-xlnx_3.14.bb index e6d96ed9..572047f7 100644 --- a/recipes-kernel/linux/linux-xlnx_3.14.bb +++ b/recipes-kernel/linux/linux-xlnx_3.14.bb | |||
@@ -5,7 +5,7 @@ SRCREV ?= "2b48a8aeea7367359f9eebe55c4a09a05227f32b" | |||
5 | include linux-xlnx.inc | 5 | include linux-xlnx.inc |
6 | 6 | ||
7 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx/3.14:" | 7 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx/3.14:" |
8 | SRC_URI_append += " \ | 8 | SRC_URI_append = " \ |
9 | file://usb-host-zynq-dr-of-PHY-reset-during-probe.patch \ | 9 | file://usb-host-zynq-dr-of-PHY-reset-during-probe.patch \ |
10 | file://tty-xuartps-Fix-RX-hang-and-TX-corruption-in-set_termios.patch \ | 10 | file://tty-xuartps-Fix-RX-hang-and-TX-corruption-in-set_termios.patch \ |
11 | file://kernel-add-support-for-gcc-5.patch \ | 11 | file://kernel-add-support-for-gcc-5.patch \ |
@@ -13,5 +13,5 @@ SRC_URI_append += " \ | |||
13 | " | 13 | " |
14 | 14 | ||
15 | # This kernel's Zynq USB driver cannot handle a seperate USB PHY device. | 15 | # This kernel's Zynq USB driver cannot handle a seperate USB PHY device. |
16 | KERNEL_FEATURES_append_zynq += "bsp/xilinx/disable-usb-phy.scc" | 16 | KERNEL_FEATURES_append_zynq = " bsp/xilinx/disable-usb-phy.scc" |
17 | 17 | ||
diff --git a/recipes-kernel/linux/linux-yocto_3.14.bbappend b/recipes-kernel/linux/linux-yocto_3.14.bbappend index e628fcd0..07a1de18 100644 --- a/recipes-kernel/linux/linux-yocto_3.14.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.14.bbappend | |||
@@ -3,10 +3,10 @@ require linux-xilinx-configs.inc | |||
3 | require linux-xilinx-machines.inc | 3 | require linux-xilinx-machines.inc |
4 | 4 | ||
5 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx/3.14:" | 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx/3.14:" |
6 | SRC_URI_append_zynq += " \ | 6 | SRC_URI_append_zynq = " \ |
7 | file://tty-xuartps-Fix-RX-hang-and-TX-corruption-in-set_termios.patch \ | 7 | file://tty-xuartps-Fix-RX-hang-and-TX-corruption-in-set_termios.patch \ |
8 | " | 8 | " |
9 | SRC_URI_append_microblaze += " \ | 9 | SRC_URI_append_microblaze = " \ |
10 | file://microblaze-Drop-architecture-specific-declaration-of.patch \ | 10 | file://microblaze-Drop-architecture-specific-declaration-of.patch \ |
11 | file://kernel-use-the-gnu89-standard-explicitly.patch \ | 11 | file://kernel-use-the-gnu89-standard-explicitly.patch \ |
12 | " | 12 | " |
diff --git a/recipes-kernel/linux/linux-yocto_3.19.bbappend b/recipes-kernel/linux/linux-yocto_3.19.bbappend index 77f02833..e4ed1ac6 100644 --- a/recipes-kernel/linux/linux-yocto_3.19.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.19.bbappend | |||
@@ -3,7 +3,7 @@ require linux-xilinx-configs.inc | |||
3 | require linux-xilinx-machines.inc | 3 | require linux-xilinx-machines.inc |
4 | 4 | ||
5 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx/3.19:" | 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx/3.19:" |
6 | SRC_URI_append_zynq += " \ | 6 | SRC_URI_append_zynq = " \ |
7 | file://tty-xuartps-Fix-RX-hang-and-TX-corruption-in-termios.patch \ | 7 | file://tty-xuartps-Fix-RX-hang-and-TX-corruption-in-termios.patch \ |
8 | " | 8 | " |
9 | 9 | ||
diff --git a/recipes-microblaze/binutils/binutils%.bbappend b/recipes-microblaze/binutils/binutils%.bbappend index 2b0db287..2a53ab74 100644 --- a/recipes-microblaze/binutils/binutils%.bbappend +++ b/recipes-microblaze/binutils/binutils%.bbappend | |||
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | # Add MicroBlaze Patches | 2 | # Add MicroBlaze Patches |
3 | FILESEXTRAPATHS_append := "${THISDIR}/files:" | 3 | FILESEXTRAPATHS_append := "${THISDIR}/files:" |
4 | SRC_URI_append_microblaze += " \ | 4 | SRC_URI_append_microblaze = " \ |
5 | file://upstream-change-to-garbage-collection-s.patch \ | 5 | file://upstream-change-to-garbage-collection-s.patch \ |
6 | " | 6 | " |
7 | 7 | ||
diff --git a/recipes-microblaze/gcc/gcc-source_5.2.bbappend b/recipes-microblaze/gcc/gcc-source_5.2.bbappend index ce84c6b1..50075f0d 100644 --- a/recipes-microblaze/gcc/gcc-source_5.2.bbappend +++ b/recipes-microblaze/gcc/gcc-source_5.2.bbappend | |||
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | # Add MicroBlaze Patches | 2 | # Add MicroBlaze Patches |
3 | FILESEXTRAPATHS_append := "${THISDIR}/files:" | 3 | FILESEXTRAPATHS_append := "${THISDIR}/files:" |
4 | SRC_URI_append += " \ | 4 | SRC_URI_append = " \ |
5 | file://microblaze.md-Improve-adddi3-and-subdi3-insn-definit.patch \ | 5 | file://microblaze.md-Improve-adddi3-and-subdi3-insn-definit.patch \ |
6 | " | 6 | " |
7 | 7 | ||
diff --git a/recipes-microblaze/gdb/gdb-microblaze-7.7.inc b/recipes-microblaze/gdb/gdb-microblaze-7.7.inc index 0b82bc67..d1aba822 100644 --- a/recipes-microblaze/gdb/gdb-microblaze-7.7.inc +++ b/recipes-microblaze/gdb/gdb-microblaze-7.7.inc | |||
@@ -4,7 +4,7 @@ LTTNGUST_microblaze = "" | |||
4 | 4 | ||
5 | # Add MicroBlaze Patches | 5 | # Add MicroBlaze Patches |
6 | FILESEXTRAPATHS_append := "${THISDIR}/files:" | 6 | FILESEXTRAPATHS_append := "${THISDIR}/files:" |
7 | SRC_URI_append += " \ | 7 | SRC_URI_append = " \ |
8 | file://0001-Patch-microblaze-Add-wdc.ext.clear-and-wdc.ext.flush.patch \ | 8 | file://0001-Patch-microblaze-Add-wdc.ext.clear-and-wdc.ext.flush.patch \ |
9 | file://0003-Patch-microblaze-Initial-port-of-microblaze-core-rea.patch \ | 9 | file://0003-Patch-microblaze-Initial-port-of-microblaze-core-rea.patch \ |
10 | file://0004-Patch-microblaze-Communicate-in-larger-blocks-with-t.patch \ | 10 | file://0004-Patch-microblaze-Communicate-in-larger-blocks-with-t.patch \ |
diff --git a/recipes-zynqmp/qemu/qemu_2.4.%.bbappend b/recipes-zynqmp/qemu/qemu_2.4.%.bbappend index 74c8a1ca..dc6c20ad 100644 --- a/recipes-zynqmp/qemu/qemu_2.4.%.bbappend +++ b/recipes-zynqmp/qemu/qemu_2.4.%.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | FILESEXTRAPATHS_append := "${THISDIR}/files:" | 2 | FILESEXTRAPATHS_append := "${THISDIR}/files:" |
3 | SRC_URI_append += " \ | 3 | SRC_URI_append = " \ |
4 | file://arm-xlnx-zynqmp-Fix-up-GIC-region-size.patch \ | 4 | file://arm-xlnx-zynqmp-Fix-up-GIC-region-size.patch \ |
5 | " | 5 | " |
6 | 6 | ||