[patch] Bugs in install_headers

Mike Frysinger vapier at gentoo.org
Sat Feb 11 04:10:38 UTC 2006


On Friday 10 February 2006 17:18, Joseph S. Myers wrote:
> On Fri, 10 Feb 2006, Mike Frysinger wrote:
> > going through my backlog here ... this should be resolved now in uClibc
> > svn head ... if it isnt, can you post an up-to-date patch please ?
>
> The issue of headers being copied over themselves isn't resolved.  Here's
> a current patch.  Again, the headers are copied to
> $(PREFIX)$(DEVEL_PREFIX) (not to plain $(DEVEL_PREFIX)) so that is what
> must be compared with $(KERNEL_SOURCE) to avoid tar copying files to
> themselves.

so we're clear, what are you trying to fix ?  are  you trying to avoid copying 
too often or not enough ?  i'm thinking the test should read:
if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] || \
   [ "$(KERNEL_SOURCE)" = "$(PREFIX)$(DEVEL_PREFIX)" ] ; then
-mike



More information about the uClibc mailing list