From nobody Sat Apr 27 19:50:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; spf=pass (zoho.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=1557476542; cv=none; d=zoho.com; s=zohoarc; b=Px0WWn7n1zFIyqMuk+Mo5GZ8Sn6iNwS9zI+kIJzOGScCbjI5f5jxq+RAn8UnS6hcb0zrpbObF2/Y25xE5su7Fa+Uhd6DiGt4IuawJIrBdeGRX3sARV4ElAORNzCuJ9nNmMkVZNk8CFuv7NH2RvIJkHKVlr6gVF936Ce+BPY9VUg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557476542; h=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:ARC-Authentication-Results; bh=d3q0Af5CJ2i7EpXkbl9sqqlT8HYcaFmjF0yPwMw6kAc=; b=UFFt3qzClR2nMZBZS11IlEbe5fYjKqyOgVvoJEJLYfoWGkj7vGdWcBTedxySOm4I5sQK18HPvl5TiQb3pkav5UImg35n+P0ba0aAsjlhlMkIAzNdeApRSwvg+QujPHlLu/K88Pydh7gUOAFHNLDvvJAIvym4NZPaHw+bE+e7xNE= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.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 (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1557476542683609.6246017081853; Fri, 10 May 2019 01:22:22 -0700 (PDT) Received: from localhost ([127.0.0.1]:38805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP0nF-0004Kr-Gf for importer@patchew.org; Fri, 10 May 2019 04:22:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP0mK-0003zX-Hh for qemu-devel@nongnu.org; Fri, 10 May 2019 04:21:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP0mG-0007Qw-Sk for qemu-devel@nongnu.org; Fri, 10 May 2019 04:21:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45958) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hP0mE-0007Np-Sm for qemu-devel@nongnu.org; Fri, 10 May 2019 04:21:12 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B678E85376; Fri, 10 May 2019 08:21:08 +0000 (UTC) Received: from thuth.com (ovpn-116-72.ams2.redhat.com [10.36.116.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id B7117646AE; Fri, 10 May 2019 08:21:01 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , qemu-devel@nongnu.org, Peter Maydell Date: Fri, 10 May 2019 10:20:57 +0200 Message-Id: <20190510082057.9104-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 10 May 2019 08:21:08 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] Makefile: Fix inclusion of the config-devices.mak.d Kconfig dependencies X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The Makefile tries to include device Kconfig dependencies via -include $(SUBDIR_DEVICES_MAK_DEP) and thus expects files that match *-softmmu/config-devices.mak.d ... However, the minikconf script currently generates files a la "*-softmmu-config.devices.mak.d" instead, so the dependency files simply got ignored so far. For example, after a "touch hw/arm/Kconfig", the arm-softmmu/config-devices.mak file is currently not re-generated. Fix it by putting the dependency files in the *-softmmu folders now. Reported-by: Peter Maydell Signed-off-by: Thomas Huth --- Makefile | 2 +- configure | 2 +- docs/devel/kconfig.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a971247cac..d878767066 100644 --- a/Makefile +++ b/Makefile @@ -350,7 +350,7 @@ endif # This has to be kept in sync with Kconfig.host. MINIKCONF_ARGS =3D \ $(CONFIG_MINIKCONF_MODE) \ - $@ $*-config.devices.mak.d $< $(MINIKCONF_INPUTS) \ + $@ $*/config-devices.mak.d $< $(MINIKCONF_INPUTS) \ CONFIG_KVM=3D$(CONFIG_KVM) \ CONFIG_SPICE=3D$(CONFIG_SPICE) \ CONFIG_IVSHMEM=3D$(CONFIG_IVSHMEM) \ diff --git a/configure b/configure index 63f312bd1f..8999698bc2 100755 --- a/configure +++ b/configure @@ -1832,7 +1832,7 @@ exit 0 fi =20 # Remove old dependency files to make sure that they get properly regenera= ted -rm -f *-config-devices.mak.d +rm -f */config-devices.mak.d =20 if test -z "$python" then diff --git a/docs/devel/kconfig.rst b/docs/devel/kconfig.rst index cce146f87d..d6f8eb0977 100644 --- a/docs/devel/kconfig.rst +++ b/docs/devel/kconfig.rst @@ -299,7 +299,7 @@ and also listed as follows in the top-level Makefile's = ``MINIKCONF_ARGS`` variable:: =20 MINIKCONF_ARGS =3D \ - $@ $*-config.devices.mak.d $< $(MINIKCONF_INPUTS) \ + $@ $*/config-devices.mak.d $< $(MINIKCONF_INPUTS) \ CONFIG_KVM=3D$(CONFIG_KVM) \ CONFIG_SPICE=3D$(CONFIG_SPICE) \ CONFIG_TPM=3D$(CONFIG_TPM) \ --=20 2.21.0