diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-28 09:57:22 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-28 09:57:22 +0000 |
commit | 358043ffb9380926813eb8200f0a45140acdb77a (patch) | |
tree | a2ff6acbb0f25269b47efd0679a212d82808298b /libc/sysdeps | |
parent | 86553e6605853bb982cd0cd578134c42e26ee407 (diff) |
Renamed arch specific Makefile.in to Makefile.arch, else if TARGET_ARCH does not exist, we reinclude the including Makefile. Moved arch/common fpu_control.h link creation into main Makefile.in. Updated the link creation script to remove all the other Makefiles
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/Makefile.in | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/arm/Makefile.arch (renamed from libc/sysdeps/linux/arm/Makefile.in) | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/Makefile.in | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/i386/Makefile.arch (renamed from libc/sysdeps/linux/i386/Makefile.in) | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/Makefile.arch (renamed from libc/sysdeps/linux/mips/Makefile.in) | 10 | ||||
-rw-r--r-- | libc/sysdeps/linux/powerpc/Makefile.arch (renamed from libc/sysdeps/linux/powerpc/Makefile.in) | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/Makefile.arch (renamed from libc/sysdeps/linux/x86_64/Makefile.in) | 6 |
7 files changed, 8 insertions, 34 deletions
diff --git a/libc/sysdeps/linux/Makefile.in b/libc/sysdeps/linux/Makefile.in index a8ae79edd..d2a980c16 100644 --- a/libc/sysdeps/linux/Makefile.in +++ b/libc/sysdeps/linux/Makefile.in @@ -6,5 +6,5 @@ # # order is relevant -include $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/Makefile.in +-include $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/Makefile.arch include $(top_srcdir)libc/sysdeps/linux/common/Makefile.in diff --git a/libc/sysdeps/linux/arm/Makefile.in b/libc/sysdeps/linux/arm/Makefile.arch index 87339cd0d..e44b145f9 100644 --- a/libc/sysdeps/linux/arm/Makefile.in +++ b/libc/sysdeps/linux/arm/Makefile.arch @@ -21,7 +21,6 @@ ARCH_OBJS:=$(ARCH_COBJ) $(ARCH_SOBJ) crt-y:=create libc-a-y+=$(ARCH_OBJS) -libc-a-pic-y+=$(ARCH_OBJS:.o=.os) libc-so-y+=$(ARCH_OBJS:.o=.os) #libc-multi-y+=$(ARCH_CSRC) @@ -31,8 +30,3 @@ objclean-y+=arch_objclean arch_objclean: $(RM) $(ARCH_OUT)/*.{o,os} - -headers-y+=arch_headers - -arch_headers: - $(LN) -fs ../libc/sysdeps/linux/arm/fpu_control.h $(top_builddir)include/ diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in index ce7d8f90d..2ddb9128a 100644 --- a/libc/sysdeps/linux/common/Makefile.in +++ b/libc/sysdeps/linux/common/Makefile.in @@ -43,9 +43,3 @@ objclean-y+=common_objclean common_objclean: $(RM) $(COMMON_OUT)/*.{o,os} - -headers-y+=common_headers - -common_headers: - $(LN) -fs ../libc/sysdeps/linux/common/fpu_control.h $(top_builddir)include/ - $(LN) -fs ../libc/sysdeps/linux/common/dl-osinfo.h $(top_builddir)include/ diff --git a/libc/sysdeps/linux/i386/Makefile.in b/libc/sysdeps/linux/i386/Makefile.arch index 9593b7405..3ced8debd 100644 --- a/libc/sysdeps/linux/i386/Makefile.in +++ b/libc/sysdeps/linux/i386/Makefile.arch @@ -22,7 +22,6 @@ ARCH_OBJS:=$(ARCH_COBJ) $(ARCH_SOBJ) crt-y:=create libc-a-y+=$(ARCH_OBJS) -libc-a-pic-y+=$(ARCH_OBJS:.o=.os) libc-so-y+=$(ARCH_OBJS:.o=.os) #libc-multi-y+=$(ARCH_CSRC) @@ -32,8 +31,3 @@ objclean-y+=arch_objclean arch_objclean: $(RM) $(ARCH_OUT)/*.{o,os} - -headers-y+=arch_headers - -arch_headers: - $(LN) -fs ../libc/sysdeps/linux/i386/fpu_control.h $(top_builddir)include/ diff --git a/libc/sysdeps/linux/mips/Makefile.in b/libc/sysdeps/linux/mips/Makefile.arch index e6075d7f6..5878aa708 100644 --- a/libc/sysdeps/linux/mips/Makefile.in +++ b/libc/sysdeps/linux/mips/Makefile.arch @@ -23,7 +23,6 @@ ARCH_OBJS:=$(ARCH_COBJ) $(ARCH_SOBJ) crt-y:=create libc-a-y+=$(ARCH_OBJS) -libc-a-pic-y+=$(ARCH_OBJS:.o=.os) libc-so-y+=$(ARCH_OBJS:.o=.os) #libc-multi-y+=$(ARCH_CSRC) @@ -32,11 +31,16 @@ libc-nomulti-y+=$(ARCH_OBJS) objclean-y+=arch_objclean arch_objclean: - $(RM) $(ARCH_OUT)/*.{o,os} $(top_builddir)include/sgidefs.h + $(RM) $(ARCH_OUT)/*.{o,os} + +headers_clean-y+=arch_headers_clean + +arch_headers_clean: + $(RM) $(top_builddir)include/sgidefs.h + #$(RM) $(top_builddir)include/regdef.h headers-y+=arch_headers arch_headers: $(LN) -fs ../libc/sysdeps/linux/mips/sgidefs.h $(top_builddir)include/ # $(LN) -fs ../libc/sysdeps/linux/mips/regdef.h $(top_builddir)include/ - $(LN) -fs ../libc/sysdeps/linux/mips/fpu_control.h $(top_builddir)include/ diff --git a/libc/sysdeps/linux/powerpc/Makefile.in b/libc/sysdeps/linux/powerpc/Makefile.arch index 3cc5ca539..f0c5d9f02 100644 --- a/libc/sysdeps/linux/powerpc/Makefile.in +++ b/libc/sysdeps/linux/powerpc/Makefile.arch @@ -21,7 +21,6 @@ ARCH_OBJS:=$(ARCH_COBJ) $(ARCH_SOBJ) crt-y:=create libc-a-y+=$(ARCH_OBJS) -libc-a-pic-y+=$(ARCH_OBJS:.o=.os) libc-so-y+=$(ARCH_OBJS:.o=.os) #libc-multi-y+=$(ARCH_CSRC) @@ -31,8 +30,3 @@ objclean-y+=arch_objclean arch_objclean: $(RM) $(ARCH_OUT)/*.{o,os} - -headers-y+=arch_headers - -arch_headers: - $(LN) -fs ../libc/sysdeps/linux/powerpc/fpu_control.h $(top_builddir)include/ diff --git a/libc/sysdeps/linux/x86_64/Makefile.in b/libc/sysdeps/linux/x86_64/Makefile.arch index a167993a2..6752c275d 100644 --- a/libc/sysdeps/linux/x86_64/Makefile.in +++ b/libc/sysdeps/linux/x86_64/Makefile.arch @@ -21,7 +21,6 @@ ARCH_OBJS:=$(ARCH_COBJ) $(ARCH_SOBJ) crt-y:=create libc-a-y+=$(ARCH_OBJS) -libc-a-pic-y+=$(ARCH_OBJS:.o=.os) libc-so-y+=$(ARCH_OBJS:.o=.os) #libc-multi-y+=$(ARCH_CSRC) @@ -31,8 +30,3 @@ objclean-y+=arch_objclean arch_objclean: $(RM) $(ARCH_OUT)/*.{o,os} - -headers-y+=arch_headers - -arch_headers: - $(LN) -fs ../libc/sysdeps/linux/x86_64/fpu_control.h $(top_builddir)include/ |