Commit graph

17 commits

Author SHA1 Message Date
Paul Sokolovsky
8560544ed7 Add support for vendor SDK 0.9.3, while keeping support for 0.9.2. 2014-11-24 02:14:33 +02:00
Paul Sokolovsky
7539be1577 Fix clean target to properly remove vendor sdk dir. 2014-11-24 01:15:42 +02:00
Paul Sokolovsky
0b42e1403e Add clean target - use after pulling in new changes. 2014-11-21 21:45:41 +02:00
Andrew Andrianov
85d0f81b51 Create irom version of libc
This patch adds the voodoo required to make an irom-only
version on newlib. In case some goodies doesn't fit in SRAM.

Link with -lcirom instead of -lc

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2014-11-21 21:29:02 +02:00
Paul Sokolovsky
c98642a964 Patch proper linker file. 2014-11-19 23:29:19 +02:00
Paul Sokolovsky
fa2948fd3a Don't be verbose on installing vendor libs/headers. 2014-11-19 22:44:08 +02:00
Paul Sokolovsky
d963e31f7b Install linker script to toolchain sysroot.
Then -T option to gcc/ld will find them there just by file name
(without a path).
2014-11-19 22:42:02 +02:00
Andrew Andrianov
cc7bd07866 Fix libhal dependecy
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2014-11-19 14:22:34 +02:00
Paul Sokolovsky
85bac4d601 Install esptool.py to toolchain bin/.
Also, make sdk_patch target "real".
2014-11-19 14:18:22 +02:00
Paul Sokolovsky
5bb751c482 Install libhal to sysroot too, where it can be found.
Also, add phony target aliases to easily rebuild particular one.
2014-11-19 01:45:11 +02:00
Paul Sokolovsky
7a7920a8a9 Name subdir targets with underscore prefix (they're internal targets). 2014-11-19 00:10:48 +02:00
Paul Sokolovsky
5e1dde19c4 Install vendor SDK in toolchain sysroot.
Also, do that when installing vendor SDK, not when installing toolchain.
2014-11-19 00:08:26 +02:00
Paul Sokolovsky
1bbca16850 Instead of "OPENSOURCE" option, use "STANDALONE" with inverted meaning.
STANDALONE is the default.
2014-11-18 21:52:44 +02:00
Andrew Andrianov
2441e964d1 Add an OPENSOURCE option
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2014-11-18 22:14:32 +03:00
Andrew Andrianov
a62293b698 Create portable toolchain
This commit adds changes required for the toolchain to be
portable:

* Toolchain built is now static
* All SDK headers are installed into the toolchain itself
* All blobs from SDK are installed into toolchain itself
* Toolchain directory name is its GNU_TARGET_NAME by default

This also removes the need to specify the -L and -I flags
while building the actual software to include SDK libraries

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2014-11-18 15:15:00 +03:00
Paul Sokolovsky
c3c96ee0d0 Makefile: Auto-update submodules. 2014-11-16 00:24:24 +02:00
Paul Sokolovsky
8caefb0d35 Add makefile to build complete SDK install. 2014-11-15 23:52:44 +02:00