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 năm trước cách đây
mục cha
commit
0778c8cb37
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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.