Hi Anton,
Anton Kolesov wrote,

> If uClibc is built outside of the source tree, then there is an error:
> 
> make[1]: *** No rule to make target 
> `/home/akolesov/build-uclibc/extra/locale',
> needed by `/home/akolesov/build-uclibc/extra/locale/gen_wc8bit'.  Stop.
> 
> The rule to create $(top_builddir)/extra/locale is defined in top-level
> Makefile.in. Same Makefile.in also invokes extra/locale/Makefile.in to build
> various tools. Those tools have $(top_builddir)/extra/locale as a
> dependency, but this makefile doesn't include top-level Makefile.in,
> therefore rule to create dependant directory is absent in this submake
> invocation.
> 
> To avoid this problem this patch defines $(top_builddir)/extra/locale as a
> dependency for "headers" target, which invokes extra/locale/Makefile.in,
> thus making sure that prerequisite directory is created in advance.
> 
> This problem doesn't occur when building in the source tree, since
> $(top_builddir) == $(top_srcdir), so this directory already exists.
> 
> Signed-off-by: Anton Kolesov <anton.kole...@synopsys.com>

Thanks,
 applied and pushed,

 Waldemar
_______________________________________________
devel mailing list
devel@uclibc-ng.org
http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel

Reply via email to