genodelabs/genode — Issue #142: 'select_from_repositories' make function not defined in 'dep-lib.mk'
Author: cproc
Created: 2012-03-06 15:15:21+00:00
State: open

The `select_from_repositories` make function is not always available in library make files, because it is not defined in 'dep-lib.mk'. This can be tested by adding the following line to `base/lib/mk/cxx.mk` and building core:

```
$(info cxx.mk = $(call select_from_repositories,lib/mk/cxx.mk))
```

output:

```
checking library dependencies for core...
cxx.mk =
Library platform
MERGE platform.lib.a
Library slab
COMPILE slab.o
MERGE slab.lib.a
Library avl_tree
COMPILE avl_tree.o
MERGE avl_tree.lib.a
Library allocator_avl
COMPILE allocator_avl.o
MERGE allocator_avl.lib.a
cxx.mk = /home/christian/projects/genode/genode/base/lib/mk/cxx.mk
Library cxx
...
```