Commit Graph

30 Commits (aedffd78835f3afade2b34d55347048c01404c3f)

Author SHA1 Message Date
Kaspar Schleiser ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 8 years ago
Martine Lenders f0cb1429f0 native: rename ng_nativenet to dev_eth_tap 8 years ago
Kaspar Schleiser 5d8349298f remove bulk of legacy network stack and drivers 8 years ago
Kaspar Schleiser fbfb0954eb cpu: native: add tap implementation of dev_eth (ng_nativenet) 8 years ago
Ludwig Ortmann c0ef84bb9f native: move rtc to periph
* adapt implementation to new interface
* remove now superfluous drivers directory
9 years ago
Ludwig Ortmann 45cf2e4967 native: relocate drivers/rtc implementation 9 years ago
Ludwig Ortmann 0136f208c6 native: add drivers substructure 9 years ago
Ludwig Ortmann 96d2907666 native: add periph substructure 9 years ago
René Kijewski 54047c72d3 native: override INCLUDES w/ NATIVEINCLUDES
Currrently native overrides the object file targets, because it needs
the different include paths to interact with libc and the OS.

This PR simplifies their makefiles to only override the variable
INCLUDES, instead of overriding the targets.
9 years ago
René Kijewski 2ae0c1b149 make: use abspath for better error messages 9 years ago
René Kijewski a9a76cb2c2 make: create dependencies as side effect 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:

```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`.
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 b9ffc1a99e fixup for #710: use subfolder in bin dirs (native)
Update native Makefiles to provide changed object target paths
Fixes #989
10 years ago
Ludwig Ortmann b2930113ef remove some newlines 10 years ago
Ludwig Ortmann 1bd3f7bb86 pipe through sed instead
addresses: https://github.com/RIOT-OS/RIOT/pull/778#discussion_r10041955
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
Ludwig Ortmann 2cd3f04fc6 Don't use INCLUDES for building any native at all.
native modules will never need the dynamic INCLUDES, so we define our
own NATIVEINCLUDES. Due to the current make structure, the only way to
not use INCLUDES is to redefine the build rules.
10 years ago
René Kijewski 102dc45382 Eliminate findstring in more places 10 years ago
Ludwig Ortmann 2525920426 remove trailing whitespace and newlines 10 years ago
Oleg Hahm 9df07f9238 muting compiler and binutils optionally
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
10 years ago
Oleg Hahm c7d985d371 removed redundant include pathes from Makefiles 10 years ago
Ludwig Ortmann 1ac1646837 further clean up / filtering for cpu 10 years ago
Oleg Hahm 46deefe0f8 make Makefiles proof for spaces in $PATH 10 years ago
Ludwig Ortmann 708ece68cc cc1100 -> nativenet 10 years ago
Ludwig Ortmann a634709c00 native cc1100x_ng network
not properly passing received data to transceiver atm
10 years ago
Oleg Hahm 222d34d8a5 added missing include to cc110x_ng 10 years ago
Ludwig Ortmann 671cb6560f native cc110x_ng placebo 11 years ago
Ludwig Ortmann 8019551694 renamed makefiles within Makefiles 11 years ago
Ludwig Ortmann 3ec4800ae8 renamed makefiles 11 years ago