diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-08-15 14:27:00 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 09:27:54 +0100 |
commit | 3be73dcd7ac9342ad104e6af6c434f6563862053 (patch) | |
tree | 542373705b75c4c8062485f07c61cdfe57b9dbfa /scripts/lib/bsp | |
parent | 26b0657b2f78751e60df6e695d5bc0dd703a5bc2 (diff) | |
download | poky-3be73dcd7ac9342ad104e6af6c434f6563862053.tar.gz |
yocto-bsp/yocto-kernel: update to work with the latest kern-tools
With some recent changes in the kern tools, we can drop some changes in
the yocto-bsp and yocto-kernel tools that ensured proper patching and
BSP inheritance.
In particular, we no longer need to signify the start of patching, and
we must instruct the tools that we only want configuration fragments
via inheritance .. no patches (since they are already applied).
(From meta-yocto rev: 34ed5eebd0b5baab98b6b2d7b3f06ca40932b37d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp')
8 files changed, 11 insertions, 12 deletions
diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py index 32cab3b642..a3ee325a8f 100644 --- a/scripts/lib/bsp/kernel.py +++ b/scripts/lib/bsp/kernel.py | |||
@@ -331,7 +331,6 @@ def write_patch_items(scripts_path, machine, patch_items): | |||
331 | patch list [${machine}-user-patches.scc]. | 331 | patch list [${machine}-user-patches.scc]. |
332 | """ | 332 | """ |
333 | f = open_user_file(scripts_path, machine, machine+"-user-patches.scc", "w") | 333 | f = open_user_file(scripts_path, machine, machine+"-user-patches.scc", "w") |
334 | f.write("mark patching start\n") | ||
335 | for item in patch_items: | 334 | for item in patch_items: |
336 | f.write("patch " + item + "\n") | 335 | f.write("patch " + item + "\n") |
337 | f.close() | 336 | f.close() |
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 405972d98a..8a881574d9 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,7 +3,7 @@ define KMACHINE {{=machine}} | |||
3 | 3 | ||
4 | define KARCH arm | 4 | define KARCH arm |
5 | 5 | ||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch |
7 | {{ if need_new_kbranch == "y": }} | 7 | {{ if need_new_kbranch == "y": }} |
8 | define KTYPE {{=new_kbranch}} | 8 | define KTYPE {{=new_kbranch}} |
9 | branch {{=machine}} | 9 | branch {{=machine}} |
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 67a54be874..38d1ca558b 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,7 +3,7 @@ define KMACHINE {{=machine}} | |||
3 | 3 | ||
4 | define KARCH i386 | 4 | define KARCH i386 |
5 | 5 | ||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch |
7 | {{ if need_new_kbranch == "y": }} | 7 | {{ if need_new_kbranch == "y": }} |
8 | define KTYPE {{=new_kbranch}} | 8 | define KTYPE {{=new_kbranch}} |
9 | branch {{=machine}} | 9 | branch {{=machine}} |
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 7c9dc52d22..b34f3d3522 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,7 +3,7 @@ define KMACHINE {{=machine}} | |||
3 | 3 | ||
4 | define KARCH mips | 4 | define KARCH mips |
5 | 5 | ||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch |
7 | {{ if need_new_kbranch == "y": }} | 7 | {{ if need_new_kbranch == "y": }} |
8 | define KTYPE {{=new_kbranch}} | 8 | define KTYPE {{=new_kbranch}} |
9 | branch {{=machine}} | 9 | branch {{=machine}} |
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc index 7c9dc52d22..b34f3d3522 100644 --- a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc +++ b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc | |||
@@ -3,7 +3,7 @@ define KMACHINE {{=machine}} | |||
3 | 3 | ||
4 | define KARCH mips | 4 | define KARCH mips |
5 | 5 | ||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch |
7 | {{ if need_new_kbranch == "y": }} | 7 | {{ if need_new_kbranch == "y": }} |
8 | define KTYPE {{=new_kbranch}} | 8 | define KTYPE {{=new_kbranch}} |
9 | branch {{=machine}} | 9 | branch {{=machine}} |
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 89b344feab..c166fcd3d9 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,7 +3,7 @@ define KMACHINE {{=machine}} | |||
3 | 3 | ||
4 | define KARCH powerpc | 4 | define KARCH powerpc |
5 | 5 | ||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch |
7 | {{ if need_new_kbranch == "y": }} | 7 | {{ if need_new_kbranch == "y": }} |
8 | define KTYPE {{=new_kbranch}} | 8 | define KTYPE {{=new_kbranch}} |
9 | branch {{=machine}} | 9 | branch {{=machine}} |
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 14554da285..43cf642d49 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 | |||
@@ -4,15 +4,15 @@ define KMACHINE {{=machine}} | |||
4 | define KARCH {{=qemuarch}} | 4 | define KARCH {{=qemuarch}} |
5 | 5 | ||
6 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | 6 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} |
7 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 7 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch |
8 | {{ if qemuarch == "arm": }} | 8 | {{ if qemuarch == "arm": }} |
9 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard | 9 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard nopatch |
10 | {{ if qemuarch == "powerpc": }} | 10 | {{ if qemuarch == "powerpc": }} |
11 | include bsp/qemu-ppc32/qemu-ppc32-standard | 11 | include bsp/qemu-ppc32/qemu-ppc32-standard nopatch |
12 | {{ if qemuarch == "mips": }} | 12 | {{ if qemuarch == "mips": }} |
13 | include bsp/mti-malta32/mti-malta32-be-standard | 13 | include bsp/mti-malta32/mti-malta32-be-standard nopatch |
14 | {{ if qemuarch == "mips64": }} | 14 | {{ if qemuarch == "mips64": }} |
15 | include bsp/mti-malta64/mti-malta64-be-standard | 15 | include bsp/mti-malta64/mti-malta64-be-standard nopatch |
16 | {{ if need_new_kbranch == "y": }} | 16 | {{ if need_new_kbranch == "y": }} |
17 | define KTYPE {{=new_kbranch}} | 17 | define KTYPE {{=new_kbranch}} |
18 | branch {{=machine}} | 18 | branch {{=machine}} |
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 9c9cc90253..a2b2910851 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,7 +3,7 @@ define KMACHINE {{=machine}} | |||
3 | 3 | ||
4 | define KARCH x86_64 | 4 | define KARCH x86_64 |
5 | 5 | ||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch |
7 | {{ if need_new_kbranch == "y": }} | 7 | {{ if need_new_kbranch == "y": }} |
8 | define KTYPE {{=new_kbranch}} | 8 | define KTYPE {{=new_kbranch}} |
9 | branch {{=machine}} | 9 | branch {{=machine}} |