Commit Graph

242 Commits

Author SHA1 Message Date
Atis Elsts
c01d3d7d22 Do not allow to 'trick' the platform and board exclude checks 2018-12-18 19:42:45 +00:00
Simon Duquennoy
f1bbc42121 Build system: enable compiling with arch directory at arbitrary paths 2018-11-23 10:41:40 +01:00
George Oikonomou
14eeeccebc Always create example.$(TARGET) under build/ and then copy to . 2018-10-23 17:47:32 +01:00
George Oikonomou
d89cca83ac Don't generate an error if build/ does not exist 2018-10-23 17:47:32 +01:00
George Oikonomou
0622889add Allow users to specify build configurations 2018-10-23 17:47:31 +01:00
George Oikonomou
f8ea68c3eb Change build output dir structure and filenames 2018-10-23 17:47:30 +01:00
George Oikonomou
ab5d5ba33c Extend build verbosity control
Apply verbosity control for mkdir, cp, srec_cat, objcopy, objdump
2018-10-23 17:47:30 +01:00
George Oikonomou
1cdd4ffb12 Move the help and usage targets to a separate Makefile 2018-10-16 22:03:59 +01:00
George Oikonomou
db18b43f0f Make sure CONTIKI_BOARD_xyz is defined 2018-10-13 22:08:01 +01:00
Simon Duquennoy
1f4d4ee7cf
Merge branch 'develop' into contrib/tools/viewconf 2018-05-28 20:53:14 +02:00
George Oikonomou
6177cac919 Use $(MAKE) instead of make to invoke recursively 2018-05-27 19:21:08 +01:00
George Oikonomou
5d234e1138 Move viewconf to its own dir 2018-05-27 18:33:53 +01:00
George Oikonomou
11f563dc98 Harmonize login, serialdump and serialvew across all platforms 2018-05-26 13:55:03 +01:00
George Oikonomou
37f14efad5 Harmonize building of tools from within an example dir 2018-05-26 13:55:02 +01:00
Niclas Finne
2cb4e27599 Added a configurable linker flag to enable linker warnings as errors since OSX
requires a diffent linker flag.
2018-05-15 00:52:12 +02:00
kkrentz
15a3f32b29 Do not warn us about unused constants 2018-05-14 09:22:45 -07:00
George Oikonomou
32bdb70afa Extend usage string 2018-05-12 17:06:28 +01:00
Simon Duquennoy
083c4b9152
Merge branch 'develop' into fix/make-nullnet-cflags 2018-05-08 18:36:42 +02:00
Simon Duquennoy
f2394720c8 Makefile.include: include nullnet only when using MAKE_MAC_NULLNET 2018-05-08 08:14:38 -07:00
MartenBE
9194b65d22 Fixed typo for savetarget target in usage string 2018-05-06 21:05:54 +02:00
Simon Duquennoy
ed5eb17f68
Merge branch 'develop' into lafka-cortex-makefile-relpath 2018-05-04 21:29:16 +02:00
Olav Frengstad
dd335bb318 Treat linker warnings as errors
When using relative path (ie `./contiki-ng`) some Makefiles, like cortex m3, fails
to filter out ldscripts resulting in a broken build.
2018-05-03 23:49:54 +02:00
Simon Duquennoy
7f7da4367e Make distclean: less verbose output 2018-05-03 13:26:13 -07:00
Simon Duquennoy
4b11f8c99e
Merge branch 'develop' into contrib/build/cleanup 2018-04-03 14:50:17 +02:00
George Oikonomou
5d1ed3c17f Fix CONTIKI_VERSION_STRING
Currently, the version string always ends with -dirty. This is related to the logic behind --git-dir, which assumes that the current working dir is the top-level dir of the repo, unless --work-tree is also specified
2018-04-01 16:20:23 +01:00
George Oikonomou
3f4a1f7c54 Extend the usage target and add help target 2018-03-30 21:23:00 +01:00
George Oikonomou
a22324291f Specify a number of targets as .PHONY 2018-03-30 21:22:59 +01:00
George Oikonomou
9a1d34e163 Change distclean to clean all platforms 2018-03-30 21:22:59 +01:00
George Oikonomou
c7e36a3d55 Change clean target to be more explicit
Previously, the clean target would delete a number of file extensions, many of which currently unknown to our build system (old platforms?). This commit changes the target so that it only cleans what we know we are building. Platforms / CPUs can append to the target with platform-specific build artifacts.
2018-03-30 21:22:59 +01:00
George Oikonomou
16d8c5b4f9 Use a variable for the Contiki-NG archive file
Prevents having to hard-code the filename in multiple cpu/platform makefiles and allows us to easily rename it across the board in the future
2018-03-30 21:22:59 +01:00
George Oikonomou
ce540a8bca Harmonise filename pattern for the .map file
All map files are now called example-platform.map (e.g. hello-world-native.map).
2018-03-30 20:24:59 +01:00
George Oikonomou
6ac6e46041 Provide a string define for TARGET and BOARD 2018-03-23 18:24:53 +00:00
Simon Duquennoy
7fe4d913b7
Merge branch 'develop' into contrib/build-all 2018-03-12 14:22:34 +01:00
George Oikonomou
c250cf93b7
Merge branch 'develop' into feature/ipv6_over_ble 2018-03-12 08:52:25 +00:00
Simon Duquennoy
96a818e081 Makefile.include: clearer message in case of compilation attepmts to unsupported boards 2018-03-09 16:29:06 +00:00
Atis Elsts
f677f9c12f clean target in Makefile.include: also remove .o files 2018-03-09 16:29:06 +00:00
Atis Elsts
b024ff46c1 Allow examples to restrict their platforms in Makefile 2018-03-09 16:29:06 +00:00
George Oikonomou
82cbe50d0d Fix build under GNU make v3.81 2018-02-27 22:41:29 +00:00
Simon Duquennoy
2d74971a91 Makefile.include: support assembly file extensions .s in addition to .S 2018-02-26 08:26:49 -08:00
George Oikonomou
73ce7995a3 Add os/net/mac/framer to top-level Makefile MODULES 2018-02-26 00:07:20 +00:00
Simon Duquennoy
65cbc45145 Rename routing module flags 2018-02-02 08:50:17 -08:00
Simon Duquennoy
7adfb92b63 Routing module configuration through netstack.h 2018-02-02 08:50:17 -08:00
Simon Duquennoy
26d51c15d7 Routing API: added more missing functions, homogenize configuration 2018-02-02 08:50:17 -08:00
Simon Duquennoy
4c9f62ebe4 Added NETSTACK_ROUTING for routing protocol selection. Only used for init() so far. 2018-02-02 08:47:21 -08:00
Simon Duquennoy
7ddee2c66a Move rpl-lite and rpl-classic to os/net/routing 2018-02-02 08:47:21 -08:00
Simon Duquennoy
871ee1e34f Added routing module with only routing.h, now included wherever RPL is used 2018-02-02 08:45:02 -08:00
Niclas Finne
ebb329de5c CoAP: added make option to specify CoAP DTLS keystore to use by default.
The currently available options are:

* none   - No keystore registered.
* simple - Keystore using fixed PSK credentials.
* lwm2m  - Keystore based on LWM2M security objects

If an application wants to provide its own keystore, it selects 'none'
and registers its own at startup.
2018-01-12 01:18:41 +01:00
spoerk
604e846ff1 Merge branch 'develop' of github.com:contiki-ng/contiki-ng into feature/ipv6_over_ble 2018-01-03 15:27:42 +01:00
spoerk
35c08597e6 BLE L2CAP moved to the other MAC implementations 2018-01-03 14:36:14 +01:00
Simon Duquennoy
6de6e15ce7 Move RPL border router from example to os/services 2017-12-22 05:21:39 -08:00