[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XEN PATCH 2/2] xen/build: use the correct kconfig makefile


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Stewart Hildebrand <stewart.hildebrand@xxxxxxxxxxxxxxx>
  • Date: Tue, 12 May 2020 13:52:06 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 207.242.234.14) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=dornerworks.com; dmarc=none action=none header.from=dornerworks.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aMD9YyguV+j7HzlGDJo06t45jT4o8cXWM5ebZCrfrrg=; b=OHLIAW951Md8WcBygIaLrK2hFQAmKR1hF0jd0XSCzjuabE4zcRusWMCBonzF1QvlJzcbIEOiYjIVTgNouQMVzmyPEB6Ly5Uy06BMj+dda+g7eUHI2Ipv0IIm+BmXYeeKEnGPpHDO/uUOLWmXp5VOaKfhTkT1FxC1Ebgm58s3dwOYM6QoT8c24kaXKpPetPaLvof9+8h6mM0qrDyz9o48a05EPGTdtF1htB/YUKIlP+LAVRA+Zj0K1Gio90vo/DgL1P4HJn733Bcj0UFL+CQ8s1DmkuGQrhq16/usa4pOrhKtZtw4Lw3E03h0OexurP0eq1Qi47jvRSTMo/xZPRN7Cw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=QhD+wVeWCXsol2Vbpue4ZW8ysO1zciA0ZGqSU+6tJh+F1QFUVWLi9NBwBZU27utm1GdUJojmYpM5hKQYb036zZ6AVgMcfedL6dV0Qb6Ha+ccIlquYeB2/5SYMA7umoGqW1o+r593lR4Jj1L/2DrRLXsgg2XFR8qRJ5Xp0XsLSZirzShEWR6nYVBrpU2nTf9OCkfC30UsXWRkanfjQoGGPO7gT49jHnM9chkYURNRsd+HKSM0CanZ2CmCYhe1inYtvgmCXSpUin2TZMpxUSbSYTNFzamhYMzhKNwFlcjQi4dMZCHSSdCZXNAJTdgpvGHauCujRElClIW2Owegf4EoTA==
  • Authentication-results: spf=fail (sender IP is 207.242.234.14) smtp.mailfrom=dornerworks.com; lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=dornerworks.com;
  • Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>
  • Delivery-date: Tue, 12 May 2020 17:52:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

This resolves the following observed error:

#
# merged configuration written to .config (needs make)
#
make -f /path/to/xen/xen/../xen/Makefile olddefconfig
make[2]: Entering directory '/path/to/xen/xen'
make[2]: *** No rule to make target 'olddefconfig'.  Stop.
make[2]: Leaving directory '/path/to/xen/xen'
tools/kconfig/Makefile:95: recipe for target 'custom.config' failed

Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxxxxxxxxxx>

---
It's possible there are other places where the Makefile path will need
to be changed. This just happened to be the one that failed for me.
---
 xen/tools/kconfig/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/tools/kconfig/Makefile b/xen/tools/kconfig/Makefile
index fd37f4386a..f39521a0ed 100644
--- a/xen/tools/kconfig/Makefile
+++ b/xen/tools/kconfig/Makefile
@@ -94,7 +94,7 @@ configfiles=$(wildcard $(srctree)/kernel/configs/$@ 
$(srctree)/arch/$(SRCARCH)/c
 %.config: $(obj)/conf
        $(if $(call configfiles),, $(error No configuration exists for this 
target on this architecture))
        $(Q)$(CONFIG_SHELL) $(srctree)/tools/kconfig/merge_config.sh -m .config 
$(configfiles)
-       $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig
+       $(Q)$(MAKE) -f $(srctree)/tools/kconfig/Makefile.kconfig olddefconfig
 
 PHONY += kvmconfig
 kvmconfig: kvm_guest.config
-- 
2.26.2




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.