[uClibc-cvs] uClibc/libc/sysdeps/linux Makefile,1.19,1.20

Erik Andersen andersen at uclibc.org
Thu Nov 20 14:40:54 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux
In directory winder:/home/andersen/CVS/uClibc/libc/sysdeps/linux

Modified Files:
	Makefile 
Log Message:
Make certain that the arch specific stuff is always compiled last


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/Makefile,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- Makefile	13 Aug 2003 20:08:25 -0000	1.19
+++ Makefile	20 Nov 2003 14:40:50 -0000	1.20
@@ -19,7 +19,6 @@
 TOPDIR=../../../
 include $(TOPDIR)Rules.mak
 
-DIRS = common $(TARGET_ARCH)
 ALL_SUBDIRS = arm common cris h8300 i386 m68k mips powerpc sh sh64 sparc v850
 
 all: subdirs
@@ -29,11 +28,15 @@
 
 clean: subdirs_clean
 
-subdirs: $(patsubst %, _dir_%, $(DIRS))
+subdirs: common $(TARGET_ARCH)
 subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
 
-$(patsubst %, _dir_%, $(DIRS)) : dummy
-	$(MAKE) -C $(patsubst _dir_%, %, $@)
+
+common: dummy
+	$(MAKE) -C common
+
+$(TARGET_ARCH): common
+	$(MAKE) -C $(TARGET_ARCH)
 
 $(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy
 	$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean




More information about the uClibc-cvs mailing list