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