summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-yocto.bbclass6
-rw-r--r--meta/classes/kernel.bbclass4
2 files changed, 2 insertions, 8 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 98272fcc3b..a374df13be 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -118,12 +118,6 @@ python do_kernel_configcheck() {
118 bb.plain( "%s" % result ) 118 bb.plain( "%s" % result )
119} 119}
120 120
121# overrides the base kernel_do_configure, since we don't want all the
122# defconfig processing in there
123kernel_do_configure() {
124 yes '' | oe_runmake oldconfig
125}
126
127 121
128# Ensure that the branches (BSP and meta) are on the locatios specified by 122# Ensure that the branches (BSP and meta) are on the locatios specified by
129# their SRCREV values. If they are NOT on the right commits, the branches 123# their SRCREV values. If they are NOT on the right commits, the branches
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 2e36e86eb8..9c492a3ecc 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -181,8 +181,8 @@ sysroot_stage_all_append() {
181kernel_do_configure() { 181kernel_do_configure() {
182 # Copy defconfig to .config if .config does not exist. This allows 182 # Copy defconfig to .config if .config does not exist. This allows
183 # recipes to manage the .config themselves in do_configure_prepend(). 183 # recipes to manage the .config themselves in do_configure_prepend().
184 if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${S}/.config" ]; then 184 if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then
185 cp "${WORKDIR}/defconfig" "${S}/.config" 185 cp "${WORKDIR}/defconfig" "${B}/.config"
186 fi 186 fi
187 yes '' | oe_runmake oldconfig 187 yes '' | oe_runmake oldconfig
188 188