Changeset 4c14b88 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2013-12-31T07:57:14Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b973dc
Parents:
6297465 (diff), 208b5f5 (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:

mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r6297465 r4c14b88  
    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
     
    143145LIBHTTP_PREFIX = $(LIB_PREFIX)/http
    144146LIBURI_PREFIX = $(LIB_PREFIX)/uri
     147
     148LIBMBR_PREFIX = $(LIB_PREFIX)/mbr
     149LIBGPT_PREFIX = $(LIB_PREFIX)/gpt
    145150
    146151ifeq ($(STATIC_NEEDED),y)
     
    233238endif
    234239
     240# Do we need math?
     241ifeq ($(NEEDS_MATH),y)
     242        BASE_LIBS += $(LIBMATH_PREFIX)/libmath.a
     243endif
     244
    235245## Setup platform configuration
    236246#
     
    244254
    245255ifeq ($(COMPILER),gcc_cross)
     256        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     257        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
     258endif
     259
     260ifeq ($(COMPILER),gcc_helenos)
    246261        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    247262        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
Note: See TracChangeset for help on using the changeset viewer.