svn commit: trunk/uClibc

vapier at uclibc.org vapier at uclibc.org
Fri Feb 17 12:11:01 UTC 2006


Author: vapier
Date: 2006-02-17 04:11:00 -0800 (Fri, 17 Feb 2006)
New Revision: 14098

Log:
combine the crt1.0/Scrt1.o rules since they are pretty much the samething

Modified:
   trunk/uClibc/Makerules


Changeset:
Modified: trunk/uClibc/Makerules
===================================================================
--- trunk/uClibc/Makerules	2006-02-17 12:09:52 UTC (rev 14097)
+++ trunk/uClibc/Makerules	2006-02-17 12:11:00 UTC (rev 14098)
@@ -181,7 +181,7 @@
 $(headers_dep):
 	@cd $(top_builddir); $(MAKE) headers
 
-CRT=crt1
+CRT := crt1
 
 ifeq ($(HAVE_SHARED),y)
 CRTS=$(top_builddir)lib/$(CRT).o $(top_builddir)lib/S$(CRT).o
@@ -189,16 +189,13 @@
 CRTS=$(top_builddir)lib/$(CRT).o
 endif
 
-$(top_builddir)lib/$(CRT).o: $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/$(CRT).S
+ASFLAGS-$(CRT).o := -DL_$(CRT)
+ASFLAGS-S$(CRT).o := $(PIEFLAG) -DL_S$(CRT)
+$(CRTS): $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/$(CRT).S
 	$(Q)$(INSTALL) -d $(dir $@)
-	$(compile.S) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@))
+	$(compile.S)
 	$(Q)$(STRIPTOOL) -x -R .note -R .comment $@
 
-$(top_builddir)lib/S$(CRT).o: $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/$(CRT).S
-	$(Q)$(INSTALL) -d $(dir $@)
-	$(compile.S) $(PIEFLAG) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@))
-	$(Q)$(STRIPTOOL) -x -R .note -R .comment $@
-
 CTOR_TARGETS=$(top_builddir)lib/crti.o $(top_builddir)lib/crtn.o
 
 ifeq ($(UCLIBC_CTOR_DTOR),y)




More information about the uClibc-cvs mailing list