From 0778c8cb377a6375eefd658e8114215f63a1f4c3 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Wed, 17 Aug 2005 00:25:30 +0000
Subject: 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.

---
 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 979a5255e..3d7cb0d1f 100644
--- 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.
-- 
cgit v1.2.3