diff options
author | Ayke van Laethem <[email protected]> | 2019-04-20 15:14:48 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2019-04-25 12:55:52 +0200 |
commit | 2f2d62cc0ced7115901aa35885e3a56aab8efeb9 (patch) | |
tree | 86b76bed2e89b13d40a390aef8741cd4f5a6599c /Makefile | |
parent | d396abb6907b07b6a66129c1cf12d55a1ffce976 (diff) | |
download | tinygo-2f2d62cc0ced7115901aa35885e3a56aab8efeb9.tar.gz tinygo-2f2d62cc0ced7115901aa35885e3a56aab8efeb9.zip |
cgo: support builtin #include headers
Add support for header files bundled with the compiler by copying them
into the release tarball.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -86,13 +86,16 @@ test: release: build/tinygo gen-device @mkdir -p build/release/tinygo/bin + @mkdir -p build/release/tinygo/lib/clang/include @mkdir -p build/release/tinygo/lib/CMSIS/CMSIS @mkdir -p build/release/tinygo/lib/compiler-rt/lib @mkdir -p build/release/tinygo/lib/nrfx @mkdir -p build/release/tinygo/pkg/armv6m-none-eabi @mkdir -p build/release/tinygo/pkg/armv7m-none-eabi @mkdir -p build/release/tinygo/pkg/armv7em-none-eabi + @echo copying source files @cp -p build/tinygo build/release/tinygo/bin + @cp -p $(abspath $(CLANG_SRC))/lib/Headers/*.h build/release/tinygo/lib/clang/include @cp -rp lib/CMSIS/CMSIS/Include build/release/tinygo/lib/CMSIS/CMSIS @cp -rp lib/CMSIS/README.md build/release/tinygo/lib/CMSIS @cp -rp lib/compiler-rt/lib/builtins build/release/tinygo/lib/compiler-rt/lib |