summaryrefslogtreecommitdiff
path: root/package/uclibc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/uclibc/Makefile')
-rw-r--r--package/uclibc/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile
index c5d2f01a9..e961ee86b 100644
--- a/package/uclibc/Makefile
+++ b/package/uclibc/Makefile
@@ -33,14 +33,20 @@ do-install:
cd $(IDIR_UCLIBC)/lib && ln -sf libc.so.0 libc.so
cd $(IDIR_UCLIBC)/lib && ln -sf libgcc_s.so.1 libgcc_s.so
# header package
- ${INSTALL_DIR} $(IDIR_UCLIBC_DEV)/usr/include/{sys,bits}
- for file in alloca stdint locale ctype stdlib string sgidefs \
+ ${INSTALL_DIR} $(IDIR_UCLIBC_DEV)/usr/include/{sys,bits,linux,asm,asm-generic}
+ for file in \
+ regex errno limits alloca stdint locale ctype \
+ stdlib string sgidefs fcntl \
libintl sched pthread wchar _G_config getopt endian \
- features libio stdio error signal time unistd;do \
- ${CP} $(STAGING_DIR)/usr/include/$$file.h \
- $(IDIR_UCLIBC_DEV)/usr/include; \
+ features libio stdio error signal time unistd \
+ ;do \
+ ${CP} $(STAGING_DIR)/usr/include/$$file.h \
+ $(IDIR_UCLIBC_DEV)/usr/include; \
done
+ ${CP} $(STAGING_DIR)/usr/include/asm/*.h $(IDIR_UCLIBC_DEV)/usr/include/asm
+ ${CP} $(STAGING_DIR)/usr/include/asm-generic/*.h $(IDIR_UCLIBC_DEV)/usr/include/asm-generic
${CP} $(STAGING_DIR)/usr/include/sys/*.h $(IDIR_UCLIBC_DEV)/usr/include/sys
${CP} $(STAGING_DIR)/usr/include/bits/*.h $(IDIR_UCLIBC_DEV)/usr/include/bits
+ ${CP} $(STAGING_DIR)/usr/include/linux/*.h $(IDIR_UCLIBC_DEV)/usr/include/linux
include ${TOPDIR}/mk/pkg-bottom.mk