Changes in / [f5d51de:7ae249d] in mainline
- Location:
- uspace
- Files:
-
- 54 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile
rf5d51de r7ae249d 175 175 lib/usbdev \ 176 176 lib/usbhid \ 177 lib/usbvirt 177 lib/usbvirt \ 178 lib/posix 178 179 179 180 LIBC_BUILD = $(addsuffix .build,$(LIBC)) -
uspace/Makefile.common
rf5d51de r7ae249d 44 44 # EXTRA_CLEAN additional cleanup targets 45 45 # 46 # POSIX_COMPAT set to 'y' to use POSIX compatibility layer 47 # 46 48 # Optionally, for a binary: 47 49 # STATIC_NEEDED set to 'y' for init binaries, will build statically … … 104 106 LIBSOFTINT_PREFIX = $(LIB_PREFIX)/softint 105 107 108 LIBPOSIX_PREFIX = $(LIB_PREFIX)/posix 109 106 110 LIBBLOCK_PREFIX = $(LIB_PREFIX)/block 107 111 LIBFS_PREFIX = $(LIB_PREFIX)/fs … … 213 217 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 214 218 219 ifeq ($(POSIX_COMPAT),y) 220 CFLAGS = -I$(LIBPOSIX_PREFIX) 221 LIBS += $(LIBPOSIX_PREFIX)/libposix.a 222 endif 223 215 224 ifeq ($(COMPILER),gcc_cross) 216 CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)225 CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS) 217 226 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 218 227 endif 219 228 220 229 ifeq ($(COMPILER),gcc_native) 221 CFLAGS = $(GCC_CFLAGS) $(EXTRA_CFLAGS)230 CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS) 222 231 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 223 232 endif 224 233 225 234 ifeq ($(COMPILER),icc) 226 CFLAGS = $(ICC_CFLAGS) $(EXTRA_CFLAGS)235 CFLAGS += $(ICC_CFLAGS) $(EXTRA_CFLAGS) 227 236 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 228 237 endif 229 238 230 239 ifeq ($(COMPILER),clang) 231 CFLAGS = $(CLANG_CFLAGS) $(EXTRA_CFLAGS)240 CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS) 232 241 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 233 242 endif
Note:
See TracChangeset
for help on using the changeset viewer.