diff options
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 12 | ||||
-rw-r--r-- | meta/classes/kernel.bbclass | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 73ba81039f..6a6a3a31d9 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -355,18 +355,6 @@ do_validate_branches() { | |||
355 | fi | 355 | fi |
356 | } | 356 | } |
357 | 357 | ||
358 | # Many scripts want to look in arch/$arch/boot for the bootable | ||
359 | # image. This poses a problem for vmlinux based booting. This | ||
360 | # task arranges to have vmlinux appear in the normalized directory | ||
361 | # location. | ||
362 | do_kernel_link_vmlinux() { | ||
363 | if [ ! -d "${B}/arch/${ARCH}/boot" ]; then | ||
364 | mkdir ${B}/arch/${ARCH}/boot | ||
365 | fi | ||
366 | cd ${B}/arch/${ARCH}/boot | ||
367 | ln -sf ../../../vmlinux | ||
368 | } | ||
369 | |||
370 | OE_TERMINAL_EXPORTS += "KBUILD_OUTPUT" | 358 | OE_TERMINAL_EXPORTS += "KBUILD_OUTPUT" |
371 | KBUILD_OUTPUT = "${B}" | 359 | KBUILD_OUTPUT = "${B}" |
372 | 360 | ||
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 5c3287bb98..dee6f7db24 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -417,6 +417,18 @@ python split_kernel_packages () { | |||
417 | do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.(bin|fw|cis|dsp)$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='') | 417 | do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.(bin|fw|cis|dsp)$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='') |
418 | } | 418 | } |
419 | 419 | ||
420 | # Many scripts want to look in arch/$arch/boot for the bootable | ||
421 | # image. This poses a problem for vmlinux based booting. This | ||
422 | # task arranges to have vmlinux appear in the normalized directory | ||
423 | # location. | ||
424 | do_kernel_link_vmlinux() { | ||
425 | if [ ! -d "${B}/arch/${ARCH}/boot" ]; then | ||
426 | mkdir ${B}/arch/${ARCH}/boot | ||
427 | fi | ||
428 | cd ${B}/arch/${ARCH}/boot | ||
429 | ln -sf ../../../vmlinux | ||
430 | } | ||
431 | |||
420 | do_strip() { | 432 | do_strip() { |
421 | if [ -n "${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}" ]; then | 433 | if [ -n "${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}" ]; then |
422 | if [ "${KERNEL_IMAGETYPE}" != "vmlinux" ]; then | 434 | if [ "${KERNEL_IMAGETYPE}" != "vmlinux" ]; then |