summaryrefslogtreecommitdiff
path: root/package/eglibc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/eglibc/Makefile')
-rw-r--r--package/eglibc/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index 112772a7d..a884cb37f 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -34,13 +34,21 @@ endif
cd $(IDIR_EGLIBC)/lib && ln -sf libc.so.6 libc.so
cd $(IDIR_EGLIBC)/lib && ln -sf libgcc_s.so.1 libgcc_s.so
# header package
- ${INSTALL_DIR} $(IDIR_EGLIBC_DEV)/usr/include/{sys,bits,gnu}
- for file in pthread sched wchar _G_config getopt endian features libio stdio error signal time unistd;do \
+ ${INSTALL_DIR} $(IDIR_EGLIBC_DEV)/usr/include/{sys,bits,gnu,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_EGLIBC_DEV)/usr/include; \
done
+ ${CP} $(STAGING_DIR)/usr/include/asm/*.h $(IDIR_EGLIBC_DEV)/usr/include/asm
+ ${CP} $(STAGING_DIR)/usr/include/asm-generic/*.h $(IDIR_EGLIBC_DEV)/usr/include/asm-generic
${CP} $(STAGING_DIR)/usr/include/sys/*.h $(IDIR_EGLIBC_DEV)/usr/include/sys
${CP} $(STAGING_DIR)/usr/include/bits/*.h $(IDIR_EGLIBC_DEV)/usr/include/bits
${CP} $(STAGING_DIR)/usr/include/gnu/*.h $(IDIR_EGLIBC_DEV)/usr/include/gnu
+ ${CP} $(STAGING_DIR)/usr/include/linux/*.h $(IDIR_EGLIBC_DEV)/usr/include/linux
include ${TOPDIR}/mk/pkg-bottom.mk