Skip to contentSkip to conversation

meson: fix installation of keymaps

PATCH New Anthony PERARD via 2 participants 2 messages Sep 18, 2020 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: fix installation of keymaps

---
I don't know much about meson, but without "install:true" to the custom_target(), the keymaps files doen't get install when running make install. Only the files "sl" and "sv" are installed. So "install:true" seems necessary here.

I've tried both with and without qemu-keymap (or xkbcommon).

---
 pc-bios/keymaps/meson.build | 2 ++
 1 file changed, 2 insertions(+)
pc-bios/keymaps/meson.build +2 -0
index 2e2e0dfa3b79..05eda6c0d26d 100644
@@ -47,6 +47,7 @@ foreach km, args: keymaps
                        build_by_default: true,
                        output: km,
                        command: [native_qemu_keymap, '-f', '@OUTPUT@', args.split()],
+                       install: true,
                        install_dir: qemu_datadir / 'keymaps')
   else
     # copy from source tree
@@ -55,6 +56,7 @@ foreach km, args: keymaps
                        input: km,
                        output: km,
                        command: ['cp', '@INPUT@', '@OUTPUT@'],
+                       install: true,
                        install_dir: qemu_datadir / 'keymaps')
   endif
 endforeach
Signature · 1 line
Anthony PERARD
#1 lore raw
Patchew URL: https://patchew.org/QEMU/[email protected]/

Patchew URL: https://patchew.org/QEMU/[email protected]/

Hi,

This series failed the docker-quick@centos7 build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally.

The full log is available at
http://patchew.org/logs/[email protected]/testing.docker-quick@centos7/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]