[PATCH] create DEVEL_PREFIX/MULTILIB_DIR dir rather than DEVEL_PREFIX/lib

Khem Raj raj.khem at gmail.com
Mon Oct 25 21:18:32 UTC 2010


On (16/10/10 17:16), Natanael Copa wrote:
> Could someone please commit/push this patch to git master? Currently
> 'make install DESTDIR=$someplace' does not work with gnu make 3.82
> 

I have staged it in my tree will be there soon.

> Thanks!
> 
> On Tue, Aug 24, 2010 at 8:19 AM, Natanael Copa <natanael.copa at gmail.com> wrote:
> > This fixes issue with GNU Make 3.82 when running:
> >
> >  make install DESTDIR=$someplace
> >
> > Signed-off-by: Natanael Copa <natanael.copa at gmail.com>
> > ---
> >  Makefile.in |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/Makefile.in b/Makefile.in
> > index 1c0e305..bffe998 100644
> > --- a/Makefile.in
> > +++ b/Makefile.in
> > @@ -289,10 +289,10 @@ HEADERS_RM-$(UCLIBC_SUSV4_LEGACY)            += utime.h
> >        ### ucontext.h
> >
> >  ifneq ($(findstring install,$(MAKECMDGOALS)),)
> > -$(addprefix $(PREFIX)$(DEVEL_PREFIX),include lib):
> > +$(addprefix $(PREFIX)$(DEVEL_PREFIX),include $(MULTILIB_DIR)):
> >        $(do_mkdir)
> >  # avoid warning about duplicate targets in rule or overrides
> > -ifneq ($(abspath $(RUNTIME_PREFIX)$(MULTILIB_DIR)),$(abspath $(DEVEL_PREFIX)lib))
> > +ifneq ($(abspath $(RUNTIME_PREFIX)$(MULTILIB_DIR)),$(abspath $(DEVEL_PREFIX)$(MULTILIB_DIR)))
> >  $(PREFIX)$(RUNTIME_PREFIX)$(MULTILIB_DIR):
> >        $(do_mkdir)
> >  endif
> > --
> > 1.7.2.2
> >
> >
> 
> 
> 
> -- 
> Natanael Copa
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc


More information about the uClibc mailing list