Enable reuse of the drivers fragment by separating it out from the CPU specific CONFIG options. Split common-pc.cfg into common-pc-cpu.cfg and common-pc-drivers.cfg.
Signed-off-by: Darren Hart <[email protected]> --- .../kernel-cache/bsp/common-pc/common-pc-cpu.cfg | 23 ++++++++++++++++++ .../{common-pc.cfg => common-pc-drivers.cfg} | 25 -------------------- meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc | 3 ++- 3 files changed, 25 insertions(+), 26 deletions(-) create mode 100644 meta/cfg/kernel-cache/bsp/common-pc/common-pc-cpu.cfg rename meta/cfg/kernel-cache/bsp/common-pc/{common-pc.cfg => common-pc-drivers.cfg} (51%) diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-cpu.cfg b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-cpu.cfg new file mode 100644 index 0000000..418ca3c --- /dev/null +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-cpu.cfg @@ -0,0 +1,23 @@ +#......................................................................... +# WARNING +# +# This file is a kernel configuration fragment, and not a full kernel +# configuration file. The final kernel configuration is made up of +# an assembly of processed fragments, each of which is designed to +# capture a specific part of the final configuration (e.g. platform +# configuration, feature configuration, and board specific hardware +# configuration). For more information on kernel configuration, please +# consult the product documentation. +# +#......................................................................... +CONFIG_X86=y +CONFIG_MPENTIUMM=y +CONFIG_X86_GENERIC=y +CONFIG_X86_TSC=y +CONFIG_X86_MCE=y +CONFIG_MICROCODE=y +CONFIG_X86_MSR=y +CONFIG_X86_CPUID=y +CONFIG_MTRR=y +CONFIG_SMP=y +CONFIG_PM=y diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-drivers.cfg similarity index 51% rename from meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg rename to meta/cfg/kernel-cache/bsp/common-pc/common-pc-drivers.cfg index 89b407d..26b4a19 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-drivers.cfg @@ -1,28 +1,3 @@ -#......................................................................... -# WARNING -# -# This file is a kernel configuration fragment, and not a full kernel -# configuration file. The final kernel configuration is made up of -# an assembly of processed fragments, each of which is designed to -# capture a specific part of the final configuration (e.g. platform -# configuration, feature configuration, and board specific hardware -# configuration). For more information on kernel configuration, please -# consult the product documentation. -# -#......................................................................... -CONFIG_X86=y -CONFIG_MPENTIUMM=y -CONFIG_X86_GENERIC=y -CONFIG_X86_TSC=y -CONFIG_X86_MCE=y -CONFIG_MICROCODE=y -CONFIG_X86_MSR=y -CONFIG_X86_CPUID=y -CONFIG_MTRR=y -CONFIG_SMP=y - -CONFIG_PM=y - CONFIG_PCI=y CONFIG_PCI_GOANY=y CONFIG_PCIEPORTBUS=y diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc index 4e63a29..205ba0a 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc @@ -1,4 +1,5 @@ -kconf hardware common-pc.cfg +kconf hardware common-pc-cpu.cfg +kconf hardware common-pc-drivers.cfg kconf hardware common-pc-eth.cfg kconf hardware common-pc-gfx.cfg kconf hardware common-pc-wifi.cfg -- 1.7.9.5 _______________________________________________ linux-yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/linux-yocto
