From: Daiane Angolini <daiane.angolini@nxp.com>
To: <meta-freescale@yoctoproject.org>
Subject: [meta-fsl-arm][PATCH 1/2] firmware-imx: Rework recipe to use base_libdir
Date: Wed, 10 Aug 2016 17:18:18 -0300 [thread overview]
Message-ID: <1470860299-25035-3-git-send-email-daiane.angolini@nxp.com> (raw)
In-Reply-To: <1470860299-25035-1-git-send-email-daiane.angolini@nxp.com>
Rework recipe to use ${base_libdir} instead of pointing direct to the "lib/" path.
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
---
recipes-bsp/firmware-imx/firmware-imx.inc | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/recipes-bsp/firmware-imx/firmware-imx.inc b/recipes-bsp/firmware-imx/firmware-imx.inc
index 558f7fb..3aa99a6 100644
--- a/recipes-bsp/firmware-imx/firmware-imx.inc
+++ b/recipes-bsp/firmware-imx/firmware-imx.inc
@@ -11,28 +11,28 @@ SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true"
inherit fsl-eula-unpack
do_install() {
- install -d ${D}/lib/firmware/imx
- cp -rfv firmware/* ${D}/lib/firmware/
+ install -d ${D}${base_libdir}/firmware/imx
+ cp -rfv firmware/* ${D}${base_libdir}/firmware/
- mv ${D}/lib/firmware/epdc/ ${D}/lib/firmware/imx/epdc/
- mv ${D}/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted ${D}/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw
+ mv ${D}${base_libdir}/firmware/epdc/ ${D}${base_libdir}/firmware/imx/epdc/
+ mv ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw
- find ${D}/lib/firmware -type f -exec chmod 644 '{}' ';'
- find ${D}/lib/firmware -type f -exec chown root:root '{}' ';'
+ find ${D}${base_libdir}/firmware -type f -exec chmod 644 '{}' ';'
+ find ${D}${base_libdir}/firmware -type f -exec chown root:root '{}' ';'
# Remove files not going to be installed
- find ${D}/lib/firmware/ -name '*.mk' -exec rm '{}' ';'
+ find ${D}${base_libdir}/firmware/ -name '*.mk' -exec rm '{}' ';'
}
python populate_packages_prepend() {
- vpudir = bb.data.expand('/lib/firmware/vpu', d)
+ vpudir = bb.data.expand('${base_libdir}/firmware/vpu', d)
do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin',
output_pattern='firmware-imx-vpu-%s',
description='Freescale IMX Firmware %s',
extra_depends='',
prepend=True)
- sdmadir = bb.data.expand('/lib/firmware/sdma', d)
+ sdmadir = bb.data.expand('${base_libdir}/firmware/sdma', d)
do_split_packages(d, sdmadir, '^sdma-([^-]*).*\.bin',
output_pattern='firmware-imx-sdma-%s',
description='Freescale IMX Firmware %s',
@@ -46,6 +46,6 @@ PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*"
PACKAGES =+ "${PN}-epdc"
-FILES_${PN}-epdc = "/lib/firmware/imx/epdc/"
+FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/"
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
--
2.7.4
next prev parent reply other threads:[~2016-08-10 20:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 20:18 [meta-fsl-arm][PATCH 0/2] Add firmware for WiFi and Bluetooth Daiane Angolini
2016-08-10 20:18 ` [PATCH] firmware-imx: " Daiane Angolini
2016-08-10 20:27 ` Otavio Salvador
2016-08-10 20:36 ` Daiane Angolini
2016-08-10 20:18 ` Daiane Angolini [this message]
2016-08-10 20:18 ` [meta-fsl-arm][PATCH 2/2] " Daiane Angolini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470860299-25035-3-git-send-email-daiane.angolini@nxp.com \
--to=daiane.angolini@nxp.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.