Changeset ab936440 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2019-02-12T20:42:42Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f31ca47
Parents:
7f7817a9 (diff), 4805495 (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.
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
Message:

Merge branch 'master' into bdsh_alias

Conflicts:

uspace/app/bdsh/Makefile
uspace/app/bdsh/cmds/modules/modules.h

Ccheck correction and removing header which includes itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r7f7817a9 rab936440  
    120120                STATIC_BUILD = y
    121121        else
    122                 ifeq ($(CONFIG_USE_SHARED_LIBS),y)
    123                         STATIC_BUILD = n
     122                ifeq ($(CONFIG_BUILD_SHARED_LIBS),y)
     123                        ifeq ($(CONFIG_USE_SHARED_LIBS),y)
     124                                STATIC_BUILD = n
     125                        else
     126                                ifeq ($(LIBRARY),)
     127                                        STATIC_BUILD = y
     128                                else
     129                                        STATIC_BUILD = n
     130                                endif
     131                        endif
    124132                else
    125133                        STATIC_BUILD = y
     
    300308LIBARGS := $(addprefix -L$(USPACE_PREFIX)/lib/, $(LIBS)) $(addprefix -l, $(LIBS))
    301309
     310ifneq ($(LIBRARY),libc)
     311        LIBTAGS := $(LIBC_PREFIX)/tag $(LIBTAGS)
     312endif
     313
    302314.PHONY: all all-test clean fasterclean depend
    303315
     
    369381        $(AR) rc $@ $(LOBJECTS)
    370382
    371 $(SLIBRARY): $(LIBRARY).la
     383$(SLIBRARY): $(LIBRARY).la $(LIBTAGS)
    372384        $(CC) $(CFLAGS) $(LIB_LDFLAGS) $(EXTRA_LDFLAGS) -Wl,-Map,$@.map -o $@ -Wl,--whole-archive $(LIBRARY).la -Wl,--no-whole-archive $(LIBARGS) $(BASE_LIBS)
    373385
Note: See TracChangeset for help on using the changeset viewer.