diff options
-rw-r--r-- | recipes-kernel/linux/linux-ti-staging_3.8.bb | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/recipes-kernel/linux/linux-ti-staging_3.8.bb b/recipes-kernel/linux/linux-ti-staging_3.8.bb index 77d8e8ae..6cbc2df7 100644 --- a/recipes-kernel/linux/linux-ti-staging_3.8.bb +++ b/recipes-kernel/linux/linux-ti-staging_3.8.bb | |||
@@ -24,9 +24,9 @@ do_deploy_append() { | |||
24 | require recipes-kernel/linux/linux-dtb.inc | 24 | require recipes-kernel/linux/linux-dtb.inc |
25 | require recipes-kernel/linux/setup-defconfig.inc | 25 | require recipes-kernel/linux/setup-defconfig.inc |
26 | 26 | ||
27 | # Stage the power management firmware before building the kernel | 27 | # Add a run-time dependency for the PM firmware to be installed |
28 | # for ti33x SOC_FAMILY devices | 28 | # on the target file system. |
29 | DEPENDS_ti33x += "am33x-cm3" | 29 | RDEPENDS_ti33x += "am33x-cm3" |
30 | 30 | ||
31 | # Default is to package all dts files for ti33x devices unless building | 31 | # Default is to package all dts files for ti33x devices unless building |
32 | # for the specific beaglebone machine. | 32 | # for the specific beaglebone machine. |
@@ -44,16 +44,8 @@ SRCREV = "881dfafeae47da3a8f5ff8c791753e4b4df8065b" | |||
44 | PV = "3.8.5" | 44 | PV = "3.8.5" |
45 | 45 | ||
46 | # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild | 46 | # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild |
47 | MACHINE_KERNEL_PR_append = "d+gitr${SRCPV}" | 47 | MACHINE_KERNEL_PR_append = "e+gitr${SRCPV}" |
48 | 48 | ||
49 | SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \ | 49 | SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \ |
50 | file://defconfig \ | 50 | file://defconfig \ |
51 | " | 51 | " |
52 | |||
53 | # Copy the am33x-cm3 firmware if it is available for ti33x SOC_FAMILY devices | ||
54 | do_compile_prepend_ti33x() { | ||
55 | if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ] | ||
56 | then | ||
57 | cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware" | ||
58 | fi | ||
59 | } | ||