|
Message-ID: <20151121011647.GD23362@port70.net> Date: Sat, 21 Nov 2015 02:16:48 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: Support for out-of-tree build * Szabolcs Nagy <nsz@...t70.net> [2015-11-21 02:05:33 +0100]: > * Petr Hosek <phosek@...omium.org> [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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.