diff options
Diffstat (limited to 'recipes-bsp/rcw/rcw_git.bb')
| -rw-r--r-- | recipes-bsp/rcw/rcw_git.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb new file mode 100644 index 0000000..ad961ed --- /dev/null +++ b/recipes-bsp/rcw/rcw_git.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | DESCRIPTION = "Reset Control Words (RCW)" | ||
| 2 | SECTION = "rcw" | ||
| 3 | LICENSE = "BSD" | ||
| 4 | PR = "r8" | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e" | ||
| 7 | |||
| 8 | # this package is specific to the machine itself | ||
| 9 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 11 | |||
| 12 | inherit deploy | ||
| 13 | |||
| 14 | SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;nobranch=1" | ||
| 15 | SRCREV = "bc38737b5cb08336a075cb38481881f87b33b7a1" | ||
| 16 | SRCREV_t2080qds = "a694a89f4b57ce700b5b2ea84302c8618ece2f0f" | ||
| 17 | SRCREV_t2080qds-64b = "a694a89f4b57ce700b5b2ea84302c8618ece2f0f" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | export PYTHON | ||
| 22 | |||
| 23 | do_install () { | ||
| 24 | make install | ||
| 25 | |||
| 26 | M=`echo ${MACHINE} | sed s/-64b//g` | ||
| 27 | install -d ${D}/boot/rcw | ||
| 28 | cp -r ${S}/${M}/${M}/* ${D}/boot/rcw | ||
| 29 | } | ||
| 30 | |||
| 31 | do_deploy () { | ||
| 32 | M=`echo ${MACHINE} | sed s/-64b//g` | ||
| 33 | install -d ${DEPLOYDIR}/rcw | ||
| 34 | cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/rcw | ||
| 35 | } | ||
| 36 | addtask deploy after do_install | ||
| 37 | |||
| 38 | PACKAGES += "${PN}-image" | ||
| 39 | FILES_${PN}-image += "/boot" | ||
| 40 | |||
| 41 | COMPATIBLE_HOST_fslmachine = ".*" | ||
| 42 | COMPATIBLE_HOST ?= "(none)" | ||
| 43 | ALLOW_EMPTY_${PN} = "1" | ||
