René Kijewski
e189064171
make: print error if make was executed in the root
...
Fixes #1104 , alternative to #1178 .
2014-05-15 20:07:32 +02:00
René Kijewski
542a2e5d9d
Merge pull request #995 from Kijewski/issue-993
...
Make: exterminate 'clean' buildtarget clutter
2014-04-18 16:11:15 +02:00
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.
2014-04-09 23:07:52 +02:00
René Kijewski
21af9f11f9
Make: do not spam error messages on shallow clones
...
> `--always`: Show uniquely abbreviated commit object as fallback.
2014-04-09 16:52:05 +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
Ludwig Ortmann
1bd3f7bb86
pipe through sed instead
...
addresses: https://github.com/RIOT-OS/RIOT/pull/778#discussion_r10041955
2014-04-01 10:44:10 +02:00
Ludwig Ortmann
7229287e47
Prepend path to dependency info files with sed
...
The old way was error prone due to it's use of a fixed path file and
confusing.
closes #775
2014-04-01 10:44:10 +02:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
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.
2014-01-05 16:11:08 +01:00
Oleg Hahm
c7d985d371
removed redundant include pathes from Makefiles
2014-01-05 16:11:08 +01:00
Oleg Hahm
26c50522d5
simplified and unified cpu build structure
2014-01-05 16:11:07 +01:00
Oleg Hahm
55f31a4829
simplify include structure for boards
...
* do not overwrite CFLAGS in boards Makefile
2014-01-05 16:11:07 +01:00
Ludwig Ortmann
4c612f6d08
use $(CC) for *.S files
2013-12-18 18:05:49 +01:00
Oleg Hahm
e9b04cc380
only add branch to version string if not in master
2013-11-27 17:21:55 +01:00
Oleg Hahm
529f3fb278
include version string
2013-11-25 17:35:26 +01:00
Oleg Hahm
739cd03234
do not overwrite SRC in Makefile.base
2013-10-29 16:26:42 +01:00
authmillenon
4f363ce0fe
Define phony make targets
2013-08-08 15:44:44 +02:00
Christian Mehlis
57e70a659c
Remove undefined variables from Makefiles
...
The following variables are included in various Makefiles but never
defined.
$(BOARDINCLUDE)
$(PROJECTINCLUDE)
$(CPUINCLUDE)
2013-06-13 21:41:24 +02:00
Oliver Hahm
d31bad6c9e
* cleaned up output from Makefiles
2013-06-11 15:50:42 +02:00
Ludwig Ortmann
a900065fb0
remove cruft in Makefile.base
2013-05-30 17:52:54 +02:00
Ludwig Ortmann
2c744bc1e8
generalize .S compilation target flags
2013-05-15 11:18:18 +02:00
Ludwig Ortmann
c6553f6492
interrupt handling rewrite
...
(including uart0 integration, rt-extension removal)
2013-05-14 18:31:47 +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
Ludwig Ortmann
f8973bb007
Merge remote-tracking branch 'upstream/master'
2013-03-12 15:23:24 +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