blob: 547c239874eb60bb19d3c1a3115b82c5e9e47d1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Include file intended for kernel.bbclass based recipes that do not
# have their own config fragment merging scheme.
DEPENDS += "kern-tools-native"
include linux-agl-config.inc
# returns all the elements from the src uri that are .cfg files
def find_cfgs(d):
sources=src_patches(d, True)
sources_list=[]
for s in sources:
if s.endswith('.cfg'):
sources_list.append(s)
return sources_list
do_configure_append () {
if [ -n "${AGL_KCONFIG_FRAGMENTS}" ]; then
[ ! -f .config ] && cp -a ${WORKDIR}/defconfig .config
merge_config.sh -m .config ${@" ".join(find_cfgs(d))}
yes '' | make oldconfig
fi
}
|