Changeset 3424
- Timestamp:
- 08/08/07 12:34:07 (4 years ago)
- Files:
-
- trunk/freewrt/Config.in (modified) (1 diff)
- trunk/freewrt/mk/build.mk (modified) (1 diff)
- trunk/freewrt/package/libstdcxx/Config.in (modified) (1 diff)
- trunk/freewrt/package/uclibc++/Config.in (modified) (1 diff)
- trunk/freewrt/toolchain/uClibc/Makefile (modified) (1 diff)
- trunk/freewrt/toolchain/uClibc/patches/patch-Makefile (modified) (3 diffs)
- trunk/freewrt/toolchain/uClibc/patches/patch-libm_Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/Config.in
r3373 r3424 171 171 You start with a GUI project, if you have this tools installed. 172 172 173 config FWRT_ISOMATH 174 bool "Support ISO C99 math functions (RECOMMENDED)" 175 default y 176 help 177 This will add support for ISO C99 mathematical functions to 178 uClibc, at a cost of less than 40K on mips. 179 173 180 config FWRT_UNICODE 174 181 bool "Enable support for the UTF-8 locale" trunk/freewrt/mk/build.mk
r3373 r3424 16 16 tags 17 17 18 MAKECLEAN_SYMBOLS= FWRT_ UNICODE _ FWRT_IPV618 MAKECLEAN_SYMBOLS= FWRT_ISOMATH FWRT_UNICODE _ FWRT_IPV6 19 19 POSTCONFIG= @\ 20 20 what=cleandir; \ trunk/freewrt/package/libstdcxx/Config.in
r2703 r3424 4 4 default n 5 5 select FWRT_PACKAGE_LIBGCC 6 select FWRT_ISOMATH 6 7 help 7 8 G++ support library trunk/freewrt/package/uclibc++/Config.in
r1253 r3424 3 3 tristate 4 4 default n 5 select FWRT_ISOMATH 5 6 help 6 7 A standard C++ library for embedded systems trunk/freewrt/toolchain/uClibc/Makefile
r3373 r3424 46 46 ifeq ($(strip ${FWRT_UNICODE}),) 47 47 ${SED} 'sUCLIBC_HAS_LOCALE=y# UCLIBC_HAS_LOCALE is not set' \ 48 ${PKG_BUILD_DIR}/.config 49 endif 50 ifeq ($(strip ${FWRT_ISOMATH}),) 51 ${SED} 'sDO_C99_MATH=y# DO_C99_MATH is not set' \ 48 52 ${PKG_BUILD_DIR}/.config 49 53 endif trunk/freewrt/toolchain/uClibc/patches/patch-Makefile
r3370 r3424 1 1 $FreeWRT$ 2 2 --- uClibc-0.9.28.orig/Makefile 2005-08-18 00:49:49.000000000 +0200 3 +++ uClibc-0.9.28/Makefile 2007-08-0 1 12:32:53.000000000 +02004 @@ -158,12 +1 62,7 @@ install_dev:3 +++ uClibc-0.9.28/Makefile 2007-08-08 12:25:38.000000000 +0200 4 @@ -158,12 +158,7 @@ install_dev: 5 5 $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib 6 6 $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include … … 16 16 ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y) 17 17 # Remove floating point related headers since float support is disabled. 18 @@ -253,7 +2 52,7 @@ ifeq ($(strip $(HAVE_SHARED)),y)18 @@ -253,7 +248,7 @@ ifeq ($(strip $(HAVE_SHARED)),y) 19 19 $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib 20 20 $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ … … 25 25 set -e; \ 26 26 $(SHELL_SET_X); \ 27 @@ -370,7 +36 9,7 @@ distclean: clean27 @@ -370,7 +365,7 @@ distclean: clean 28 28 release: distclean 29 29 cd ..; \ trunk/freewrt/toolchain/uClibc/patches/patch-libm_Makefile
r3338 r3424 1 1 $FreeWRT$ 2 2 --- uClibc-0.9.28.orig/libm/Makefile 2005-08-18 00:49:41.000000000 +0200 3 +++ uClibc-0.9.28/libm/Makefile 2007-0 7-24 16:46:08.000000000 +02003 +++ uClibc-0.9.28/libm/Makefile 2007-08-08 12:30:26.000000000 +0200 4 4 @@ -67,6 +67,7 @@ CSRC = e_acos.c e_acosh.c e_asin.c e_a 5 5 w_hypot.c w_j0.c w_j1.c w_jn.c w_lgamma.c w_lgamma_r.c\ … … 10 10 ceilf.o copysignf.o cosf.o coshf.o erfcf.o erff.o exp2f.o expf.o \ 11 11 expm1f.o fabsf.o fdimf.o floorf.o fmaf.o fmaxf.o fminf.o fmodf.o \ 12 @@ -85,8 +86,10 @@ CSRC+= s_expm1.c s_scalbn.c s_copysign 13 k_cos.c e_cosh.c e_exp.c e_fmod.c e_log.c e_log10.c e_pow.c \ 14 k_sin.c e_sinh.c e_sqrt.c k_tan.c e_rem_pio2.c k_rem_pio2.c \ 15 s_finite.c 16 -# We'll add sqrtf to avoid problems with libstdc++ 17 -FL_MOBJ = sqrtf.o 18 +# FreeWRT extensions (more required stuff) 19 +CSRC+= fpmacros.c nan.c s_rint.c e_hypot.c w_hypot.c 20 +CSRC+= s_round.c # from MirBSD /usr/src/lib/libm/src/s_round.c 21 +FL_MOBJ= sqrtf.o cosf.o floorf.o logf.o sinf.o ceilf.o rintf.o roundf.o 22 endif 23 24 COBJS=$(patsubst %.c,%.o, $(CSRC))


