- Aug 22, 2018
-
-
cladmi authored
-
- Mar 22, 2018
-
-
Alexandre Abadie authored
-
- Mar 14, 2018
-
-
Gaëtan Harter authored
AR incrementally adds file without removing files. If a c file is deleted or disabled(submodule removal) it is not removed from archive and still ends up in the final elf file. This fix removes the need to do 'make clean' for this case. However it will break cases where an APPLICATION and a MODULE or two modules have the same name and only worked because source files names where different.
-
- Nov 03, 2017
-
-
Gaëtan Harter authored
-
Gaëtan Harter authored
Assembly files '.S' are compiled with a subset of CFLAGS. This means also `-include '$(RIOTBUILD_CONFIG_HEADER_C)'` so they should be recompiled when it updates.
-
- Mar 28, 2017
-
-
Kaspar Schleiser authored
-
- Mar 22, 2017
-
-
Kaspar Schleiser authored
-
- Mar 01, 2017
-
-
Joakim Nohlgård authored
-
- Dec 22, 2016
-
-
Kaspar Schleiser authored
-
Kaspar Schleiser authored
-
- Dec 21, 2016
-
-
Joakim Nohlgård authored
Fixes some errors when specifying system C++ include directories where the C++ headers need to #include_next related C headers.
-
- Oct 18, 2016
-
-
Kaspar Schleiser authored
-
- Aug 29, 2016
-
-
Kaspar Schleiser authored
-
- Jul 05, 2016
-
-
Joakim Nohlgård authored
-
- May 31, 2016
-
-
Joakim Nohlgård authored
-
- May 29, 2015
-
-
Kaspar Schleiser authored
-
- May 26, 2015
-
-
Kaspar Schleiser authored
-
- Feb 08, 2015
-
-
Joakim Nohlgård authored
- Makefile.base: Respect ARFLAGS when building static archives. - Makefile.cflags: Add default ARFLAGS. - Makefile.vars: Add description for ARFLAGS.
-
- Nov 11, 2014
-
-
René Kijewski authored
Currently you need to add every new sys and driver module into the respective Makefile. This requires rebasing if another module was merged in the meantime. This PR allows you to omit the entry to {sys,drivers}/Makefile, if the subfolder has the same name as the module name, which should be sensible in most cases.
-
- Sep 28, 2014
-
-
Ludwig Knüpfer authored
Only add/replace changed members to the archive.
-
Ludwig Knüpfer authored
This fixes an error which was introduced by commit 346313bf The timestamp of directories is updated when a file inside a directory is changed. Therefore, make decides a target needs to be rebuilt, whenever that target depends on its parent directory, because the directory is always newer than the file inside. http://www.gnu.org/savannah-checkouts/gnu/make/manual/html_node/Prerequisite-Types.html Occasionally, however, you have a situation where you want to impose a specific ordering on the rules to be invoked without forcing the target to be updated if one of those rules is executed. In that case, you want to define order-only prerequisites. Order-only prerequisites can be specified by placing a pipe symbol (|) in the prerequisites list: any prerequisites to the left of the pipe symbol are normal; any prerequisites to the right are order-only: targets : normal-prerequisites | order-only-prerequisites
-
- Aug 13, 2014
-
-
René Kijewski authored
-
René Kijewski authored
-
René Kijewski authored
-
René Kijewski authored
-
René Kijewski authored
-
- Jun 25, 2014
-
-
Pham Huu Dang Nhat authored
Changed RIOT/Makefile.include, Makefile.base, Makefile.cflags, and native/Makefile.include to compile C and C++ files.
-
- Jun 23, 2014
-
-
René Kijewski authored
-
René Kijewski authored
-
René Kijewski authored
-
René Kijewski authored
Almost everything was build sequentially in RIOT, because we employed explicit for-loops to build directories (DIRS). This PR makes our make system use normal dependencies to build directories. All our compiling rules were duplicated, once for the application, once for modules. This PR makes the application a normal module, removing this duplication.
-
- Jun 21, 2014
-
-
René Kijewski authored
-
- Jun 17, 2014
-
-
René Kijewski authored
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`.
-
René Kijewski authored
For many modules the `Makefile` contains a line like ``` MODULE:=$(shell basename $(CURDIR)) ``` This conclusively shows that we do not have to set the module name manually. This PR removes the need to set the module name manually, if it is the same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable make `MODULE` will still be `vtimer`, because it is the basename of the Makefile.
-
- May 15, 2014
-
-
René Kijewski authored
Fixes #1104, alternative to #1178.
-
- Apr 09, 2014
-
-
René Kijewski authored
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.
-
René Kijewski authored
> `--always`: Show uniquely abbreviated commit object as fallback.
-
- Apr 08, 2014
-
-
René Kijewski authored
Creating all object files in one directory is bound to produce name clashes. RIOT developers may take care to use unique file names, but external packages surely don't. With this change all the objects of a module (e.g. `shell`) will be created in `bin/$(BOARD)/$(MODULE)`. I compared the final linker command before and after the change. The `.o` files (e.g. `startup.o`, `syscall.o` ...) are included in the same order. Neglecting the changed path name where the `.o` files reside, the linker command stays exactly the same. A major problem could be third party boards, because the location of the `startup.o` needs to the specified now in `boards/$(BOARD)/Makefile.include`, e.g. ```Makefile export UNDEF += $(BINDIR)msp430_common/startup.o ```
-
- Apr 01, 2014
-
-
Ludwig Knüpfer authored
addresses: https://github.com/RIOT-OS/RIOT/pull/778#discussion_r10041955
-
Ludwig Knüpfer authored
The old way was error prone due to it's use of a fixed path file and confusing. closes #775
-