yann@1: We know that the kernel headers are in place. Don't try to install them. yann@1: yann@1: diff -dur uClibc-0.9.28.1.orig/Makefile uClibc-0.9.28.1/Makefile yann@1: --- uClibc-0.9.28.1.orig/Makefile 2007-01-28 06:38:00.000000000 +0100 yann@1: +++ uClibc-0.9.28.1/Makefile 2007-01-28 18:55:46.000000000 +0100 yann@1: @@ -158,12 +158,10 @@ yann@1: $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib yann@1: $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include yann@1: -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/ yann@1: - if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \ yann@1: - extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \ yann@1: - else \ yann@1: - extra_exclude="" ; \ yann@1: - fi ; \ yann@1: - tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \ yann@1: + extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \ yann@1: + tar -chf - include --exclude .svn --exclude CVS \ yann@1: + --exclude include/linux \ yann@1: + --exclude include/asm'*' \ yann@1: | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX) yann@1: echo '/* Dont use _syscall#() macros; use the syscall() function */' > \ yann@1: $(PREFIX)$(DEVEL_PREFIX)include/bits/syscalls.h