1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-30 07:20:53 +00:00

linux-ti-staging: fix missing kernel image in /boot

We rely on kernel-base having run-time dependency on kernel-image, which
normally would pull uImage/zImage into /boot directory of rootfs.
Thanks to Chase for pointing me in the right direction by noticing that our
addition of cm3 firmware breaks that dependency for ti33x.
The reason for that is RDEPENDS is being conditionally assigned with ?=
in kernel.bbclass and using += with machine-override clears that value due
to the order of processing. Hence _append should be used instead of += to
process it after the machine-override takes place.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
This commit is contained in:
Denys Dmytriyenko
2013-09-25 14:49:14 -04:00
parent ccc9b8c50c
commit 7b4870a30d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ require recipes-kernel/linux/setup-defconfig.inc
# Add a run-time dependency for the PM firmware to be installed # Add a run-time dependency for the PM firmware to be installed
# on the target file system. # on the target file system.
RDEPENDS_kernel-base_ti33x += "am33x-cm3 am33x-cm3-initscript" RDEPENDS_kernel-base_append_ti33x = " am33x-cm3 am33x-cm3-initscript"
# Default is to package all dtb files for ti33x devices unless building # Default is to package all dtb files for ti33x devices unless building
# for the specific beaglebone machine. # for the specific beaglebone machine.
+1 -1
View File
@@ -10,7 +10,7 @@ require recipes-kernel/linux/setup-defconfig.inc
# Add a run-time dependency for the PM firmware to be installed # Add a run-time dependency for the PM firmware to be installed
# on the target file system. # on the target file system.
RDEPENDS_kernel-base_ti33x += "am33x-cm3 am33x-cm3-initscript" RDEPENDS_kernel-base_append_ti33x = " am33x-cm3 am33x-cm3-initscript"
# Default is to package all dtb files for ti33x devices unless building # Default is to package all dtb files for ti33x devices unless building
# for the specific beaglebone machine. # for the specific beaglebone machine.