From nobody Sun May 19 13:34:34 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=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1692780008; cv=none; d=zohomail.com; s=zohoarc; b=ZdgCqZQM2+HlARwl59A0Lf9h2PEoVql3i62NZWkdefI7dVaeUpAHzMF6X1/9yBUj7M4aH7XcSKnM4sWVUu+rZR/NIBnyTrjOWdlNOOoFBpXNCghP5twkClLTbzeK6fYctqRTaeeGzuIduUZ99Zj2g4EBASWm7t/np0UF+viaTws= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692780008; 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=d4byF+rn6QX6KvQ/TU6fu/RGem5w5N1coOjP+nnUbU0=; b=YyhsAc3Ro059/7GnSpKiyrhRUEqNtRAp7JBFSQfjN2p8fRfFjHizBkGKgEkZl8wQMktmc5XnCkeIilhx+t7jSvMNg81ZBlJxUJ3hy5BMgONjXX4RE5kTl2OzNYbNWNprGJwJjt9E2ilGxAi+Hv3Xldcu5RglhhSer3UwljanKf8= 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=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1692780008884933.9047605271822; Wed, 23 Aug 2023 01:40:08 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.589053.920765 (Exim 4.92) (envelope-from ) id 1qYjOy-0002C3-P9; Wed, 23 Aug 2023 08:39:44 +0000 Received: by outflank-mailman (output) from mailman id 589053.920765; Wed, 23 Aug 2023 08:39:44 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qYjOy-0002Bw-Mh; Wed, 23 Aug 2023 08:39:44 +0000 Received: by outflank-mailman (input) for mailman id 589053; Wed, 23 Aug 2023 08:39:43 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qYjOx-0002Bn-Ft for xen-devel@lists.xenproject.org; Wed, 23 Aug 2023 08:39:43 +0000 Received: from smtp-out2.suse.de (smtp-out2.suse.de [2001:67c:2178:6::1d]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 9af1cbe1-4190-11ee-8783-cb3800f73035; Wed, 23 Aug 2023 10:39:42 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3545D1F45A; Wed, 23 Aug 2023 08:39:42 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EAF0F13458; Wed, 23 Aug 2023 08:39:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +9EPOM3F5WQeYgAAMHmgww (envelope-from ); Wed, 23 Aug 2023 08:39:41 +0000 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: 9af1cbe1-4190-11ee-8783-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1692779982; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=d4byF+rn6QX6KvQ/TU6fu/RGem5w5N1coOjP+nnUbU0=; b=X26wbqqmPDKVLyxkZSqUWm7Mf7EmruhsnyBC1IdRgBVj/m28PMgX5/nKjHeTcBmYyzL2ZC BfoQeG5gDQp9i5AdBeCWQMCo7awpt2Lnx5RKyr8oXYJGoCug5BlMN6f9uoEUh2vKInZN1c 6WIcOEMtf2cTZzwO7oo+myrJbtTW2ic= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH] build: simplify clean handling of extras directory Date: Wed, 23 Aug 2023 10:39:40 +0200 Message-Id: <20230823083940.20020-1-jgross@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1692780011213100001 Content-Type: text/plain; charset="utf-8" The extras directory is used only as a download target for Mini-OS sources. Instead of special handling extras/mini-os* in .gitignore and the clean targets, just use extras for that purpose. So add "extras" to .gitignore and remove it when doing a "make distclean". Signed-off-by: Juergen Gross --- .gitignore | 2 +- .hgignore | 6 +----- Makefile | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index c1b73b0968..2d4baa4395 100644 --- a/.gitignore +++ b/.gitignore @@ -63,7 +63,7 @@ docs/man7/ docs/man8/ docs/pdf/ docs/txt/ -extras/mini-os* +extras/ install/* stubdom/*-minios-config.mk stubdom/autom4te.cache/ diff --git a/.hgignore b/.hgignore index 2d41670632..030d97803e 100644 --- a/.hgignore +++ b/.hgignore @@ -77,11 +77,7 @@ ^docs/xen-api/vm_lifecycle.eps$ ^docs/xen-api/xenapi-datamodel-graph.eps$ ^docs/xen-api/xenapi.out$ -^extras/mini-os/include/list\.h$ -^extras/mini-os/include/mini-os$ -^extras/mini-os/include/x86/mini-os$ -^extras/mini-os/include/xen$ -^extras/mini-os/mini-os.*$ +^extras/ ^install/.*$ ^linux-[^/]*-paravirt/.*$ ^linux-2.6[^/]*/.*$ diff --git a/Makefile b/Makefile index b93b22c752..a6ca348476 100644 --- a/Makefile +++ b/Makefile @@ -246,6 +246,7 @@ clean-docs: # clean, but blow away tarballs .PHONY: distclean distclean: $(TARGS_DISTCLEAN) + rm -rf extras $(MAKE) -C tools/include distclean rm -f config/Toplevel.mk rm -rf dist @@ -265,7 +266,6 @@ distclean-stubdom: ifeq (x86_64,$(XEN_TARGET_ARCH)) XEN_TARGET_ARCH=3Dx86_32 $(MAKE) -C stubdom distclean endif - rm -rf extras/mini-os extras/mini-os-remote =20 .PHONY: distclean-docs distclean-docs: --=20 2.35.3