xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Patrick Welche <prlw1@cam.ac.uk>
Cc: keir@xen.org, ian.campbell@citrix.com, Tim Deegan <tim@xen.org>,
	chegger@amazon.de, Ian.Jackson@eu.citrix.com,
	xen-devel@lists.xen.org, stefano.stabellini@citrix.com,
	jbeulich@suse.com
Subject: Re: [PATCH 0/3] stdinc-related build fixes.
Date: Thu, 15 Aug 2013 20:58:44 +0100	[thread overview]
Message-ID: <520D32F4.1040200@citrix.com> (raw)
In-Reply-To: <20130815194936.GA138@quantz>

On 15/08/13 20:49, Patrick Welche wrote:
> On Thu, Aug 15, 2013 at 02:25:04PM +0100, Tim Deegan wrote:
>> These three patches tidy some of the xen build runes around the use of
>> nostdinc.
>>
>> Patch 3/3 hasn't yet been tested on an actual NetBSD box,
>> so I'd appreciate it if Patrick would give it a go.  Apart from that,
>> I've tested with every GCC I can lay my hands on (and clang 3.0),
>> building x86 and ARM.
> Your changes allowed a successful "gmake xen", thank you!
>
> If we want to carry on helping smooth out the build, I was surprised
> by "gmake install xen" giving
>
>   [ -d //boot ] || install -d -m0755 -p //boot
>   install: //boot exists but is not a directory
>
> given that I had configured with --prefix=/usr/local/xen.
>
> /boot isn't a directory, it's my second stage bootloader, so I
> would rather not loose it ;-) Start another thread?
>
> Cheers,
>
> Patrick

As for your boot problem, that will be something not correctly setting
the DESTDIR make variable.

Is gmake having a fit with the "local variable" syntax in xen/Makefile

.PHONY: _install
_install: D=$(DESTDIR)
_install: T=$(notdir $(TARGET))
_install: Z=$(CONFIG_XEN_INSTALL_SUFFIX)
_install: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX)
        [ -d $(D)/boot ] || $(INSTALL_DIR) $(D)/boot
        $(INSTALL_DATA) $(TARGET)$(Z) $(D)/boot/$(T)-$(XEN_FULLVERSION)$(Z)

or is something else not setting DESTDIR higher up?

~Andrew

>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2013-08-15 19:58 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15 13:25 [PATCH 0/3] stdinc-related build fixes Tim Deegan
2013-08-15 13:25 ` [PATCH 1/3] xen: move some arch CFLAGS into the common Rules.mk Tim Deegan
2013-08-15 14:11   ` Ian Campbell
2013-08-15 13:25 ` [PATCH 2/3] xen: move -nostdinc into " Tim Deegan
2013-08-15 14:12   ` Ian Campbell
2013-08-15 13:25 ` [PATCH 3/3] xen: Add stdbool.h workaround for BSD Tim Deegan
2013-08-15 14:15   ` Ian Campbell
2013-08-19 13:48   ` Ian Jackson
2013-08-19 14:16     ` Tim Deegan
2013-08-19 16:48       ` Ian Jackson
2013-08-15 13:51 ` [PATCH 0/3] stdinc-related build fixes Jan Beulich
2013-08-15 15:26   ` Keir Fraser
2013-08-15 15:55 ` Solaris / FreeBSD builds (was Re: [PATCH 0/3] stdinc-related build fixes.) Tim Deegan
2013-08-15 19:49 ` [PATCH 0/3] stdinc-related build fixes Patrick Welche
2013-08-15 19:58   ` Andrew Cooper [this message]
2013-08-15 21:05     ` Patrick Welche
2013-08-15 21:15   ` Tim Deegan
2013-08-16  7:17     ` clang compilation Patrick Welche
2013-08-16  8:17       ` Tim Deegan
2013-08-16  8:48         ` Jan Beulich
2013-08-16  8:54           ` Tim Deegan
2013-08-16  9:27             ` Jan Beulich
2013-08-16 10:00         ` Jan Beulich
2013-08-16  8:23     ` [PATCH 0/3] stdinc-related build fixes Jan Beulich

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=520D32F4.1040200@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=chegger@amazon.de \
    --cc=ian.campbell@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=prlw1@cam.ac.uk \
    --cc=stefano.stabellini@citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).