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

12 Commits

Author SHA1 Message Date
560a509036 make: remove trailing slash from BINDIR variable 2016-10-18 23:27:59 +02:00
Joakim Nohlgård
4d95f8a0ba boards/x86-multiboot-common/Makefile.include: Add -Wl,--gc-sections to linker options 2016-08-10 16:18:29 +02:00
Joakim Nohlgård
efedaa1a43 boards/x86-multiboot-common: Use gcc-ar when building with LTO 2016-08-10 16:18:29 +02:00
db096931ac boards: x86: fix x86-multiboot-common module name 2016-03-06 17:09:35 +01:00
Hauke Petersen
ac2b9f2524 boards: changed module name to 'board' 2015-12-07 17:53:22 +01:00
Joakim Gebart
4e7987e0c8 dist/tools/toolchains/build_x86.sh: upgrade to newlib-2.2.0.20150623 2015-07-13 20:04:16 +02:00
René Kijewski
a70ee0f022 make: centralize wget/curl & unzip/7z feature test
With many open PRs that could benefit from loading SDKs when needed,
instead adding vast amounts of code to RIOTs master, this PR provides
the "functions" `$(DOWNLOAD_TO_STDOUT)`, `$(DOWNLOAD_TO_FILE)`, and
`$(UNZIP_HERE)`.

The first "function" takes one argument, the URL from where to download
the content. It is then piped to stdout. To be used e.g. with `tar xz`.

The second "function" taken two arguments, the destination file name,
and the source URL. If the previous invocation was interrupted, then the
download gets continued, if possible.

The last "function" takes one argument, the source ZIP file. The file
gets extracted into the cwd, so best use this "function" with
`cd $(SOME_WHERE) &&`.

The clumsy name `$(UNZIP_HERE)` is taken because the program "unzip"
takes the environment variable `UNZIP` as the source file, even if
another file name was given on the command line. The rationale for that
is that the hackers of "unzip" hate their users. Also they sacrifice
hamsters to Satan.
2014-08-21 19:07:52 +02:00
René Kijewski
aed57f4fe6 x86: disable --gc-sections for Travis' sake
I could not reproduce the problem at home, but on Travis CI after
merging #1415 tests/unittest failed to execute for qemu-i386.

There is a crash early in the initialization, caused by a #PF. The
execution hangs afterwards (`cli; 0: hlt; jmp 1b`), and Travis kills
the execution after 10 minutes.
2014-08-06 15:23:11 +02:00
René Kijewski
6a75a14ce5 x86: garbage collect section if not debugging 2014-06-19 12:35:10 +02:00
René Kijewski
5f30789c30 x86: Use 'versioning' for precompiled newlib 2014-06-06 15:38:54 +02:00
René Kijewski
ee02a0f654 x86: fix download script for OSX
Mac OSX does not have `wget`, but `curl`.
It does not understand `tar xJ`, but `tar xj`.
2014-06-03 22:36:00 +02:00
René Kijewski
4e4f908379 Initial import of the x86 port
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00