diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-02-04 21:25:42 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-02-04 21:25:42 +0000 |
commit | 8ceaf7c737b375d4d90afd8051d0b23aede22d96 (patch) | |
tree | ff4d050978a14ea794d7775462530495b67ada2b /libc/sysdeps/linux/powerpc/Makefile.arch | |
parent | 6c3524e1f00e4770d8683ca9282ca2d809e0ebc5 (diff) |
Add support for PowerPC e500, libc part only.
Math support to be done.
From Steve Papacharalambous, stevep@freescale.com
Diffstat (limited to 'libc/sysdeps/linux/powerpc/Makefile.arch')
-rw-r--r-- | libc/sysdeps/linux/powerpc/Makefile.arch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/Makefile.arch b/libc/sysdeps/linux/powerpc/Makefile.arch index eaa1cb7f8..0e3799f81 100644 --- a/libc/sysdeps/linux/powerpc/Makefile.arch +++ b/libc/sysdeps/linux/powerpc/Makefile.arch @@ -11,4 +11,37 @@ 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 +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 |