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

[PATCH] include: correct re-building conditions around hypercall-defs.h


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 25 Jul 2022 14:08:04 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ix3T/GyDlyNaCXGu9Au09uHqaznqPh8szhyrUBKwsA4=; b=OKaM7xXvlagmLVtTBTRmLgPY2ygglmpKTg6lWCt3PFG0E44RnMYCOMdghYfE28cUyQXnZ6t6sIVvyqKGM/s25JUfoKZc3KX5Gbtb6jLgFUUaHLFt4hxuKVmlXCf4AiMOe+NCk0etQ7iguuKfaKVqmDgN2S8igPk0BnEXhAhcZLPpf3kg+vU4pzvLS/RBQf99MPEUUTRb0PeZwSc/AIa1zg6prXM1Pn/eoQbhMNpwUkEFeZcLDt/x3fHxxOSLfrZwNsEQ6AN9mWDK6UO31TkI6SM2bFtnN6L1K8ZumJwn4OBvfuSKKQwquNnHr99UAg6S9mveQzyoF6VqjOH/hsqUhQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HrYUGg7q9TqvhSLjZ5DhylvShSZj3FHnCyFwpeGu8i+fPVJLE2h1lk6vmcHZ+1Il5uTrrMxyQ/I1UsJlrlOhnlFqodzHpCB2b4DKATk8uQdTl6pMcW0aiJAngRYqgBupI+tg50H5g4OKQBtTmnZcYOQ82rScQiLcNB7QjR9aqgeuw3AKvvywtuSnkK2NEozkDJv/qNSHzwPAxlyWxZ6T95bNHzlvFKVnBjJcsLrloxApd8+dZrill4ts/5TpKcz+3tL2GUrsWwLc2XqgDggrhGmtgXEDgU+XXGy0Wlcim69aWZMsyXeRhf5VR7Re2nAiVeHVkyuXlh5EeiDex8m+Og==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Mon, 25 Jul 2022 12:08:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

For a .cmd file to be picked up, the respective target needs to be
listed in $(targets). This wasn't the case for hypercall-defs.i, leading
to permanent re-building even on an entirely unchanged tree (because of
the command apparently having changed).

Fixes: eca1f00d0227 ("xen: generate hypercall interface related code")
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/include/Makefile
+++ b/xen/include/Makefile
@@ -114,7 +114,7 @@ all: $(obj)/xen/hypercall-defs.h
 $(obj)/xen/hypercall-defs.h: $(obj)/hypercall-defs.i 
$(srctree)/scripts/gen_hypercall.awk FORCE
        $(call if_changed,genhyp)
 
-targets += xen/hypercall-defs.h
+targets += hypercall-defs.i xen/hypercall-defs.h
 
 ifeq ($(XEN_TARGET_ARCH),$(XEN_COMPILE_ARCH))
 



 


Rackspace

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