1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
Oleg Hahm
aef6256cc5 make: include DEFAULT_MODULES from cpu and boards 2014-12-25 16:32:56 +01:00
Oleg Hahm
9a6a91fcbb make: filter out optional non-available modules 2014-12-22 20:34:42 +01:00
René Kijewski
938d7d441b make: expose used features with -DFEATURE_ABC
All used feature requests (both in `FEATURES_REQUIRED` and
`FEATURES_OPTIONAL`) that could be satisfied get exposed to C with
`-DFEATURE_ABC`.
2014-10-26 23:27:43 +01:00
René Kijewski
4a9864ebc7 make / cortex m: replace hyphen in module name
When you compile for UDOO, you are greeted by a multitude of this
warnings:
```
<command-line>:0:14: warning: ISO C99 requires whitespace after the macro name [enabled by default]
```

The reason for that is the argument `-DMODULE_CORTEX-M3_COMMON`.

This PR fixes this problem by replacing hyphens with underscores for the
`-D…` argument.
2014-06-25 20:50:44 +02:00
René Kijewski
d19fc447ed make: make DIRS usable for applications 2014-06-23 15:50:10 +02:00
René Kijewski
a8064fd97c Automatically remove dups in $(USEMODULE) 2014-04-29 00:06:19 +02:00
René Kijewski
3f59eefbaf Use subfolders in bin dir
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
```
2014-04-09 00:28:14 +02:00
René Kijewski
e740fbc800 make: Add DEFAULT_MODULE and DISABLE_MODULE
Closes #926
2014-04-01 23:42:00 +02:00
Ludwig Ortmann
91814e52ae make: replace MAKEBASE with RIOTBASE
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
Ludwig Ortmann
d58da976c6 make: add Makefile.pseudomodules and use it
BASELIBS now defines targets for anything in USEMODULE that is not in PSEUDOMODULES
move defaulttransceiver to Makefile.pseudomodules
2014-03-18 10:19:49 +01:00
Ludwig Ortmann
8ac4f3332d core cpu: add defaulttransceiver pseudomodule
update examples/default
2014-03-18 10:18:15 +01:00
Oleg Hahm
93e32953b3 always build and initialize hwtimer
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
2014-02-24 18:36:28 +01:00
Martin Lenders
24b63bd9f0 Update libcoap 2014-02-23 20:57:17 +01:00
Ludwig Ortmann
73a2c4edf2 move Makefile.dep include
boards modify USEMODULE which can lead to additional dependencies.
including Makefile.dep last enables it to resolve all dependencies.
2014-02-07 21:24:42 +01:00
Oleg Hahm
8d13f57ae4 add basic include pathes by default 2014-01-05 16:11:08 +01:00
Oleg Hahm
593ee623b6 simplify and unify include pathes
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
1e665b49de build everything in the project directory 2014-01-05 16:11:07 +01:00
Oleg Hahm
6297516371 restructured and fixed arm architecutre files 2013-07-24 23:53:38 +02:00
Oleg Hahm
19e4034ace Merge branch 'thomas-mc1322x'
Conflicts:
	Makefile.modules
	core/kernel_init.c
	core/thread.c
	cpu/arm_common/arm_cpu.c
	cpu/arm_common/syscalls.c
	cpu/lpc_common/hwtimer_cpu.c
	cpu/lpc_common/iap.c
	sys/include/transceiver.h
	sys/net/sixlowpan/sixlowip.c
	sys/net/sixlowpan/sixlowmac.c
	sys/net/sixlowpan/sixlowmac.h
	sys/net/sixlowpan/sixlowpan.c
	sys/transceiver/Makefile
	sys/transceiver/transceiver.c
2013-07-24 23:22:11 +02:00
Oliver Hahm
3d85573f9d add kernel headers to default include path 2013-06-20 14:53:20 +02:00
Oleg Hahm
de038ed38c * some minor Makefile cleanup 2013-05-16 17:12:22 +02:00
Oliver Hahm
2c6b406d2d * renamed msp430_common module name 2013-05-15 15:54:21 +02:00
Oliver Hahm
f13ef5f500 * restructured cpu folder to distinguish between arm and lpc common files 2013-04-01 00:18:07 +02:00
Oliver Hahm
e6177e811a * moved cpu and board specific parts to corresponding Makefiles
* introduced variable for cpu folder
2013-03-23 18:38:12 +01:00
Ludwig Ortmann
2883ca121e migrate to current Makefile structure 2013-03-19 22:32:22 +01:00
Oliver Hahm
3a69aa8ebc * added arm_common to include path for lpc2387 in Makefile.modules
* cleaned dist/Makefile up
2013-03-19 17:56:26 +01:00
Oliver Hahm
7a4dec1830 * replaced new Makefile name in Makefiles 2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27 * renamed makefiles to Makefile 2013-03-09 23:45:56 +01:00