From nobody Fri May 3 16:09:33 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1603604781; cv=none; d=zohomail.com; s=zohoarc; b=GsWrDMF/k92LIEZVZOqCoG9/iAT5R1LnCDtw05R5S+5aSPs9kSzQzazgp+QCYIfRPDed8gX+16Y+WTLwl4R2e6hxxqNwM3Qn6JUecbm3u6MT3HC7ibHE+9u8v4zyoFscCDAbxltfcBQEhrItTLyVzfyfQfxO3/9i1qpxxuCFlww= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603604781; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=YafWDY0sGbBr2Keuon4d1t6Xh6u+lrf5ml2czJnQEh0=; b=m2DyuRE2HgDr3IDFQjO7DB9nSeiYFLqV6VMjdLRG4GJsu39DZ0SwCUsHys9Lt1E6CAHKI3xELedbQaqx5/lJnxX7iQHtHBfQZP4xRxqPlDvZ3n3hbQ2BQNsUiFFGtVOSoSnk4dVUuJ4Le9vIHgywqbVrEZ6q0ewkAZXn/zB3qHw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1603604781347415.7736845252309; Sat, 24 Oct 2020 22:46:21 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.11731.31031 (Exim 4.92) (envelope-from ) id 1kWYql-0005AX-HA; Sun, 25 Oct 2020 05:45:51 +0000 Received: by outflank-mailman (output) from mailman id 11731.31031; Sun, 25 Oct 2020 05:45:51 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kWYql-0005AQ-DK; Sun, 25 Oct 2020 05:45:51 +0000 Received: by outflank-mailman (input) for mailman id 11731; Sun, 25 Oct 2020 05:45:50 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kWYqk-0005AL-PV for xen-devel@lists.xenproject.org; Sun, 25 Oct 2020 05:45:50 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id e3acac7c-3b65-4df6-aacf-248b69bc3407; Sun, 25 Oct 2020 05:45:48 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6BA42ABDE; Sun, 25 Oct 2020 05:45:47 +0000 (UTC) Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kWYqk-0005AL-PV for xen-devel@lists.xenproject.org; Sun, 25 Oct 2020 05:45:50 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id e3acac7c-3b65-4df6-aacf-248b69bc3407; Sun, 25 Oct 2020 05:45:48 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6BA42ABDE; Sun, 25 Oct 2020 05:45:47 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: e3acac7c-3b65-4df6-aacf-248b69bc3407 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1603604747; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=YafWDY0sGbBr2Keuon4d1t6Xh6u+lrf5ml2czJnQEh0=; b=mUqGjhLHRuoTL5/ToNHHrf5e1cpMlHVytMvei9IstZeNKJJViAGhbrnBHMUxUIq9n6kKSr 0ZBj3tKFnMZkmr0QhW1hMDxdRzuOQ15cdF1t3IXaRMnrEQu/Xnu3gvmlxqS6i38g5NlMPR RAp5euLzWKIwz1XGtNde2ygONy52+5I= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Ian Jackson , Wei Liu Subject: [PATCH] tools/helpers: fix Arm build by excluding init-xenstore-domain Date: Sun, 25 Oct 2020 06:45:46 +0100 Message-Id: <20201025054546.4960-1-jgross@suse.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) Content-Type: text/plain; charset="utf-8" The support for PVH xenstore-stubdom has broken the Arm build. Xenstore stubdom isn't supported on Arm, so there is no need to build the init-xenstore-domain helper. Build the helper on x86 only. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- tools/helpers/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tools/helpers/Makefile b/tools/helpers/Makefile index f759528322..1bcc97ea8a 100644 --- a/tools/helpers/Makefile +++ b/tools/helpers/Makefile @@ -7,8 +7,10 @@ include $(XEN_ROOT)/tools/Rules.mk =20 PROGS +=3D xen-init-dom0 ifeq ($(CONFIG_Linux),y) +ifeq ($(CONFIG_X86),y) PROGS +=3D init-xenstore-domain endif +endif =20 XEN_INIT_DOM0_OBJS =3D xen-init-dom0.o init-dom-json.o $(XEN_INIT_DOM0_OBJS): CFLAGS +=3D $(CFLAGS_libxentoollog) @@ -37,17 +39,11 @@ init-xenstore-domain: $(INIT_XENSTORE_DOMAIN_OBJS) .PHONY: install install: all $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_PROG) xen-init-dom0 $(DESTDIR)$(LIBEXEC_BIN) -ifeq ($(CONFIG_Linux),y) - $(INSTALL_PROG) init-xenstore-domain $(DESTDIR)$(LIBEXEC_BIN) -endif + for i in $(PROGS); do $(INSTALL_PROG) $$i $(DESTDIR)$(LIBEXEC_BIN); done =20 .PHONY: uninstall uninstall: -ifeq ($(CONFIG_Linux),y) - rm -f $(DESTDIR)$(LIBEXEC_BIN)/init-xenstore-domain -endif - rm -f $(DESTDIR)$(LIBEXEC_BIN)/xen-init-dom0 + for i in $(PROGS); do rm -f $(DESTDIR)$(LIBEXEC_BIN)/$$i; done =20 .PHONY: clean clean: --=20 2.26.2