summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/Makefile.arch
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-12 21:57:57 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-12 21:57:57 +0000
commitdcf241189ab7eb060aeb06caad8b14aa964f6736 (patch)
tree735c06c0036aed160a35e9c0e2870e87fe5730e5 /libc/sysdeps/linux/powerpc/Makefile.arch
parent216bfd092c46dc0479e571a37fd2fd96e47605b5 (diff)
Rehash the PowerPC e500 port to avoid creating symlinks
in the powerpc arch code and make more code common with classic PowerPC. From Steve Papacharalambous Lets hope I didn't break something.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/powerpc/Makefile.arch31
1 files changed, 1 insertions, 30 deletions
diff --git a/libc/sysdeps/linux/powerpc/Makefile.arch b/libc/sysdeps/linux/powerpc/Makefile.arch
index 0e3799f81..1e0f5b4ea 100644
--- a/libc/sysdeps/linux/powerpc/Makefile.arch
+++ b/libc/sysdeps/linux/powerpc/Makefile.arch
@@ -11,37 +11,8 @@ SSRC := \
__longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S brk.S \
clone.S __uClibc_syscall.S syscall.S vfork.S
-ARCH_FPU_HEADERS := fpu_control.h
-ARCH_DIR := libc/sysdeps/linux/powerpc
-
-arch_fpu_headers:
ifeq ($(CONFIG_E500),y)
- $(LN) -fs e500/fpu_control.h $(ARCH_DIR)
- $(LN) -fs e500/setjmp.S $(ARCH_DIR)
- $(LN) -fs e500/__longjmp.S $(ARCH_DIR)
- $(LN) -fs e500/fenv.h $(ARCH_DIR)/bits
- $(LN) -fs e500/fenvinline.h $(ARCH_DIR)/bits
- $(LN) -fs e500/mathinline.h $(ARCH_DIR)/bits
- $(LN) -fs e500/mathdef.h $(ARCH_DIR)/bits
- $(LN) -fs ../$(ARCH_DIR)/e500/fenv_top.h $(top_builddir)include/fenv.h
-else
- $(LN) -fs classic/fpu_control.h $(ARCH_DIR)
- $(LN) -fs classic/setjmp.S $(ARCH_DIR)
- $(LN) -fs classic/__longjmp.S $(ARCH_DIR)
- $(LN) -fs classic/fenv.h $(ARCH_DIR)/bits
- $(LN) -fs classic/fenvinline.h $(ARCH_DIR)/bits
- $(LN) -fs classic/mathinline.h $(ARCH_DIR)/bits
- $(LN) -fs classic/mathdef.h $(ARCH_DIR)/bits
+ARCH_HEADERS := fenv.h
endif
-arch_fpu_headers_clean:
- $(RM) $(ARCH_DIR)/fpu_control.h
- $(RM) $(ARCH_DIR)/setjmp.S
- $(RM) $(ARCH_DIR)/__longjmp.S
- $(RM) $(ARCH_DIR)/bits/fenv.h
- $(RM) $(ARCH_DIR)/bits/fenvinline.h
- $(RM) $(ARCH_DIR)/bits/mathinline.h
- $(RM) $(ARCH_DIR)/bits/mathdef.h
- $(RM) include/fenv.h
-
include $(top_srcdir)libc/sysdeps/linux/Makefile.commonarch