OSDN Git Service

We _must_ copy include/asm/ and include/linux/ when installing headers, since
authorEric Andersen <andersen@codepoet.org>
Wed, 17 Aug 2005 00:25:30 +0000 (00:25 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 17 Aug 2005 00:25:30 +0000 (00:25 -0000)
once we build uClibc against those, they become part of uClibc's ABI and must
be included as part of the install.

Makefile

index 979a525..3d7cb0d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -158,8 +158,7 @@ install_dev:
        $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
        $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
        -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
-       tar -chf - include \
-               --exclude .svn --exclude include/linux --exclude include/asm'*' \
+       tar -chf - include --exclude .svn --exclude CVS \
                | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
 ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
        # Remove floating point related headers since float support is disabled.