From: Ian Campbell Subject: Re: [PATCH v2] stubdom: fix make clean and distclean on a freshly cloned tree Date: Mon, 2 Mar 2015 17:00:05 +0000 Message-ID: <1425315605.24959.15.camel@citrix.com> References: <1425308743-847-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1425308743-847-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Samuel Thibault , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2015-03-02 at 15:05 +0000, Wei Liu wrote: > Clean and distclean targets need not depend on existence of the mini-os > tree. Don't check for mini-os and don't try to blindly include > mini-os's Config.mk when doing clean and distclean. > > Note that one subtle issue is that $(XEN_ROOT)/Config.mk tries to > include $(XEN_ROOT)/config/$(XEN_OS).mk. In stubdom's case XEN_OS is > "MiniOS". Then $(XEN_ROOT)/config/MiniOS.mk tries to include mini-os's > Config.mk. > > Since clean and distclean don't enforce existence of mini-os tree, don't > include $(XEN_ROOT)/Config.mk to avoid getting error due to the > aforementioned issue. > > Reported-by: Sander Eikelenboom > Signed-off-by: Wei Liu > Cc: Ian Campbell > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Samuel Thibault Acked + applied, thanks.