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 18 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)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.