Changeset 925a21e in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2011-09-24T14:20:29Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5bf76c1
Parents:
867e2555 (diff), 1ab4aca (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 mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r867e2555 r925a21e  
    4444#   EXTRA_CLEAN        additional cleanup targets
    4545#
     46#   POSIX_COMPAT       set to 'y' to use POSIX compatibility layer
     47#
    4648# Optionally, for a binary:
    4749#   STATIC_NEEDED      set to 'y' for init binaries, will build statically
     
    104106LIBSOFTINT_PREFIX = $(LIB_PREFIX)/softint
    105107
     108LIBPOSIX_PREFIX = $(LIB_PREFIX)/posix
     109
    106110LIBBLOCK_PREFIX = $(LIB_PREFIX)/block
    107111LIBFS_PREFIX = $(LIB_PREFIX)/fs
     112LIBFB_PREFIX = $(LIB_PREFIX)/fb
    108113LIBCLUI_PREFIX = $(LIB_PREFIX)/clui
     114LIBFMTUTIL_PREFIX = $(LIB_PREFIX)/fmtutil
    109115
    110116LIBEXT2_PREFIX = $(LIB_PREFIX)/ext2
     
    119125LIBPACKET_PREFIX = $(LIB_PREFIX)/packet
    120126LIBNET_PREFIX = $(LIB_PREFIX)/net
     127LIBMINIX_PREFIX = $(LIB_PREFIX)/minix
    121128
    122129LIBSCSI_PREFIX = $(LIB_PREFIX)/scsi
     
    213220JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
    214221
     222ifeq ($(POSIX_COMPAT),y)
     223        CFLAGS = -I$(LIBPOSIX_PREFIX)
     224        LIBS += $(LIBPOSIX_PREFIX)/libposix.a
     225endif
     226
    215227ifeq ($(COMPILER),gcc_cross)
    216         CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     228        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    217229        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    218230endif
    219231
    220232ifeq ($(COMPILER),gcc_native)
    221         CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     233        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    222234        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    223235endif
    224236
    225237ifeq ($(COMPILER),icc)
    226         CFLAGS = $(ICC_CFLAGS) $(EXTRA_CFLAGS)
     238        CFLAGS += $(ICC_CFLAGS) $(EXTRA_CFLAGS)
    227239        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    228240endif
    229241
    230242ifeq ($(COMPILER),clang)
    231         CFLAGS = $(CLANG_CFLAGS) $(EXTRA_CFLAGS)
     243        CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS)
    232244        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    233245endif
Note: See TracChangeset for help on using the changeset viewer.