Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d2e7a51 in mainline


Ignore:
Timestamp:
2017-11-08T21:59:02Z (3 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
master
Children:
9d8b12da
Parents:
f5b6fb5
Message:

Link libsoftfloat unconditionally on all architectures.

It doesn't hurt anything and there's less special cases this way.

Location:
uspace
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rf5b6fb5 rd2e7a51  
    151151endif
    152152
     153# Prepare for POSIX before including platform specific stuff
     154ifeq ($(POSIX_COMPAT),y)
     155        CFLAGS += -I$(LIBPOSIX_PREFIX)/include/posix -I$(LIBPOSIX_PREFIX)/include/
     156        BASE_LIBS = $(LIBPOSIX_PREFIX)/libposixaslibc.a $(LIBPOSIX_PREFIX)/libc4posix.a $(LIBSOFTINT_PREFIX)/libsoftint.a
     157endif
     158
     159BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
     160
    153161ifeq ($(LINK_DYNAMIC),y)
    154162        LFLAGS += -Bdynamic
     
    210218endif
    211219
    212 # Prepare for POSIX before including platform specific stuff
    213 ifeq ($(POSIX_COMPAT),y)
    214         CFLAGS += -I$(LIBPOSIX_PREFIX)/include/posix -I$(LIBPOSIX_PREFIX)/include/
    215         BASE_LIBS = $(LIBPOSIX_PREFIX)/libposixaslibc.a $(LIBPOSIX_PREFIX)/libc4posix.a $(LIBSOFTINT_PREFIX)/libsoftint.a
    216 endif
    217 
    218220## Setup platform configuration
    219221#
  • uspace/lib/c/arch/arm32/Makefile.common

    rf5b6fb5 rd2e7a51  
    3535ifeq ($(CONFIG_FPU),y)
    3636        COMMON_CFLAGS += -mfloat-abi=hard
    37 else
    38         BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
    3937endif
    4038
  • uspace/lib/c/arch/mips32/Makefile.common

    rf5b6fb5 rd2e7a51  
    2828
    2929COMMON_CFLAGS += -msoft-float -mabi=32
    30 BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
    3130AS_PROLOG = .module softfloat;.abicalls;
    3231LFLAGS += --gc-sections
  • uspace/lib/c/arch/mips32eb/Makefile.common

    rf5b6fb5 rd2e7a51  
    2828
    2929COMMON_CFLAGS += -msoft-float -mabi=32
    30 BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
    3130AS_PROLOG = .module softfloat;.abicalls;
    3231LFLAGS += --gc-sections
  • uspace/lib/c/arch/ppc32/Makefile.common

    rf5b6fb5 rd2e7a51  
    3434
    3535COMMON_CFLAGS += -mcpu=powerpc -m$(FLOATS)-float -m32
    36 BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
    3736AFLAGS += -a32
    3837LFLAGS += --gc-sections
  • uspace/lib/c/arch/riscv64/Makefile.common

    rf5b6fb5 rd2e7a51  
    2727#
    2828
    29 BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
    30 
    3129ENDIANESS = LE
    3230
Note: See TracChangeset for help on using the changeset viewer.