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-kernel | |
| 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-kernel')
| -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 |
5 files changed, 9 insertions, 9 deletions
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 | ||
