Commit Graph

185 Commits (pr/rotary)

Author SHA1 Message Date
Oleg Hahm 6c0482b976 Merge pull request #701 from Kijewski/issue-672
Use `filter` instead of `findstring`
9 years ago
René Kijewski 102dc45382 Eliminate findstring in more places 9 years ago
René Kijewski caea069bcf Do not mandate input language
An application might want to use C11 features. The user would assume
that setting `CFLAGS=-std=gnu11` in the Makefile would work. It does not
since the board's Makefile.include shadows the `-std` flag.

This patch removes the `-std=gnu99` from the various Makefile.includes,
and sets the flag in the common Makefile.include of RIOT instead.
If an `-std` flag was provided by an earlier Makefile (the application,
the board, or the CPU [whilst only the former one should]), then no
additional flag is set. It is first tested if the supplied compiler
understands `-std=gnu99`, then `-std=c99`.
9 years ago
Ludwig Ortmann 336c5159b2 use pkg-config to add valgrind include path
makes knowledge of VALGRIND_VALGRIND_H vs. VALGRIND_H optional
9 years ago
Ludwig Ortmann 2525920426 remove trailing whitespace and newlines 9 years ago
Ludwig Ortmann d40b6ac5b1 native+osx makefile cleanup
* add missing $(AD) to osx $(LINK) invocation
* move osx build determination to native makefile
* move old libc test to native makefile
* set objcopy to "true" - it is superfluous for native no matter what the system is
* add some documentation to natives makefile
9 years ago
Ludwig Ortmann 0ee91da42f valgrind target 9 years ago
Ludwig Ortmann 94ac6ddbd2 refactor and clean up native Makefile 9 years ago
Ludwig Ortmann e083e9bcb8 configure debug target for native 9 years ago
Ludwig Ortmann 855eea6a53 add missing newlines 10 years ago
Ludwig Ortmann b6781cdf0f add native flash and term targets
flash does nothing
term starts the project with PORT misused for the tap interface
PORT is unset if nativenet is not used
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 02612ff0ca further Makefile cleanup 10 years ago
Oleg Hahm c7d985d371 removed redundant include pathes from Makefiles 10 years ago
Oleg Hahm 55f31a4829 simplify include structure for boards
* do not overwrite CFLAGS in boards Makefile
10 years ago
Oleg Hahm 1e665b49de build everything in the project directory 10 years ago
Ludwig Ortmann cf87e647c0 make native includes RIOT posix compatible 10 years ago
Ludwig Ortmann 77e8cbb112 remove ltc disable race 10 years ago
Ludwig Ortmann 579c1edb04 clean up native ltc 10 years ago
Christian Mehlis 6aec050fc4 initialize id and only remove a valid timer 10 years ago
Christian Mehlis a38928e5c3 rename variables to match the guidelines (use module prefix) 10 years ago
Christian Mehlis 4be9764f80 removed useless code 10 years ago
Oleg Hahm 903ec54a43 making include directives consistent 10 years ago
Christian Mehlis d82a5b67db added missing thread include 10 years ago
Christian Mehlis e065888cdb added ENABLE_DEBUG macro 10 years ago
Hauke Petersen c629229e8d Added the boards folder to the doxygen tree
- added boards to riot.doxyfile
- fixed group definitions for all boards
10 years ago
Christian Mehlis fc80c22c3c reduce LTC_TIMER_INTERVAL by the factor of 10 to be more precise 10 years ago
Christian Mehlis 7bc09fdc0f make LTC_TIMER_INTERVAL a named define 10 years ago
Christian Mehlis ed4ed963ce added missing timer remove on the end of the measurement 10 years ago
Ludwig Ortmann 864267f238 daemonization, io socket and file redirection 10 years ago
Ludwig Ortmann 9e87d7a244 fix native board license headers 10 years ago
Ludwig Ortmann d6c213fb47 fix grammar in license header 10 years ago
Ludwig Ortmann 6d16520387 add -Wextra -pedantic to native CFLAGS
it's all about code quality
10 years ago
Ludwig Ortmann 7b9d199ec8 make system calls safer/clean up headers
wrap some libc functions that do system calls (terminal output)
wrap read/write with syscall guard
define real_read/write (next dynamic linker find for read/write)
guard system calls in remaining code
introduce native_internhal.h
throw out some debug statements that break things
clean up includes a bit
declare board_init in native_internhal.h
add -ldl to LINKFLAGS for cpu/syscalls
10 years ago
Oleg Hahm 232e205137 moved boards into subdirectory 10 years ago