diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2020-03-06 14:35:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-07 10:06:16 +0000 |
commit | a1baa2b51edf6a676c8c266aa3efffcb96102208 (patch) | |
tree | bf271a81cdfa9e447d79c798e5de4a9e617b6669 /meta | |
parent | d03c12bb8f61bee41b9f6442ecbdbd8e5850ea66 (diff) | |
download | poky-a1baa2b51edf6a676c8c266aa3efffcb96102208.tar.gz |
linux-firmware: Fix usrmerge builds
FIRMWAREDIR defaults to /lib, failing when usrmerge is enabled:
ERROR: linux-firmware-1_20200122-r0 do_install: Execution of '/home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/temp/run.do_install.31218' failed with exit code 1:
mkdir -p /home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/lib/firmware
./copy-firmware.sh /home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/lib/firmware
cp: target '/home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/usr/lib/firmware/' is not a directory
(From OE-Core rev: e51b82b05678a2602afce0ad892d84125620cf73)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb index 6039dc9d71..8f963f4f42 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | |||
@@ -208,7 +208,7 @@ do_compile() { | |||
208 | } | 208 | } |
209 | 209 | ||
210 | do_install() { | 210 | do_install() { |
211 | oe_runmake 'DESTDIR=${D}' install | 211 | oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install |
212 | cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/ | 212 | cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/ |
213 | } | 213 | } |
214 | 214 | ||