Changeset 00aece0 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2012-02-18T16:47:38Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4449c6c
Parents:
bd5f3b7 (diff), f943dd3 (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

    rbd5f3b7 r00aece0  
    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
    108 LIBIMGMAP_PREFIX = $(LIB_PREFIX)/imgmap
     112LIBFB_PREFIX = $(LIB_PREFIX)/fb
    109113LIBCLUI_PREFIX = $(LIB_PREFIX)/clui
    110114LIBFMTUTIL_PREFIX = $(LIB_PREFIX)/fmtutil
     
    119123
    120124LIBDRV_PREFIX = $(LIB_PREFIX)/drv
    121 LIBPACKET_PREFIX = $(LIB_PREFIX)/packet
    122125LIBNET_PREFIX = $(LIB_PREFIX)/net
     126LIBNIC_PREFIX = $(LIB_PREFIX)/nic
     127LIBMINIX_PREFIX = $(LIB_PREFIX)/minix
    123128
    124129LIBSCSI_PREFIX = $(LIB_PREFIX)/scsi
     
    215220JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
    216221
     222ifeq ($(POSIX_COMPAT),y)
     223        CFLAGS = -I$(LIBPOSIX_PREFIX)
     224        LIBS += $(LIBPOSIX_PREFIX)/libposix.a
     225endif
     226
    217227ifeq ($(COMPILER),gcc_cross)
    218         CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     228        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    219229        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    220230endif
    221231
    222232ifeq ($(COMPILER),gcc_native)
    223         CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     233        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    224234        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    225235endif
    226236
    227237ifeq ($(COMPILER),icc)
    228         CFLAGS = $(ICC_CFLAGS) $(EXTRA_CFLAGS)
     238        CFLAGS += $(ICC_CFLAGS) $(EXTRA_CFLAGS)
    229239        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    230240endif
    231241
    232242ifeq ($(COMPILER),clang)
    233         CFLAGS = $(CLANG_CFLAGS) $(EXTRA_CFLAGS)
     243        CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS)
    234244        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    235245endif
Note: See TracChangeset for help on using the changeset viewer.