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). Signed-off-by: Bruce Ashfield <bruce.ashfi...@windriver.com> --- scripts/lib/bsp/kernel.py | 1 - .../arch/arm/recipes-kernel/linux/files/machine-standard.scc | 2 +- .../arch/i386/recipes-kernel/linux/files/machine-standard.scc | 2 +- .../arch/mips/recipes-kernel/linux/files/machine-standard.scc | 2 +- .../mips64/recipes-kernel/linux/files/machine-standard.scc | 2 +- .../powerpc/recipes-kernel/linux/files/machine-standard.scc | 2 +- .../arch/qemu/recipes-kernel/linux/files/machine-standard.scc | 10 +++++----- .../x86_64/recipes-kernel/linux/files/machine-standard.scc | 2 +- 8 files changed, 11 insertions(+), 12 deletions(-) diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py index 32cab3b..a3ee325 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): patch list [${machine}-user-patches.scc]. """ f = open_user_file(scripts_path, machine, machine+"-user-patches.scc", "w") - f.write("mark patching start\n") for item in patch_items: f.write("patch " + item + "\n") 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 405972d..8a88157 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}} define KARCH arm -include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} +include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch {{ if need_new_kbranch == "y": }} define KTYPE {{=new_kbranch}} 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 67a54be..38d1ca5 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}} define KARCH i386 -include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} +include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch {{ if need_new_kbranch == "y": }} define KTYPE {{=new_kbranch}} 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 7c9dc52..b34f3d3 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}} define KARCH mips -include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} +include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch {{ if need_new_kbranch == "y": }} define KTYPE {{=new_kbranch}} 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 7c9dc52..b34f3d3 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}} define KARCH mips -include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} +include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch {{ if need_new_kbranch == "y": }} define KTYPE {{=new_kbranch}} 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 89b344f..c166fcd 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}} define KARCH powerpc -include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} +include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch {{ if need_new_kbranch == "y": }} define KTYPE {{=new_kbranch}} 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 14554da..43cf642 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}} define KARCH {{=qemuarch}} {{ if qemuarch == "i386" or qemuarch == "x86_64": }} -include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} +include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch {{ if qemuarch == "arm": }} -include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard +include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard nopatch {{ if qemuarch == "powerpc": }} -include bsp/qemu-ppc32/qemu-ppc32-standard +include bsp/qemu-ppc32/qemu-ppc32-standard nopatch {{ if qemuarch == "mips": }} -include bsp/mti-malta32/mti-malta32-be-standard +include bsp/mti-malta32/mti-malta32-be-standard nopatch {{ if qemuarch == "mips64": }} -include bsp/mti-malta64/mti-malta64-be-standard +include bsp/mti-malta64/mti-malta64-be-standard nopatch {{ if need_new_kbranch == "y": }} define KTYPE {{=new_kbranch}} 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 9c9cc90..a2b2910 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}} define KARCH x86_64 -include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} +include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch {{ if need_new_kbranch == "y": }} define KTYPE {{=new_kbranch}} branch {{=machine}} -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core