[patch] Bugs in install_headers
Joseph S. Myers
joseph at codesourcery.com
Fri Feb 10 22:18:22 UTC 2006
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.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 13903)
+++ Makefile.in (working copy)
@@ -108,7 +108,7 @@
install_headers:
$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
printf ".svn\n.cvsignore\nCVS\n" > tar_exclude ; \
- if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
+ if [ "$(KERNEL_SOURCE)" = "$(PREFIX)$(DEVEL_PREFIX)" ] ; then \
ls -1d include/linux include/asm* >> tar_exclude ; \
fi ; \
$(TAR) -chf - -X tar_exclude include \
--
Joseph S. Myers
joseph at codesourcery.com
More information about the uClibc
mailing list