diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 76d03dc4a7..d06f6cfe2a 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -211,8 +211,8 @@ kernel_do_compile() { | |||
211 | 211 | ||
212 | do_compile_kernelmodules() { | 212 | do_compile_kernelmodules() { |
213 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE | 213 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE |
214 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then | 214 | if (grep -q -i -e '^CONFIG_MODULES=y$' ${B}/.config); then |
215 | oe_runmake ${PARALLEL_MAKE} modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} | 215 | oe_runmake -C ${B} ${PARALLEL_MAKE} modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} |
216 | else | 216 | else |
217 | bbnote "no modules to compile" | 217 | bbnote "no modules to compile" |
218 | fi | 218 | fi |
@@ -260,7 +260,7 @@ emit_depmod_pkgdata() { | |||
260 | # Stash data for depmod | 260 | # Stash data for depmod |
261 | install -d ${PKGDESTWORK}/kernel-depmod/ | 261 | install -d ${PKGDESTWORK}/kernel-depmod/ |
262 | echo "${KERNEL_VERSION}" > ${PKGDESTWORK}/kernel-depmod/kernel-abiversion | 262 | echo "${KERNEL_VERSION}" > ${PKGDESTWORK}/kernel-depmod/kernel-abiversion |
263 | cp System.map ${PKGDESTWORK}/kernel-depmod/System.map-${KERNEL_VERSION} | 263 | cp ${B}/System.map ${PKGDESTWORK}/kernel-depmod/System.map-${KERNEL_VERSION} |
264 | } | 264 | } |
265 | 265 | ||
266 | PACKAGEFUNCS += "emit_depmod_pkgdata" | 266 | PACKAGEFUNCS += "emit_depmod_pkgdata" |
@@ -336,7 +336,7 @@ kernel_do_configure() { | |||
336 | } | 336 | } |
337 | 337 | ||
338 | do_savedefconfig() { | 338 | do_savedefconfig() { |
339 | oe_runmake savedefconfig | 339 | oe_runmake -C ${B} savedefconfig |
340 | } | 340 | } |
341 | do_savedefconfig[nostamp] = "1" | 341 | do_savedefconfig[nostamp] = "1" |
342 | addtask savedefconfig after do_configure | 342 | addtask savedefconfig after do_configure |