Browse Source

We _must_ copy include/asm/ and include/linux/ when installing headers, since
once we build uClibc against those, they become part of uClibc's ABI and must
be included as part of the install.

Eric Andersen 20 years ago
parent
commit
0778c8cb37
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Makefile

+ 1 - 2
Makefile

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