From: Ian Campbell <ian.campbell@citrix.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
Wei Liu <wei.liu2@citrix.com>
Subject: Re: Xen-unstable "make clean" error on a freshly cloned tree
Date: Mon, 2 Mar 2015 09:40:44 +0000 [thread overview]
Message-ID: <1425289244.1886.6.camel@citrix.com> (raw)
In-Reply-To: <1111974182.20150301233053@eikelenboom.it>
On Sun, 2015-03-01 at 23:30 +0100, Sander Eikelenboom wrote:
> Hi Wei / Ian,
>
> I'm getting this error on a "make clean" on a freshly
> cloned xen-unstable staging tree. It's probably because the make script
> can't handle a make clean on a tree which hasn't cloned the mini-os tree
> at least once as part of a build.
Yes. I thought we had addressed that during review, but it seems we only
caught one of the two places.
Wei,
I think this bit of stubdom/Makefile:
ifeq ($(wildcard $(MINI_OS)/Config.mk),)
$(error Please run `make mini-os-dir' in top-level directory)
endif
Needs something like this pattern from the end of tools/Rules.mk,
combined with the wildcard stuff (or switching to a dependency on
Config.mk):
ifeq (,$(findstring clean,$(MAKECMDGOALS)))
$(XEN_ROOT)/config/Tools.mk:
$(error You have to run ./configure before building or installing the tools)
endif
I think that'll catch clean and distclean.
Can you whip up a patch please.
Ian.
prev parent reply other threads:[~2015-03-02 9:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 22:30 Xen-unstable "make clean" error on a freshly cloned tree Sander Eikelenboom
2015-03-02 9:40 ` Ian Campbell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1425289244.1886.6.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=linux@eikelenboom.it \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.