瀏覽代碼

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 年之前
父節點
當前提交
0778c8cb37
共有 1 個文件被更改,包括 1 次插入2 次删除
  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.