Changeset ec3e2ed0 in mainline for uspace


Ignore:
Timestamp:
2011-03-23T23:10:36Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1d465bf
Parents:
143932e3
Message:

Build shared C library. Add config options for building and using all libraries
as shared instead of just C library (not working yet). Move libtest under
lib/test.

Location:
uspace
Files:
2 added
3 edited
8 moved

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r143932e3 rec3e2ed0  
    9494        drv/test2
    9595
    96 ## Shared C library
    97 ifeq ($(CONFIG_BUILD_SHARED_LIBC), y)
     96## Shared libraries
     97ifeq ($(CONFIG_BUILD_SHARED_LIBS), y)
    9898        DIRS += \
    99                 lib/c/shared \
    10099                app/dltest
    101100endif
     
    155154        lib/softint \
    156155        lib/softfloat \
    157         lib/libtest \
     156        lib/test \
    158157        lib/drv \
    159158        lib/packet \
  • uspace/Makefile.common

    r143932e3 rec3e2ed0  
    236236endif
    237237
     238%.lo: %.S
     239        $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
     240
     241%.lo: %.s
     242        $(AS) $(AFLAGS) $< -o $@
     243
    238244%.lo: %.c $(DEPEND)
    239245        $(CC) $(DEFS) $(LIB_CFLAGS) -c $< -o $@
  • uspace/lib/c/Makefile

    r143932e3 rec3e2ed0  
    4646EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(INCLUDE_RTLDARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPT)
    4747LIBRARY = libc
     48SLIBRARY = libc.so.0.0
     49LSONAME = libc.so.0
     50
    4851
    4952-include $(COMMON_MAKEFILE)
Note: See TracChangeset for help on using the changeset viewer.