diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-12-17 08:30:33 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-12-17 08:36:49 +0100 |
commit | c61707353e16b8e22cab1a150cc3a6bf9b178e1c (patch) | |
tree | 17efac56beef9dae0683acd436835aa90926aebf /libm/powerpc | |
parent | 5a1453f20c9ba7023f1836bdcd5ab06963f927a1 (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/powerpc')
-rw-r--r-- | libm/powerpc/classic/Makefile.arch | 4 | ||||
-rw-r--r-- | libm/powerpc/e500/Makefile.arch | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libm/powerpc/classic/Makefile.arch b/libm/powerpc/classic/Makefile.arch index 7c7600f80..53c6d2cac 100644 --- a/libm/powerpc/classic/Makefile.arch +++ b/libm/powerpc/classic/Makefile.arch @@ -5,8 +5,8 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c) -libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC)) +libm_ARCH_SRC:=$(wildcard $(libm_SUBARCH_DIR)/*.c) +libm_ARCH_OBJ:=$(patsubst $(libm_SUBARCH_DIR)/%.c,$(libm_SUBARCH_OUT)/%.o,$(libm_ARCH_SRC)) libm_ARCH_OBJS:=$(libm_ARCH_OBJ) diff --git a/libm/powerpc/e500/Makefile.arch b/libm/powerpc/e500/Makefile.arch index bec21caef..912ce7f10 100644 --- a/libm/powerpc/e500/Makefile.arch +++ b/libm/powerpc/e500/Makefile.arch @@ -5,5 +5,6 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # +libm_ARCH_fpu_DIR := $(libm_SUBARCH_DIR)/fpu -include $(libm_ARCH_fpu_DIR)/Makefile.arch |