aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-machine-kconfig.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-machine-kconfig.inc')
-rw-r--r--recipes-kernel/linux/linux-machine-kconfig.inc21
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-kernel/linux/linux-machine-kconfig.inc b/recipes-kernel/linux/linux-machine-kconfig.inc
deleted file mode 100644
index 881847d0..00000000
--- a/recipes-kernel/linux/linux-machine-kconfig.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# This include file implements the merging of *.cfg files from the SRC_URI for
-# the Kernel.
-#
-
-# returns all the elements from the src uri that are .cfg files
-def find_config_fragments(d):
- sources=src_patches(d, True)
- sources_list=[]
- for s in sources:
- if s.endswith('.cfg'):
- sources_list.append(s)
- return sources_list
-
-kernel_do_configure_prepend() {
- # Find all ".cfg" files and merge them together into a .config
- CFG_FILES="${@" ".join(find_config_fragments(d))}"
- if [ ! -z "$CFG_FILES" ]; then
- ${S}/scripts/kconfig/merge_config.sh -m $CFG_FILES
- fi
-}