blob: 1e4c8a8eaf75ef2cf510359d05979ccf3bbdffc8 (
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
25
26
27
28
29
30
31
32
|
SRC_URI += "file://cfg \
file://merge_config.sh "
configure_kernel() {
# Add debug flavour config elements from fragments
# Listed in increasing priority order if conflicts are detected.
#
#
#combine features cfgs with defconfig
#
addon_features=""
if [ -n "${2}" ]; then
for feature in ${2}; do
addon_features="${addon_features} ${WORKDIR}/${feature}.cfg"
done
fi
O=${B} ${WORKDIR}/merge_config.sh -m ${1} ${addon_features}
mv -f ${B}/.config ${B}/.mconfig
#
#in linux kernel 2.6.33, kconfig does not support alldefconfig yet.
#
if [ "x${PV}" = "x2.6.33" ]; then
oe_runmake KCONFIG_ALLCONFIG=${B}/.mconfig O=${B} allnoconfig
else
oe_runmake KCONFIG_ALLCONFIG=${B}/.mconfig O=${B} alldefconfig
fi
}
|