Changeset 8620b2f in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2013-12-16T13:11:10Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dc20e31
Parents:
f5ceb18
Message:

Move math functions into a separate library

Their implementation is still non-existent but at least
replacement is possible as the application (such as Python)
could be linked with a functional 3rd party library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rf5ceb18 r8620b2f  
    4545#
    4646#   POSIX_COMPAT       set to 'y' to use POSIX compatibility layer
     47#   NEEDS_MATH         set to 'y' to add implementation of mathematical functions
    4748#
    4849# Optionally, for a binary:
     
    109110LIBSOFTFLOAT_PREFIX = $(LIB_PREFIX)/softfloat
    110111LIBSOFTINT_PREFIX = $(LIB_PREFIX)/softint
     112LIBMATH_PREFIX = $(LIB_PREFIX)/math
    111113
    112114LIBPOSIX_PREFIX = $(LIB_PREFIX)/posix
     
    233235endif
    234236
     237# Do we need math?
     238ifeq ($(NEEDS_MATH),y)
     239        BASE_LIBS += $(LIBMATH_PREFIX)/libmath.a
     240endif
     241
    235242## Setup platform configuration
    236243#
Note: See TracChangeset for help on using the changeset viewer.