Changeset 6946f23 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2013-12-17T14:11:24Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0773396, ac36aed
Parents:
f5ceb18 (diff), 2034f98 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge POSIX-related updates

Math functions were moved to a separate library. This would
allow us to easily swap the dummy implementation with a real
one (e.g. from fdlibm).

Also added few Python examples to uspace/dist/src.

Merged branch: lp:~vojtech-horky/helenos/posix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rf5ceb18 r6946f23  
    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.