diff options
Diffstat (limited to 'recipes-bsp/ti/am33x-cm3_git.bb')
-rw-r--r-- | recipes-bsp/ti/am33x-cm3_git.bb | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/recipes-bsp/ti/am33x-cm3_git.bb b/recipes-bsp/ti/am33x-cm3_git.bb index 247ba4d8..169789e5 100644 --- a/recipes-bsp/ti/am33x-cm3_git.bb +++ b/recipes-bsp/ti/am33x-cm3_git.bb | |||
@@ -4,9 +4,18 @@ LICENSE = "TI-BSD" | |||
4 | LIC_FILES_CHKSUM = "file://License.txt;md5=858099c817e47ea63559fc6b67ae8d91" | 4 | LIC_FILES_CHKSUM = "file://License.txt;md5=858099c817e47ea63559fc6b67ae8d91" |
5 | 5 | ||
6 | PV = "04.06.00.07" | 6 | PV = "04.06.00.07" |
7 | PR = "r1" | ||
7 | SRCREV = "cf07b841d6e8c5e026eecb259d143f3dff412c8e" | 8 | SRCREV = "cf07b841d6e8c5e026eecb259d143f3dff412c8e" |
9 | BRANCH ?= "master" | ||
8 | 10 | ||
9 | SRC_URI = "git://arago-project.org/git/projects/am33x-cm3.git" | 11 | INITSCRIPT_NAME = "am335x-pm-firmware-load" |
12 | INITSCRIPT_PARAMS = "defaults 96" | ||
13 | |||
14 | inherit update-rc.d | ||
15 | |||
16 | SRC_URI = "git://arago-project.org/git/projects/am33x-cm3.git;protocol=git;branch=${BRANCH} \ | ||
17 | file://init-am33x-cm3 \ | ||
18 | " | ||
10 | 19 | ||
11 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
12 | 21 | ||
@@ -17,7 +26,11 @@ do_compile() { | |||
17 | do_install() { | 26 | do_install() { |
18 | install -d ${D}${base_libdir}/firmware | 27 | install -d ${D}${base_libdir}/firmware |
19 | install -m 0644 bin/am335x-pm-firmware.bin ${D}${base_libdir}/firmware/ | 28 | install -m 0644 bin/am335x-pm-firmware.bin ${D}${base_libdir}/firmware/ |
29 | |||
30 | # Install the init script to load the PM firmware at boot | ||
31 | install -d ${D}${sysconfdir}/init.d | ||
32 | install -m 0755 ${WORKDIR}/init-am33x-cm3 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
20 | } | 33 | } |
21 | 34 | ||
22 | FILES_${PN} = "${base_libdir}/firmware" | 35 | FILES_${PN} += "${base_libdir}/firmware" |
23 | 36 | ||