From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8943 Path: news.gmane.org!not-for-mail From: Petr Hosek Newsgroups: gmane.linux.lib.musl.general Subject: Re: Support for out-of-tree build Date: Mon, 30 Nov 2015 01:30:30 +0000 Message-ID: References: <20151117220141.GD3818@brightrain.aerifal.cx> <20151117230606.GJ18372@port70.net> <20151117232711.GG3818@brightrain.aerifal.cx> <20151117234330.GH3818@brightrain.aerifal.cx> <20151118001955.GI3818@brightrain.aerifal.cx> <20151118214452.GQ3818@brightrain.aerifal.cx> <20151122145600.GJ23362@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0355282807170525b7fd7a X-Trace: ger.gmane.org 1448847054 30207 80.91.229.3 (30 Nov 2015 01:30:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2015 01:30:54 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8956-gllmg-musl=m.gmane.org@lists.openwall.com Mon Nov 30 02:30:50 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1a3DIn-0004Zn-CX for gllmg-musl@m.gmane.org; Mon, 30 Nov 2015 02:30:49 +0100 Original-Received: (qmail 20141 invoked by uid 550); 30 Nov 2015 01:30:52 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 20120 invoked from network); 30 Nov 2015 01:30:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=mS+7CgQ2ju3S9KjU19vrvqKwxrIheWbnpmm1nUXBQqI=; b=O6SKiLlGumEQ8Cn+JVChDKU+sSiOBZ6ZOOFocoViLBBph++UA6w3XR7rg9SkdLeOyr l2uPeTQi/A1Z1QfiN5p1eOpEXlP6lWulQcaAQe+KEJnZu4POH+mNjXTYXfqzVAxGmIAG RI2yWe+rmA/x9F/XSPzzkwL49o3yYWmZJf13s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=mS+7CgQ2ju3S9KjU19vrvqKwxrIheWbnpmm1nUXBQqI=; b=e+jBiTxymrnf6YNOWzjiOXF80/uA830TJc85Ys+GBEIU2Vj9EJom3VSBcwK1OdnJaM IvXMctn0EYngAl3mmMLysRr/lVmyMSpVPAzx12Lvx9ROrgAGZ0jds3Wtk0F4dzFSR7ap 8E8LYoQw8bxUjpkVrOrlV60u9IR0o2EN07K4o3wjV3QvSayZJaESKkT7wOpW+1jMYMw4 W6sSIOc4g3esHylwAok5Mtgs+0T6UdubYtQKyqpC3zZ06UFyHGMFWT5SI12SXs+Uro84 +1pmJcFVfWtGgL/9doF0ufOfOwPWk6bQU6q9AVxP5cMY6z5qQPzoi/s/+CAUgfIMNS0W Tz1A== X-Gm-Message-State: ALoCoQlSmUhXpnxR04UZByC1FJlW7i3gLZibP+IzQTQ1TfRv5SDMc8Yg9pdEB8mDSWHrpT0oToFu X-Received: by 10.13.241.197 with SMTP id a188mr49456175ywf.134.1448847040028; Sun, 29 Nov 2015 17:30:40 -0800 (PST) In-Reply-To: <20151122145600.GJ23362@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:8943 Archived-At: --94eb2c0355282807170525b7fd7a Content-Type: text/plain; charset=UTF-8 On Sun, Nov 22, 2015 at 6:56 AM Szabolcs Nagy wrote: > * Petr Hosek [2015-11-19 00:22:09 +0000]: > > > > +$(ALL_LIBS): | lib/ > > +$(ALL_TOOLS): | tools/ > > +$(CRT_LIBS:lib/%=$(objdir)/crt/%): | $(objdir)/crt/ > > +$(OBJS) $(LOBJS): | $(sort $(dir $(OBJS))) > > +$(GENH): | $(objdir)/include/bits/ > > +$(GENH_INT): | $(objdir)/src/internal/ > > + > > one more comment: > tools/ is now used for both sources and outputs, > i think it can be used for sources only by moving > the tools outputs under obj/ (so tools/ does not > need to be created out of tree, only obj/ and lib/) > Do you mean moving the tools output directly to obj/ or obj/tools? --94eb2c0355282807170525b7fd7a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sun, Nov 22= , 2015 at 6:56 AM Szabolcs Nagy <nsz@p= ort70.net> wrote:
* Petr H= osek <phosek@ch= romium.org> [2015-11-19 00:22:09 +0000]:
>
> +$(ALL_LIBS): | lib/
> +$(ALL_TOOLS): | tools/
> +$(CRT_LIBS:lib/%=3D$(objdir)/crt/%): | $(objdir)/crt/
> +$(OBJS) $(LOBJS): | $(sort $(dir $(OBJS)))
> +$(GENH): | $(objdir)/include/bits/
> +$(GENH_INT): | $(objdir)/src/internal/
> +

one more comment:
tools/ is now used for both sources and outputs,
i think it can be used for sources only by moving
the tools outputs under obj/ (so tools/ does not
need to be created out of tree, only obj/ and lib/)
Do you mean moving the tools output directly to obj/ or obj/to= ols?
--94eb2c0355282807170525b7fd7a--