[poky] [PATCH 1/2] yocto-bsp: make vfat feature inclusion conditional on kernel version
tom.zanussi at intel.com
tom.zanussi at intel.com
Thu Sep 27 15:12:41 PDT 2012
From: Tom Zanussi <tom.zanussi at intel.com>
The linux-yocto-3.2 cfg/vfat feature changed location to cfg/fs/vfat
in the 3.4 yocto kernel's meta branch. Add template code to include
the appropriate version depending on kernel version.
Fixes [YOCTO #3178].
Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
---
.../target/arch/mips/recipes-kernel/linux/files/{{=machine}}.scc | 4 +++-
.../target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}.scc | 4 ++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/{{=machine}}.scc b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/{{=machine}}.scc
index 7d29541..e3daafb 100644
--- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/{{=machine}}.scc
+++ b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/{{=machine}}.scc
@@ -1,8 +1,10 @@
kconf hardware {{=machine}}.cfg
include cfg/usb-mass-storage.scc
+{{ if kernel_choice == "linux-yocto_3.2": }}
include cfg/vfat.scc
+{{ if kernel_choice == "linux-yocto_3.4": }}
+include cfg/fs/vfat.scc
kconf hardware user-config.cfg
include user-patches.scc
-
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}.scc
index 8a04ddd..ec46ec1 100644
--- a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}.scc
+++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/{{=machine}}.scc
@@ -1,7 +1,11 @@
kconf hardware {{=machine}}.cfg
include cfg/usb-mass-storage.scc
+{{ if kernel_choice == "linux-yocto_3.2": }}
include cfg/vfat.scc
+{{ if kernel_choice == "linux-yocto_3.4": }}
+include cfg/fs/vfat.scc
+
include cfg/dmaengine/dmaengine.scc
kconf hardware user-config.cfg
--
1.7.11.4
More information about the poky
mailing list