From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8909 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: Sat, 21 Nov 2015 02:16:48 +0100 Message-ID: <20151121011647.GD23362@port70.net> 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> <20151121010532.GC23362@port70.net> 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 1448068624 32519 80.91.229.3 (21 Nov 2015 01:17:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Nov 2015 01:17:04 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8922-gllmg-musl=m.gmane.org@lists.openwall.com Sat Nov 21 02:17:04 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 1ZzwnX-0000Yz-Iz for gllmg-musl@m.gmane.org; Sat, 21 Nov 2015 02:17:03 +0100 Original-Received: (qmail 18211 invoked by uid 550); 21 Nov 2015 01:17:00 -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 18193 invoked from network); 21 Nov 2015 01:16:59 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20151121010532.GC23362@port70.net> User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:8909 Archived-At: * Szabolcs Nagy [2015-11-21 02:05:33 +0100]: > * 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/ > > + > > +SRC_DIRS = $(sort $(dir $(ALL_LIBS) $(ALL_TOOLS) $(OBJS) $(GENH) $(GENH_INT)) $(addprefix $(objdir)/, crt/ include/)) > > + > > +$(SRC_DIRS): > > + mkdir -p $@ > > + > ... > > +$(objdir)/include/bits/alltypes.h: $(srcdir)/arch/$(ARCH)/bits/alltypes.h.in $(srcdir)/include/alltypes.h.in $(srcdir)/tools/mkalltypes.sed $(objdir)/include/bits > > this needs a / at the end otherwise make 4.1 fails with > > make: *** No rule to make target 'obj/include/bits', needed by 'obj/include/bits/alltypes.h'. Stop. > sorry, the obj/include/bits dependency has to be removed here, the order only dep does the right thing