Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 09:30:56 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Ian Lepore <freebsd@damnhippie.dyndns.org>
Cc:        Garrett Cooper <yanegomi@gmail.com>, Andrew Turner <andrew@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, "Simon J. Gerraty" <sjg@juniper.net>
Subject:   Re: Is cross-world building broken?
Message-ID:  <CAJ-Vmonff8BqLJV7dS%2B3ze98oFY=mgFzOjLTJWFxCNTw1FyKHQ@mail.gmail.com>
In-Reply-To: <1354288503.69940.410.camel@revolution.hippie.lan>
References:  <CAJ-Vmo=EahyCf0GmPW6j81VjOs-qRoHWiQrEDedk5rj8sgk6nA@mail.gmail.com> <CAJ-Vmo=Z1SAuMbD=ATTGJ-SVg%2B-FaJ%2BS3bBaHv9Hg3c8AzUquA@mail.gmail.com> <6961B0D9-F823-415C-A105-7DAC8339CB30@gmail.com> <CAJ-VmomMv_GHMdN7dSD5QnPJ-TYDhSqHjhRJQETZGB8LOL4dVA@mail.gmail.com> <3EB9F7EB-D9C8-40CB-BF28-21B7BE59C94C@gmail.com> <20121128071252.7AC1958094@chaos.jnpr.net> <CAJ-VmomzK=fV-jNngsyDNw9kGboBeP91qRAQZqo=2SvDqPYhVQ@mail.gmail.com> <20121128231538.8AB6758094@chaos.jnpr.net> <CAJ-Vmonmgr3B0Zr5=V=d4gx1xRNcx0PecFDbZOv1PQ7Zk_7qyw@mail.gmail.com> <20121129000106.540ED58094@chaos.jnpr.net> <CAJ-VmokJkwcffpKTzmMrDU1y9Cqxh0vKCLDrS21obimAhVzY0g@mail.gmail.com> <CAGH67wQPajsRJaiAwAinS4XVz1kLrEB450Lcc6%2BZqF2h=rHTBQ@mail.gmail.com> <1354288503.69940.410.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
So, DESTDIR works fine if you use it for the install phases. If you
use it for the build phases, it confuses things.

I'm not sure why this has been working for the past 12 months or so.

I've modified my build scripts to:

* Add DESTDIR to installkernel, installworld, distribution
* Not set DESTDIR for buildworld, buildkernel.

And that seems to work.

Thanks for the advice everyone.



Adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmonff8BqLJV7dS%2B3ze98oFY=mgFzOjLTJWFxCNTw1FyKHQ>