Commit Graph

15 Commits (0f2fa7883cf75bec70d3ade0ec8d3e00b8151a7c)

Author SHA1 Message Date
Hauke Petersen f8eaff4bbe cpu: moved msp430-common to msp430_common 7 years ago
Oleg Hahm 60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 9 years ago
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:

DIRS = …

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

include $(RIOTBASE)/Makefile.base

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

This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
9 years ago
René Kijewski 300d6b3e35 Make: exterminate 'clean' buildtarget
Closes #993.

We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.

This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
10 years ago
Ludwig Ortmann 9b61d95545 make: don't ignore failures in for loops
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
10 years ago
Oleg Hahm 70747d8bb4 streamlined driver include pathes 10 years ago
Oleg Hahm 02612ff0ca further Makefile cleanup 10 years ago
Oleg Hahm c7d985d371 removed redundant include pathes from Makefiles 10 years ago
Oleg Hahm 26c50522d5 simplified and unified cpu build structure 10 years ago
Ludwig Ortmann 3b2b02e99a enable building chronos board 10 years ago
Ludwig Ortmann f7a1edeb2c fix and clean up some board Makefiles
enables building wsn430-v1_3b and wsn430-v1_4
fixes some but not all chronos building issues
10 years ago
Oleg Hahm 46deefe0f8 make Makefiles proof for spaces in $PATH 10 years ago
mikoff 4f638eb887 All files, which used by chronos board were edited according to new texas instruments headers, all warnings fixed 11 years ago
Oliver Hahm 7a4dec1830 * replaced new Makefile name in Makefiles 11 years ago
Oliver Hahm 5ffe5a9c27 * renamed makefiles to Makefile 11 years ago