From nobody Thu May 16 06:25:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1598023896; cv=none; d=zohomail.com; s=zohoarc; b=WM6W3RfixGs73J68GxBhmomIwYI1Yb+9Ji/ulg2nbxeYSHRFL97O8wy6tVAsAfw/pmnOHsbd6TSwrcaugFY9H8RTnm7PqsVVi3IImHjqHjkGh5W7NvqM6dUC/1m/JWNRYPUTohWh6KbFoofgRhpYa0EPumXmjJ4bjNVZM0eUOCY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1598023896; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=cvnB3su+5AR/IptiEh8NCGepT51dI755gYTFsFKWbp4=; b=BLaSqCtej1iPr9lb2RXQJkNm4rXRm/kD6lHFqKOOaiO3EttH769S+hIXjy1Y6H6XD+CTiMSiApraK3N/v1lbD9ijE9/dRopdrAC72ujVDkFLwB6vXSF5XpYMJVHuwQ5TZhwIMHJMBTf6l1bHh3qCHFMiDQxIMJCpNq4KGm9YmVA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1598023896811327.5870460247852; Fri, 21 Aug 2020 08:31:36 -0700 (PDT) Received: from localhost ([::1]:51906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k990x-0007nK-5G for importer@patchew.org; Fri, 21 Aug 2020 11:31:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k98z0-0006Qc-Th for qemu-devel@nongnu.org; Fri, 21 Aug 2020 11:29:34 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:27952 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1k98yx-00062z-Se for qemu-devel@nongnu.org; Fri, 21 Aug 2020 11:29:34 -0400 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-72-R_m_VWr8Moy0cbGo4nVS-A-1; Fri, 21 Aug 2020 11:29:28 -0400 Received: by mail-wr1-f72.google.com with SMTP id e14so645806wrr.7 for ; Fri, 21 Aug 2020 08:29:27 -0700 (PDT) Received: from localhost.localdomain (121.red-81-40-121.staticip.rima-tde.net. [81.40.121.121]) by smtp.gmail.com with ESMTPSA id k1sm4876329wrw.91.2020.08.21.08.29.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 08:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598023770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cvnB3su+5AR/IptiEh8NCGepT51dI755gYTFsFKWbp4=; b=LNqcL0eUfV3VffY8OW6b7EXE89IWuAHsY17HhwJ0EGQIAmCqDs25mWLL2L0X50ypmd7+XS aWPBYXbgCK0gEr3E5GrY7yOjTdkyaREfHZgmvfTylmVC+JvAj6ARtSXtsk3KrsrnCjVXgk HIGoIYrpqQXdS+bkGXt6JhCid03HBwU= X-MC-Unique: R_m_VWr8Moy0cbGo4nVS-A-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cvnB3su+5AR/IptiEh8NCGepT51dI755gYTFsFKWbp4=; b=e8L5zeQUi5zWrtfc8JyIJ8/M/mK+O+MdPnVk1hwViwcXsg8G8R9SienI/UlNHPAYLQ PEdKR5I2wsME25VP7MMNQbF0tcoDT68VYzugUQmwPpVizg86aNJpyr8F9asI30UCZVwS 5JUdSeD9Kox7t+TQRpPTSSo2NrONDs7XkjIWoE5ndQTRb2G8RBbPLsqU46Gb8NOruHXO qKS0uJfrEmRgDGALjVy7oGMW7MvyKmj+6n7iUSkvtEukwWFntuJVetM8wspeWDyOketU Zu/3VfWNzwfIma/pDMFNIblzrjQseeXE9KKWd5Z0u9eqxTF1hrq5A8bijxYtsiGr718n dTdA== X-Gm-Message-State: AOAM531CZKE6skNu90IixL5hN059huHdbrkih4uvss/GL69VUyDfthm2 QAAyNpTFoAcPZ1Dz1Vgs0yOmXu7ycVDBXpiYDGq5G5yktA3hQFzqu6qNKuc29DjmntdPMD/HNEp o7zMYroyvEe/2cGY= X-Received: by 2002:a5d:4947:: with SMTP id r7mr3168996wrs.165.1598023766600; Fri, 21 Aug 2020 08:29:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzN7MZT2eswuXRZiNhQLEaRzZPpu8ejtlyqqeNgiW5I8KF0Wot5wxQKr6XYP3owgrwyMo0I9g== X-Received: by 2002:a5d:4947:: with SMTP id r7mr3168988wrs.165.1598023766357; Fri, 21 Aug 2020 08:29:26 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH] meson: Do not consider qemu-keymap a 'tool' Date: Fri, 21 Aug 2020 17:29:24 +0200 Message-Id: <20200821152924.1246930-1-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8"; text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.61; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/21 01:00:15 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) We need qemu-keymap to generate the keymaps. This fixes when configuring with --disable-tools: Compiling C object qemu-keymap.p/qemu-keymap.c.o Compiling C object qemu-keymap.p/ui_input-keymap.c.o Compiling C object qemu-edid.p/qemu-edid.c.o ../ui/input-keymap.c:7:49: fatal error: ui/input-keymap-atset1-to-qcode.c= .inc: No such file or directory compilation terminated. Makefile.ninja:688: recipe for target 'qemu-keymap.p/ui_input-keymap.c.o'= failed make: *** [qemu-keymap.p/ui_input-keymap.c.o] Error 1 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 808f50b07ef..4036af7181c 100644 --- a/meson.build +++ b/meson.build @@ -1062,6 +1062,11 @@ if 'CONFIG_GUEST_AGENT' in config_host subdir('qga') endif =20 +if 'CONFIG_XKBCOMMON' in config_host +executable('qemu-keymap', files('qemu-keymap.c', 'ui/input-keymap.c'), + dependencies: [qemuutil, xkbcommon], install: true) +endif + if have_tools qemu_img =3D executable('qemu-img', [files('qemu-img.c'), hxdep], dependencies: [authz, block, crypto, io, qom, qemuutil], inst= all: true) @@ -1078,11 +1083,6 @@ if have_tools subdir('contrib/rdmacm-mux') subdir('contrib/elf2dmp') =20 - if 'CONFIG_XKBCOMMON' in config_host - executable('qemu-keymap', files('qemu-keymap.c', 'ui/input-keymap.c'), - dependencies: [qemuutil, xkbcommon], install: true) - endif - executable('qemu-edid', files('qemu-edid.c', 'hw/display/edid-generate.c= '), dependencies: qemuutil, install: true) --=20 2.26.2