summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/kernel.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index edf455d8e..862913370 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -186,8 +186,8 @@ sysroot_stage_all_append() {
186kernel_do_configure() { 186kernel_do_configure() {
187 # Copy defconfig to .config if .config does not exist. This allows 187 # Copy defconfig to .config if .config does not exist. This allows
188 # recipes to manage the .config themselves in do_configure_prepend(). 188 # recipes to manage the .config themselves in do_configure_prepend().
189 if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${S}/.config" ]; then 189 if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then
190 cp "${WORKDIR}/defconfig" "${S}/.config" 190 cp "${WORKDIR}/defconfig" "${B}/.config"
191 fi 191 fi
192 192
193 yes '' | oe_runmake oldconfig 193 yes '' | oe_runmake oldconfig