1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys
René Kijewski 467b41ad49 make: easifier usage of module subdirectories
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:

```make
DIRS = …

all: $(BINDIR)$(MODULE).a
   @for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;

include $(RIOTBASE)/Makefile.base

clean::
   @for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
```

This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
2014-06-17 15:49:32 +02:00
..
auto_init make: detect their module name automatically 2014-06-17 15:49:32 +02:00
bloom make: detect their module name automatically 2014-06-17 15:49:32 +02:00
config make: detect their module name automatically 2014-06-17 15:49:32 +02:00
crypto make: detect their module name automatically 2014-06-17 15:49:32 +02:00
hashes make: detect their module name automatically 2014-06-17 15:49:32 +02:00
include sys: add utility functions for struct tm 2014-05-28 00:16:32 +02:00
lib make: detect their module name automatically 2014-06-17 15:49:32 +02:00
net make: detect their module name automatically 2014-06-17 15:49:32 +02:00
oneway-malloc Add doxygen comments to MSP's oneway malloc 2014-05-22 15:40:25 +02:00
ping make: detect their module name automatically 2014-06-17 15:49:32 +02:00
posix make: detect their module name automatically 2014-06-17 15:49:32 +02:00
ps make: detect their module name automatically 2014-06-17 15:49:32 +02:00
quad_math make: detect their module name automatically 2014-06-17 15:49:32 +02:00
random make: detect their module name automatically 2014-06-17 15:49:32 +02:00
shell make: detect their module name automatically 2014-06-17 15:49:32 +02:00
timex make: detect their module name automatically 2014-06-17 15:49:32 +02:00
transceiver make: detect their module name automatically 2014-06-17 15:49:32 +02:00
uart0 make: detect their module name automatically 2014-06-17 15:49:32 +02:00
vtimer make: detect their module name automatically 2014-06-17 15:49:32 +02:00
chardev_thread.c sys: rename ringbuffer functions 2014-05-03 16:39:39 +02:00
doc.txt Fixed a lot of comments by removing tabs and correcting format. 2013-12-16 14:00:33 +01:00
Makefile make: easifier usage of module subdirectories 2014-06-17 15:49:32 +02:00
Makefile.include msp430: provide oneway-malloc implicitly 2014-05-22 15:40:25 +02:00