diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-15 17:14:27 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-16 15:01:29 -0300 |
| commit | f8517afc7a5ada4538b3b7d397fa32586d57ffe5 (patch) | |
| tree | 79349f091306d1760fd4687e62336ffa8fb8c721 /recipes-bsp/firmware-imx | |
| parent | c92b415d653afc55f33b6b93fb9248193bfd4fa0 (diff) | |
| download | meta-freescale-f8517afc7a5ada4538b3b7d397fa32586d57ffe5.tar.gz | |
Move meta-fsl-arm content to layer root
The meta-fsl-arm is going to be used as the base for this layer. It
contains a clean history and allowing a more granullar set of changes.
This commit is just a rename of all contents of meta-fsl-arm
subdirectory to this layer's root, subsequent changes are based on top
of that.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/firmware-imx')
| -rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx.inc | 42 | ||||
| -rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx_3.14.28-1.0.0.bb | 8 |
2 files changed, 50 insertions, 0 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-imx.inc b/recipes-bsp/firmware-imx/firmware-imx.inc new file mode 100644 index 000000000..80e5e59e7 --- /dev/null +++ b/recipes-bsp/firmware-imx/firmware-imx.inc | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | SUMMARY = "Freescale IMX firmware" | ||
| 2 | DESCRIPTION = "Freescale IMX firmware such as for the VPU" | ||
| 3 | SECTION = "base" | ||
| 4 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=acdb807ac7275fe32f9f64992e111241" | ||
| 6 | |||
| 7 | PE = "1" | ||
| 8 | |||
| 9 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true" | ||
| 10 | |||
| 11 | inherit fsl-eula-unpack | ||
| 12 | |||
| 13 | do_install() { | ||
| 14 | install -d ${D}/lib/firmware | ||
| 15 | cp -rfv firmware/* ${D}/lib/firmware/ | ||
| 16 | find ${D}/lib/firmware -type f -exec chmod 644 '{}' ';' | ||
| 17 | |||
| 18 | # Remove files not going to be installed | ||
| 19 | find ${D}/lib/firmware/ -name Android.mk -exec rm '{}' ';' | ||
| 20 | } | ||
| 21 | |||
| 22 | python populate_packages_prepend() { | ||
| 23 | vpudir = bb.data.expand('/lib/firmware/vpu', d) | ||
| 24 | do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin', | ||
| 25 | output_pattern='firmware-imx-vpu-%s', | ||
| 26 | description='Freescale IMX Firmware %s', | ||
| 27 | extra_depends='', | ||
| 28 | prepend=True) | ||
| 29 | |||
| 30 | sdmadir = bb.data.expand('/lib/firmware/sdma', d) | ||
| 31 | do_split_packages(d, sdmadir, '^sdma-([^-]*).*\.bin', | ||
| 32 | output_pattern='firmware-imx-sdma-%s', | ||
| 33 | description='Freescale IMX Firmware %s', | ||
| 34 | extra_depends='', | ||
| 35 | prepend=True) | ||
| 36 | } | ||
| 37 | |||
| 38 | ALLOW_EMPTY_${PN} = "1" | ||
| 39 | |||
| 40 | PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*" | ||
| 41 | |||
| 42 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
diff --git a/recipes-bsp/firmware-imx/firmware-imx_3.14.28-1.0.0.bb b/recipes-bsp/firmware-imx/firmware-imx_3.14.28-1.0.0.bb new file mode 100644 index 000000000..408baf187 --- /dev/null +++ b/recipes-bsp/firmware-imx/firmware-imx_3.14.28-1.0.0.bb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | # Copyright (C) 2012-2015 Freescale Semiconductor | ||
| 2 | |||
| 3 | require firmware-imx.inc | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "6e700f3d3a6482db08d5aabee7751630" | ||
| 6 | SRC_URI[sha256sum] = "1f09acd4d605efc78a0672068a658cb16274811d2f444cf3ae7aaa075266746f" | ||
| 7 | |||
| 8 | COMPATIBLE_MACHINE = "(mx5|mx6)" | ||
