diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:14:01 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:39 -0600 |
commit | fa8035fc263960e06742945da00cb4777e4b24f7 (patch) | |
tree | 592e8178d7b5f719480172a83eaa80c34cf0fbd9 /meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | |
parent | d39f85d1d079e14b89768b7a9d3adb059013e07b (diff) | |
download | meta-ti-fa8035fc263960e06742945da00cb4777e4b24f7.tar.gz |
meta-ti: use nonarch_base_libdir for firmware installations
Firmware images should always be installed under /lib and hence should use
nonarch_base_libdir, as regular base_libdir is configuration-specific and
doesn't always resolve to /lib.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb')
-rw-r--r-- | meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb index bd5c3693..00486677 100644 --- a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb +++ b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | |||
@@ -18,12 +18,12 @@ do_compile() { | |||
18 | } | 18 | } |
19 | 19 | ||
20 | do_install() { | 20 | do_install() { |
21 | install -d ${D}${base_libdir}/firmware | 21 | install -d ${D}${nonarch_base_libdir}/firmware |
22 | install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/ | 22 | install -m 0644 bin/am335x-pm-firmware.elf ${D}${nonarch_base_libdir}/firmware/ |
23 | install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/ | 23 | install -m 0644 bin/*-scale-data.bin ${D}${nonarch_base_libdir}/firmware/ |
24 | } | 24 | } |
25 | 25 | ||
26 | FILES:${PN} += "${base_libdir}/firmware" | 26 | FILES:${PN} += "${nonarch_base_libdir}/firmware" |
27 | 27 | ||
28 | COMPATIBLE_MACHINE = "(ti-soc)" | 28 | COMPATIBLE_MACHINE = "(ti-soc)" |
29 | TOOLCHAIN = "gcc" | 29 | TOOLCHAIN = "gcc" |