Changeset 5b72635 in mainline
- Timestamp:
- 2011-05-01T10:04:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ec883cf
- Parents:
- 7fb3f1c
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.common
r7fb3f1c r5b72635 120 120 RD_LIBS = 121 121 122 ifeq ($(CONFIG_RTLD), y)123 RD_LIBS += $(USPACE_PATH)/lib/test/libtest.so.0124 endif125 126 122 ifeq ($(CONFIG_BUILD_SHARED_LIBS), y) 127 RD_LIBS += $(USPACE_PATH)/lib/c/libc.so.0 128 RD_LIBS += $(USPACE_PATH)/lib/softint/libsoftint.so.0 129 RD_APPS += $(USPACE_PATH)/app/dltest/dltest 123 RD_LIBS += \ 124 $(USPACE_PATH)/lib/test/libtest.so.0 \ 125 $(USPACE_PATH)/lib/c/libc.so.0 \ 126 $(USPACE_PATH)/lib/softint/libsoftint.so.0 127 RD_APPS += \ 128 $(USPACE_PATH)/app/dltest/dltest 130 129 endif 131 130 -
uspace/Makefile.common
r7fb3f1c r5b72635 43 43 # EXTRA_CLEAN additional cleanup targets 44 44 # 45 # STATIC_NEEDED set to 'y' for init binaries, will build statically 46 # linked version 47 # 45 48 # (x) required variables 46 49 # (/) exactly one of the variables must be defined … … 100 103 LIBNET_PREFIX = $(LIB_PREFIX)/net 101 104 102 ifeq ($(DYNAMIC_LINKING),y) 105 ifeq ($(STATIC_NEEDED),y) 106 STATIC_BUILD = y 107 else 108 ifeq ($(CONFIG_USE_SHARED_LIBS), y) 109 STATIC_BUILD = n 110 else 111 STATIC_BUILD = y 112 endif 113 endif 114 115 ifeq ($(STATIC_BUILD), y) 116 BASE_LIBS = $(LIBC_PREFIX)/libc.a $(LIBSOFTINT_PREFIX)/libsoftint.a 117 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld 118 else 103 119 BASE_LIBS = $(LIBC_PREFIX)/libc.so.0 $(LIBSOFTINT_PREFIX)/libsoftint.a 104 120 LFLAGS = -Bdynamic 105 121 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld 106 else107 BASE_LIBS = $(LIBC_PREFIX)/libc.a $(LIBSOFTINT_PREFIX)/libsoftint.a108 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld109 122 endif 110 123 -
uspace/app/dltest/Makefile
r7fb3f1c r5b72635 29 29 USPACE_PREFIX = ../.. 30 30 BINARY = dltest 31 DYNAMIC_LINKING = y32 31 33 32 SOURCES = \ -
uspace/app/init/Makefile
r7fb3f1c r5b72635 30 30 USPACE_PREFIX = ../.. 31 31 BINARY = init 32 STATIC_NEEDED = y 32 33 33 34 SOURCES = \ -
uspace/srv/bd/rd/Makefile
r7fb3f1c r5b72635 30 30 USPACE_PREFIX = ../../.. 31 31 BINARY = rd 32 STATIC_NEEDED = y 32 33 33 34 SOURCES = \ -
uspace/srv/devman/Makefile
r7fb3f1c r5b72635 30 30 USPACE_PREFIX = ../.. 31 31 BINARY = devman 32 STATIC_NEEDED = y 32 33 33 34 SOURCES = \ -
uspace/srv/devmap/Makefile
r7fb3f1c r5b72635 30 30 USPACE_PREFIX = ../.. 31 31 BINARY = devmap 32 STATIC_NEEDED = y 32 33 33 34 SOURCES = \ -
uspace/srv/fs/devfs/Makefile
r7fb3f1c r5b72635 32 32 EXTRA_CFLAGS += -I$(LIBFS_PREFIX) 33 33 BINARY = devfs 34 STATIC_NEEDED = y 34 35 35 36 SOURCES = \ -
uspace/srv/fs/fat/Makefile
r7fb3f1c r5b72635 32 32 EXTRA_CFLAGS += -I$(LIBBLOCK_PREFIX) -I$(LIBFS_PREFIX) 33 33 BINARY = fat 34 STATIC_NEEDED = y 34 35 35 36 SOURCES = \ -
uspace/srv/fs/tmpfs/Makefile
r7fb3f1c r5b72635 32 32 EXTRA_CFLAGS += -I$(LIBBLOCK_PREFIX) -I$(LIBFS_PREFIX) 33 33 BINARY = tmpfs 34 STATIC_NEEDED = y 34 35 35 36 SOURCES = \ -
uspace/srv/loader/Makefile
r7fb3f1c r5b72635 42 42 43 43 BINARY = loader 44 STATIC_NEEDED = y 44 45 45 46 GENERIC_SOURCES = \ -
uspace/srv/ns/Makefile
r7fb3f1c r5b72635 30 30 USPACE_PREFIX = ../.. 31 31 BINARY = ns 32 STATIC_NEEDED = y 32 33 33 34 SOURCES = \ -
uspace/srv/vfs/Makefile
r7fb3f1c r5b72635 30 30 USPACE_PREFIX = ../.. 31 31 BINARY = vfs 32 STATIC_NEEDED = y 32 33 33 34 SOURCES = \
Note:
See TracChangeset
for help on using the changeset viewer.