[patch] Bugs in install_headers

Mike Frysinger vapier at gentoo.org
Sat Feb 11 19:52:44 UTC 2006


On Saturday 11 February 2006 04:39, Joseph S. Myers wrote:
> It might be possible for $(DEVEL_PREFIX) and $(KERNEL_SOURCE) to be /usr
> (copying system kernel headers from /usr/include to the target sysroot, in
> the case that the target and host architectures are the same), where
> $(PREFIX) gives the location of the target sysroot, and in that case the
> headers do need copying to $(PREFIX)$(DEVEL_PREFIX).  (That's not the
> configuration I use - I use $(DEVEL_PREFIX) being /usr and
> $(KERNEL_SOURCE) being $(PREFIX)$(DEVEL_PREFIX) - but it seems a possible
> configuration where testing [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ]
> would end up copying too little.)

right, the reason i added that bit of code in the first place was that i 
typically use for my cross compilers:
KERNEL_SOURCE=/usr/mytarget/
DEVEL_PREFIX=/usr/mytarget/
so i'll add the updated test i mentioned in the previous e-mail
-mike



More information about the uClibc mailing list