mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-02 17:01:04 +00:00
linux-ti-staging: make cm3 firmware a run-time dependency
* Make the am33x-cm3 firmware a run-time dependency instead of build time since it is no longer required at build time. Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
2ad1fd65b8
commit
f817807842
@@ -24,9 +24,9 @@ do_deploy_append() {
|
|||||||
require recipes-kernel/linux/linux-dtb.inc
|
require recipes-kernel/linux/linux-dtb.inc
|
||||||
require recipes-kernel/linux/setup-defconfig.inc
|
require recipes-kernel/linux/setup-defconfig.inc
|
||||||
|
|
||||||
# Stage the power management firmware before building the kernel
|
# Add a run-time dependency for the PM firmware to be installed
|
||||||
# for ti33x SOC_FAMILY devices
|
# on the target file system.
|
||||||
DEPENDS_ti33x += "am33x-cm3"
|
RDEPENDS_ti33x += "am33x-cm3"
|
||||||
|
|
||||||
# Default is to package all dts files for ti33x devices unless building
|
# Default is to package all dts files for ti33x devices unless building
|
||||||
# for the specific beaglebone machine.
|
# for the specific beaglebone machine.
|
||||||
@@ -44,16 +44,8 @@ SRCREV = "881dfafeae47da3a8f5ff8c791753e4b4df8065b"
|
|||||||
PV = "3.8.5"
|
PV = "3.8.5"
|
||||||
|
|
||||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||||
MACHINE_KERNEL_PR_append = "d+gitr${SRCPV}"
|
MACHINE_KERNEL_PR_append = "e+gitr${SRCPV}"
|
||||||
|
|
||||||
SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
|
SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
|
||||||
file://defconfig \
|
file://defconfig \
|
||||||
"
|
"
|
||||||
|
|
||||||
# Copy the am33x-cm3 firmware if it is available for ti33x SOC_FAMILY devices
|
|
||||||
do_compile_prepend_ti33x() {
|
|
||||||
if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ]
|
|
||||||
then
|
|
||||||
cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user