From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8885 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Support for out-of-tree build Date: Wed, 18 Nov 2015 00:06:08 +0100 Message-ID: <20151117230606.GJ18372@port70.net> References: <20151112203048.GB3818@brightrain.aerifal.cx> <20151112211024.GC18372@port70.net> <20151112215232.GC3818@brightrain.aerifal.cx> <20151112234137.GD3818@brightrain.aerifal.cx> <20151117210021.GB3818@brightrain.aerifal.cx> <20151117220141.GD3818@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1447801582 14734 80.91.229.3 (17 Nov 2015 23:06:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2015 23:06:22 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8898-gllmg-musl=m.gmane.org@lists.openwall.com Wed Nov 18 00:06:22 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 1ZypKP-0005cJ-IA for gllmg-musl@m.gmane.org; Wed, 18 Nov 2015 00:06:21 +0100 Original-Received: (qmail 28329 invoked by uid 550); 17 Nov 2015 23:06:20 -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 28311 invoked from network); 17 Nov 2015 23:06:19 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20151117220141.GD3818@brightrain.aerifal.cx> User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:8885 Archived-At: * Rich Felker [2015-11-17 17:01:41 -0500]: > However, at this point I'm strongly considering whether we should just > do away with the subarch dirs entirely and use preprocessed asm or C > with inline asm in their place. The one place this is mildly difficult ... > > Would this make things simpler for the build system? I think so. ok, but that's a separate change then i think the relevant decision for out-of-tree is if we want to keep %.o: $(ARCH)/%.s which means VPATH is needed, or if it's ok to have .o files under the $(ARCH) dir, so the rules are just %.o: %.s %.o: %.sub (of course setting $(OBJS) is more tricky then) i think we can then do out-of-tree independently from the subarch changes.