Commit Graph

16 Commits (6150e2753a043f133d3364c6a0e01f7016f94806)

Author SHA1 Message Date
Kaspar Schleiser 1f9a87972b make: allow per-file conditional LTO compile 7 years ago
Oleg Hahm 16a3f131a3 Merge pull request #5112 from kaspar030/use_git_cache
make: pkg: introduce git-cache
7 years ago
Kaspar Schleiser 772657253f dist: tools: add git-cache 7 years ago
Joakim Nohlgård 7e3c67b654 make: Rename TARGET_TRIPLE -> TARGET_ARCH 7 years ago
Joakim Nohlgård af02e2ac15 Makefile.vars: Document TARGET_TRIPLE 7 years ago
Kaspar Schleiser 8b7ddb2f70 make: use variable for pkg subdir 7 years ago
Ian Martin ce71e53d74 make: set OBJDUMP = $(PREFIX)objdump for gnu targets. 7 years ago
Kaspar Schleiser c72538a6cf make: ccache: set ccache basedir to RIOTBASE 8 years ago
Joakim Gebart e95a4c50a9 make: Build with -Werror by default
Can be overridden from the environment by setting WERROR=0

also remove reversed logic for Werror in Makefile.buildtest
(a typo caused Werror to be always enabled for all builds)
8 years ago
haukepetersen 56cce19578 make: added APPDIR as environment variable 8 years ago
Joakim Gebart 8db628b17c Makefile.include: Add docker target.
export BUILD_IN_DOCKER=1 to use Docker for building inside a Docker
container.
GDB debug file paths will be wrong after building inside the container,
use the script provided in `dist/gdbinit-docker` to set the correct GDB
substitution paths (copy and paste the contents into your `~/.gdbinit`)

The environment variable DOCKER_FLAGS can be used to pass extra
parameters to the Docker process.
8 years ago
Joakim Gebart 8d68afa6e6 Makefile: Add ARFLAGS for overriding command line options to `ar`
- Makefile.base: Respect ARFLAGS when building static archives.
 - Makefile.cflags: Add default ARFLAGS.
 - Makefile.vars: Add description for ARFLAGS.
8 years ago
René Kijewski a70ee0f022 make: centralize wget/curl & unzip/7z feature test
With many open PRs that could benefit from loading SDKs when needed,
instead adding vast amounts of code to RIOTs master, this PR provides
the "functions" `$(DOWNLOAD_TO_STDOUT)`, `$(DOWNLOAD_TO_FILE)`, and
`$(UNZIP_HERE)`.

The first "function" takes one argument, the URL from where to download
the content. It is then piped to stdout. To be used e.g. with `tar xz`.

The second "function" taken two arguments, the destination file name,
and the source URL. If the previous invocation was interrupted, then the
download gets continued, if possible.

The last "function" takes one argument, the source ZIP file. The file
gets extracted into the cwd, so best use this "function" with
`cd $(SOME_WHERE) &&`.

The clumsy name `$(UNZIP_HERE)` is taken because the program "unzip"
takes the environment variable `UNZIP` as the source file, even if
another file name was given on the command line. The rationale for that
is that the hackers of "unzip" hate their users. Also they sacrifice
hamsters to Satan.
9 years ago
Hauke Petersen 800edbcb59 make: added CPU_MODEL & TERMFLAGS to Makefile.vars
- added CPU_MODEL variable
- added TERMFLAGS variable
- fixed a little style (dots on the end of comments)
9 years ago
Hauke Petersen 34abdbe5f2 make: added targets 'debug-server' and 'reset'
- added targets to Makefile.include
- added DEBUGSERVER and RESET vars to Makefile.vars
- added output of those to Makefile.buildtests
9 years ago
René Kijewski 747138cf99 make: move exported make vars to one place 9 years ago