svn commit: trunk/uClibc: extra/scripts

psm at uclibc.org psm at uclibc.org
Fri Oct 28 10:55:14 UTC 2005


Author: psm
Date: 2005-10-28 03:55:11 -0700 (Fri, 28 Oct 2005)
New Revision: 11951

Log:
Use consequently headers-y and headers_clean-y, try avoiding TARGET_ARCH use in main Makefile.in

Modified:
   trunk/uClibc/Makefile.in
   trunk/uClibc/Makerules
   trunk/uClibc/extra/scripts/create_links.sh


Changeset:
Modified: trunk/uClibc/Makefile.in
===================================================================
--- trunk/uClibc/Makefile.in	2005-10-28 10:15:42 UTC (rev 11950)
+++ trunk/uClibc/Makefile.in	2005-10-28 10:55:11 UTC (rev 11951)
@@ -107,11 +107,13 @@
 		$(RM) include/bits/sysnum.h; \
 		mv -f include/bits/sysnum.h.new include/bits/sysnum.h; \
 	fi
+ifeq ($(HAVE_SHARED),y)
+	$(MAKE) -C ldso headers-y
+endif
 ifeq ($(UCLIBC_HAS_THREADS),y)
-	$(MAKE) -C libpthread threads_headers
+	$(MAKE) -C libpthread headers-y
 endif
-	$(MAKE) -C libc/sysdeps/linux/common common_headers
-	$(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) arch_headers
+	$(MAKE) -C libc/sysdeps/linux headers-y
 
 # Command used to download source code
 WGET:=wget --passive-ftp
@@ -369,6 +371,7 @@
 	$(MAKE) -C extra/locale clean
 	$(MAKE) -C ldso headers_clean-y
 	$(MAKE) -C libpthread headers_clean-y
+	$(MAKE) -C libc/sysdeps/linux headers_clean-y
 	$(MAKE) -C test clean
 	$(MAKE) -C utils clean
 	@set -e; \
@@ -381,9 +384,6 @@
 		done; \
 	fi
 	@$(RM) include/linux include/asm*
-	@if [ -f libc/sysdeps/linux/$(TARGET_ARCH)/Makefile.arch ]; then \
-	    $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers_clean-y; \
-	fi
 	-find . \( -name \*.o -o -name \*.os -o -name \*.oS \) -exec $(RM) {} \;
 
 distclean: clean

Modified: trunk/uClibc/Makerules
===================================================================
--- trunk/uClibc/Makerules	2005-10-28 10:15:42 UTC (rev 11950)
+++ trunk/uClibc/Makerules	2005-10-28 10:55:11 UTC (rev 11951)
@@ -76,7 +76,7 @@
 $(crt-y): $(CRTS) $(CTOR_TARGETS)
 
 other-y: $(other-y)
-headers: $(headers-y)
+headers-y: $(headers-y)
 
 objclean-y: $(objclean-y)
 headers_clean-y: $(headers_clean-y)

Modified: trunk/uClibc/extra/scripts/create_links.sh
===================================================================
--- trunk/uClibc/extra/scripts/create_links.sh	2005-10-28 10:15:42 UTC (rev 11950)
+++ trunk/uClibc/extra/scripts/create_links.sh	2005-10-28 10:55:11 UTC (rev 11951)
@@ -4,7 +4,6 @@
 
 DIRS="ldso libc libcrypt libintl libm libnsl libpthread libresolv librt libutil"
 DIRS2="ldso/ldso ldso/libdl libpthread/linuxthreads libpthread/linuxthreads_db"
-OBJ4="common arm i386 mips powerpc x86_64"
 
 for x in ${DIRS} ; do
 	find ${x} -type f -name Makefile -exec rm -f {} \;
@@ -15,9 +14,8 @@
 	ln -sf ../../extra/scripts/Makefile.libs.lvl2 ${x}/Makefile
 done
 
-for x in ${OBJ4} ; do
-	ln -sf ../../../../extra/scripts/Makefile.objs.lvl4 libc/sysdeps/linux/${x}/Makefile
-done
+ln -sf ../../../extra/scripts/Makefile.objs.lvl3 libc/sysdeps/linux/Makefile
+ln -sf ../../extra/scripts/Makefile.objs.lvl2 libc/string/Makefile
 
 rm -f Makefile
 ln -sf Makefile.in Makefile




More information about the uClibc-cvs mailing list