diff options
| author | Tom Zanussi <tom.zanussi@intel.com> | 2012-08-06 14:32:18 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-25 14:47:04 +0100 |
| commit | 995a5ac02c67081724cbc93b2b932be4b8c2780b (patch) | |
| tree | df97bc87a4de18c2b1fa4733bc96c3789c890507 /scripts/lib | |
| parent | e26589eb1963956a68123ff6dcb4620dc40a1de0 (diff) | |
| download | poky-995a5ac02c67081724cbc93b2b932be4b8c2780b.tar.gz | |
yocto-bsp: remove 'branch' statements in .scc if reusing branch
If reusing a branch (need_new_branch == 'n') we don't need to branch
in the .scc, so make it conditional on need_new_branch.
(From meta-yocto rev: 1e698ad2d18249c6224821bd52e3b979750db256)
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
7 files changed, 7 insertions, 8 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}-standard.scc index cd8fa9cbf5..d13167850b 100644 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}-standard.scc +++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/{{=machine}}-standard.scc | |||
| @@ -3,6 +3,7 @@ define KTYPE standard | |||
| 3 | define KARCH arm | 3 | define KARCH arm |
| 4 | 4 | ||
| 5 | include ktypes/standard | 5 | include ktypes/standard |
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 6 | branch {{=machine}} | 7 | branch {{=machine}} |
| 7 | 8 | ||
| 8 | include {{=machine}}.scc | 9 | include {{=machine}}.scc |
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/{{=machine}}-standard.scc index c7ba1fba6f..a241b29145 100644 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/{{=machine}}-standard.scc +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/{{=machine}}-standard.scc | |||
| @@ -3,6 +3,7 @@ define KTYPE standard | |||
| 3 | define KARCH i386 | 3 | define KARCH i386 |
| 4 | 4 | ||
| 5 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 5 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} |
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 6 | branch {{=machine}} | 7 | branch {{=machine}} |
| 7 | 8 | ||
| 8 | include {{=machine}}.scc | 9 | include {{=machine}}.scc |
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/{{=machine}}-standard.scc index c6139f0819..3b916b4c33 100644 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/{{=machine}}-standard.scc +++ b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/{{=machine}}-standard.scc | |||
| @@ -3,6 +3,7 @@ define KTYPE standard | |||
| 3 | define KARCH mips | 3 | define KARCH mips |
| 4 | 4 | ||
| 5 | include ktypes/standard | 5 | include ktypes/standard |
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 6 | branch {{=machine}} | 7 | branch {{=machine}} |
| 7 | 8 | ||
| 8 | include {{=machine}}.scc | 9 | include {{=machine}}.scc |
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}-standard.scc index 1213e61a01..a521874f32 100644 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}-standard.scc +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}-standard.scc | |||
| @@ -3,6 +3,7 @@ define KTYPE standard | |||
| 3 | define KARCH powerpc | 3 | define KARCH powerpc |
| 4 | 4 | ||
| 5 | include ktypes/standard | 5 | include ktypes/standard |
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 6 | branch {{=machine}} | 7 | branch {{=machine}} |
| 7 | 8 | ||
| 8 | include {{=machine}}.scc | 9 | include {{=machine}}.scc |
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-preempt-rt.scc index 6399a4b535..0f5a582446 100644 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-preempt-rt.scc +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-preempt-rt.scc | |||
| @@ -13,18 +13,15 @@ define KARCH mips | |||
| 13 | 13 | ||
| 14 | {{ if qemuarch == "i386": }} | 14 | {{ if qemuarch == "i386": }} |
| 15 | include bsp/common-pc/common-pc-preempt-rt | 15 | include bsp/common-pc/common-pc-preempt-rt |
| 16 | branch {{=machine}} | ||
| 17 | {{ if qemuarch == "x86_64": }} | 16 | {{ if qemuarch == "x86_64": }} |
| 18 | include bsp/common-pc-64/common-pc-64-preempt-rt | 17 | include bsp/common-pc-64/common-pc-64-preempt-rt |
| 19 | branch {{=machine}} | ||
| 20 | {{ if qemuarch == "arm": }} | 18 | {{ if qemuarch == "arm": }} |
| 21 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-preempt-rt | 19 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-preempt-rt |
| 22 | branch {{=machine}} | ||
| 23 | {{ if qemuarch == "powerpc": }} | 20 | {{ if qemuarch == "powerpc": }} |
| 24 | include bsp/qemu-ppc32/qemu-ppc32-rt | 21 | include bsp/qemu-ppc32/qemu-ppc32-rt |
| 25 | branch {{=machine}} | ||
| 26 | {{ if qemuarch == "mips": }} | 22 | {{ if qemuarch == "mips": }} |
| 27 | include bsp/mti-malta32/mti-malta32-be-preempt-rt | 23 | include bsp/mti-malta32/mti-malta32-be-preempt-rt |
| 24 | {{ if need_new_kbranch == "y": }} | ||
| 28 | branch {{=machine}} | 25 | branch {{=machine}} |
| 29 | 26 | ||
| 30 | include {{=machine}}.scc | 27 | include {{=machine}}.scc |
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-standard.scc index 4def04ac7b..04a36203d9 100644 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-standard.scc +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-standard.scc | |||
| @@ -13,18 +13,15 @@ define KARCH mips | |||
| 13 | 13 | ||
| 14 | {{ if qemuarch == "i386": }} | 14 | {{ if qemuarch == "i386": }} |
| 15 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 15 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} |
| 16 | branch {{=machine}} | ||
| 17 | {{ if qemuarch == "x86_64": }} | 16 | {{ if qemuarch == "x86_64": }} |
| 18 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 17 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} |
| 19 | branch {{=machine}} | ||
| 20 | {{ if qemuarch == "arm": }} | 18 | {{ if qemuarch == "arm": }} |
| 21 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard | 19 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard |
| 22 | branch {{=machine}} | ||
| 23 | {{ if qemuarch == "powerpc": }} | 20 | {{ if qemuarch == "powerpc": }} |
| 24 | include bsp/qemu-ppc32/qemu-ppc32-standard | 21 | include bsp/qemu-ppc32/qemu-ppc32-standard |
| 25 | branch {{=machine}} | ||
| 26 | {{ if qemuarch == "mips": }} | 22 | {{ if qemuarch == "mips": }} |
| 27 | include bsp/mti-malta32/mti-malta32-be-standard | 23 | include bsp/mti-malta32/mti-malta32-be-standard |
| 24 | {{ if need_new_kbranch == "y": }} | ||
| 28 | branch {{=machine}} | 25 | branch {{=machine}} |
| 29 | 26 | ||
| 30 | include {{=machine}}.scc | 27 | include {{=machine}}.scc |
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/{{=machine}}-standard.scc index 4a034fafd9..3253133ee2 100644 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/{{=machine}}-standard.scc +++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/{{=machine}}-standard.scc | |||
| @@ -3,6 +3,7 @@ define KTYPE standard | |||
| 3 | define KARCH x86_64 | 3 | define KARCH x86_64 |
| 4 | 4 | ||
| 5 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 5 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} |
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 6 | branch {{=machine}} | 7 | branch {{=machine}} |
| 7 | 8 | ||
| 8 | include {{=machine}}.scc | 9 | include {{=machine}}.scc |
