Commit Graph

252 Commits

Author SHA1 Message Date
Giacomo Tesio 2872875ca9 newlib: better installation; $NEWLIB_OPTIMIZATION drives gcc -O flags 2017-04-21 23:52:18 +02:00
Giacomo Tesio cf1572487e newlib.sh: build and installs 2017-04-20 00:53:47 +02:00
Giacomo Tesio eb37bc6013 Merge branch 'newlib' 2017-04-19 23:14:02 +02:00
Giacomo Tesio 454498b954 Revert "cross-compiler: use automake 1.11.6 instead of 1.11.1"
This reverts commit b1ab4f1a08.
2017-04-19 23:13:43 +02:00
Giacomo Tesio b07c09e087 newlib: setup newlib sources 2017-04-19 23:08:16 +02:00
Giacomo Tesio 372896ff41 gcc: posix include directories under /sys/posix/ 2017-04-19 17:03:53 +02:00
Giacomo Tesio b60ed18066 ksyscalls use libc ns 2017-04-11 18:21:56 +02:00
Giacomo Tesio 13e1540deb devshell.sh: set CPATH for cross compiling 2017-03-30 16:05:53 +02:00
Giacomo Tesio b1ab4f1a08 cross-compiler: use automake 1.11.6 instead of 1.11.1 2017-03-23 18:42:08 +01:00
Giacomo Tesio 8a92861412 disk-create.sh: remove perl dependency (used to slow down the fdisk script) 2017-02-25 11:07:45 +01:00
Giacomo Tesio f2443751aa continuous-build.sh: better cleanup function 2017-02-22 00:55:12 +01:00
Giacomo Tesio c577fffb34 disk-create.sh: hack fdisk calls for compatibility
The fdisk version in Ubuntu trusty (provided by travis-ci) is different enough
from the one shipped with Debian Jessie to require few careful changes.

With this commit disk-create.sh should work on both version in the same way.
2017-02-16 00:07:56 +01:00
Giacomo Tesio 4c045a3f64 disk-create.sh: slow down fdisk input; describe environment on travis-ci 2017-02-15 01:13:10 +01:00
Giacomo Tesio b2db87ff26 disk-create.sh: dd mbr.bin from $SYSLINUXMBR
If not defined, SYSLINUXMBR is /usr/lib/syslinux/mbr/mbr.bin as in Debian GNU/Linux.

However, on travis-ci configuration, SYSLINUXMBR will be as expected in Ubuntu Trusty

	/usr/lib/syslinux/mbr.bin
2017-02-15 00:48:49 +01:00
Giacomo Tesio 40077daa88 continuous-build.sh: preserve the toolchain on broken build/test 2017-02-05 03:14:01 +01:00
Giacomo Tesio 3c714125b0 QA: run /qa/check on a disk image too
This should catch bugs introduced in the disk image generation, in hjfs
and in ahci driver. Also, the checks are run with a single core virtual
machine so that some kind of bugs I might introduce in the scheduler
could break the build.
2017-02-05 02:37:00 +01:00
Giacomo Tesio ded9ac9fb9 various fixes 2017-01-20 01:54:11 +01:00
Giacomo Tesio 7d54956ba2 make runDisk.sh and runOver9P.sh uniform 2017-01-19 23:36:01 +01:00
Giacomo Tesio 7be0dbfbed devshell.sh: introduce $JEHANNE_DEVELOPER_DIR
$JEHANNE_DEVELOPER_DIR (default to ~/.jehanne) can hooks the
into the enviroment started by ./hacking/devshell.sh:

	$JEHANNE_DEVELOPER_DIR/devshell.sh is sourced by ./hacking/devshell.sh
	$JEHANNE_DEVELOPER_DIR/gdbinit is sourced by gdb started with ./hacking/gdb.sh
2017-01-19 19:31:39 +01:00
Giacomo Tesio a14a0f9224 gdb.sh: start gdb with useful facilities 2017-01-19 19:31:38 +01:00
Giacomo Tesio 8649dcc9b6 continuous-build.sh: restore toolchain chain 2017-01-06 18:37:32 +01:00
Giacomo Tesio f43f95265d continuous-build.sh: allow to skip QA 2017-01-06 03:47:40 +01:00
Giacomo Tesio 285f3026b0 continuous-build: run QA tests on travis-ci 2016-12-15 22:47:10 +01:00
Giacomo Tesio b77038020c coverity-scan.sh: remove cov-configure from prepare 2016-11-27 00:04:48 +01:00
Giacomo Tesio 40897e744a coverity-scan.sh: cov-configure during prepare 2016-11-26 23:44:20 +01:00
Giacomo Tesio 346a00bbd1 coverity-scan.sh: cov-configure gcc cross-compiler 2016-11-26 23:23:53 +01:00
Giacomo Tesio 2c8fe02c2d coverity-scan.sh: set CC=x86_64-jehanne-gcc 2016-11-26 21:59:27 +01:00
Giacomo Tesio 11d420e1f0 continuous-build.sh: set CC=x86_64-jehanne-gcc 2016-11-26 21:57:47 +01:00
Giacomo Tesio 26b0591c41 coverity-scan.sh: optimize build dependencies 2016-11-26 21:20:31 +01:00
Giacomo Tesio 76025ed4b0 travis: fix paths for caches 2016-11-26 17:55:21 +01:00
Giacomo Tesio 4646c02d92 coverity: chmod u+x coverity-scan.sh 2016-11-26 16:26:21 +01:00
Giacomo Tesio bcce8f4499 coverity: add coverity-scan.sh; cross/init.sh generate dynamically linked gcc/binutils
Coverity use an LD_PRELOAD library to intercept syscalls, so it cannot work with
a statically linked cross-compiler
2016-11-26 16:23:33 +01:00
Giacomo Tesio dc7ca89d09 continuous-build.sh: do not git-clean tmp/ 2016-11-26 12:49:36 +01:00
Giacomo Tesio 767e199ea1 continuous-build.sh: use $JEHANNE/tmp/toolchain/ for caches 2016-11-26 12:41:29 +01:00
Giacomo Tesio b97d32b073 continuous-build.sh: do not export SH 2016-11-26 12:12:01 +01:00
Giacomo Tesio f235e22c17 continuous-build.sh: get advantage of travis caches 2016-11-26 11:58:22 +01:00
Giacomo Tesio e83a580e4b continuous-build.sh: add cross-compiler to $PATH 2016-11-26 10:48:59 +01:00
Giacomo Tesio 8bcf5fe6de buildtools.sh: show progress 2016-11-26 04:28:37 +01:00
Giacomo Tesio 79eb26540e continuous-build.sh: create cross-compiling toolchain 2016-11-25 23:46:15 +01:00
Giacomo Tesio 8b70872352 init.sh: generate syscalls.h 2016-11-25 15:00:10 +00:00
Giacomo Tesio ffd4668a58 drawterm submodule 2016-11-25 13:45:53 +00:00
Giacomo Tesio 1ba806ca1b new development tools 2016-11-25 13:41:57 +00:00
Giacomo Tesio 6cc262b43b update ufs (quick hack that works) 2015-12-23 17:22:29 +00:00
Giacomo Tesio 93c44d0a8e continuous-build.sh: fix working directory 2015-12-23 10:44:48 +00:00
Giacomo Tesio ed8629197f travis-ci: improve coverity integration 2015-12-23 10:05:48 +00:00
Giacomo Tesio 26847c6486 coverity-scan.sh: fix environment test 2015-12-23 01:23:59 +01:00
Giacomo Tesio 0d8e5b4df9 coverity-scan.sh: inherity $JEHANNE if defined 2015-12-23 01:00:36 +01:00
Giacomo Tesio f62c23db18 buildtools.sh: inherit $UTILITIES if defined 2015-12-23 00:29:52 +01:00
Giacomo Tesio ab6ec669ba track master branch from github.com/lionkov/ninep for github.com/lionkov/ninep 2015-12-22 10:48:26 +00:00
Giacomo Tesio 695069b477 add .gitignore 2015-12-22 10:44:59 +00:00