summaryrefslogtreecommitdiff
path: root/libm/Makefile.in
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-12-17 08:30:33 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-12-17 08:36:49 +0100
commitc61707353e16b8e22cab1a150cc3a6bf9b178e1c (patch)
tree17efac56beef9dae0683acd436835aa90926aebf /libm/Makefile.in
parent5a1453f20c9ba7023f1836bdcd5ab06963f927a1 (diff)
libm_powerpc: update buildsys to use TARGET_SUBARCH
Update the powerpc buildsys of libm to use the TARGET_SUBARCH. Further fix the e500 Makefile.arch by adding the definition of libm_ARCH_fpu_DIR that was actually missing. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libm/Makefile.in')
-rw-r--r--libm/Makefile.in11
1 files changed, 0 insertions, 11 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in
index a0b247981..384365cac 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -34,15 +34,8 @@ libm_FULL_NAME := libm-$(VERSION).so
libm_DIR:=$(top_srcdir)libm
libm_OUT:=$(top_builddir)libm
-# Fix builds for powerpc as there are different cores in this
-# section now.`
-ifeq ($(TARGET_ARCH)-$(CONFIG_E500),powerpc-y)
-libm_ARCH_DIR:=$(libm_DIR)/$(TARGET_ARCH)/e500
-libm_ARCH_OUT:=$(libm_OUT)/$(TARGET_ARCH)/e500
-else
libm_ARCH_DIR:=$(libm_DIR)/$(TARGET_ARCH)
libm_ARCH_OUT:=$(libm_OUT)/$(TARGET_ARCH)
-endif
ifneq ($(TARGET_SUBARCH),)
libm_SUBARCH_DIR:=$(libm_DIR)/$(TARGET_ARCH)/$(TARGET_SUBARCH)
@@ -225,12 +218,8 @@ endif
ifeq ($(UCLIBC_HAS_FPU),y)
ifeq ($(DO_C99_MATH),y)
ifneq ($(strip $(libm_ARCH_OBJS)),)
-ifeq ($(TARGET_ARCH)-$(CONFIG_E500),powerpc-y)
-CFLAGS-libm/$(TARGET_ARCH)/e500/ := $(CFLAGS-libm)
-else
CFLAGS-libm/$(TARGET_ARCH)/ := $(CFLAGS-libm)
CFLAGS-libm/$(TARGET_ARCH)/$(TARGET_SUBARCH)/ := $(CFLAGS-libm)
-endif
# remove generic sources, if arch specific version is present
ifneq ($(strip $(libm_ARCH_SRC)),)