902d71edd4
Import the latest version upstream
2019-06-13 02:47:25 +02:00
aa54a431dd
Merge branch 'khorben/libc'
2019-06-10 22:32:01 +02:00
b2b6b08dec
Import the latest version upstream
2019-06-10 22:29:09 +02:00
ca06b19321
Implement write(2) in C instead of assembly
2019-06-10 22:27:47 +02:00
a51d36430d
Implement gettimeofday() with the default clock
2019-06-10 22:17:12 +02:00
fe2b656658
Import the latest version upstream
2019-06-10 20:47:00 +02:00
96ce2372ae
Remove duplicate <stdbool.h>
2019-06-10 20:17:15 +02:00
a4554d5fac
Use <elf.h> from DeforaOS libc instead
2019-06-10 20:15:12 +02:00
e2c660ef74
Import the latest version upstream
2019-05-30 07:01:58 +02:00
1710406c73
Avoid use of backquotes
2019-05-30 06:59:21 +02:00
986d95f0e8
Fix linking uLoader.bin
2019-05-30 06:59:03 +02:00
bfbc2f3d13
Update the copyright notice
2019-05-30 06:52:07 +02:00
a65d5be2d6
Let the libc implement <unistd.h> in native drivers
2019-05-30 06:52:07 +02:00
7cc31652cd
Update the copyright notice
2019-05-30 06:49:23 +02:00
8ed01fcc83
Let the libc implement time() in native drivers
2019-05-30 06:46:24 +02:00
2c5e6e6a92
Import the latest version upstream
2019-05-30 06:39:38 +02:00
1295e52102
Expose enough symbols in the libc internally
2019-05-30 06:39:38 +02:00
f5eeda37ef
Force DeforaOS as the visible platform
...
This will still fail on macOS without a proper cross-compiler.
2019-05-30 06:28:47 +02:00
b56831ce87
Import the latest version upstream
2019-05-30 06:28:47 +02:00
879f903266
Import the latest version upstream
2019-05-30 06:28:47 +02:00
85e62864c2
Link uKernel.bin again
2019-05-30 06:28:47 +02:00
8aaab73930
Let _{brk,exit}() be implemented in DeforaOS libc
2019-05-30 06:28:47 +02:00
5b59722e78
Bring libk closer to building
2019-05-30 04:31:50 +02:00
fc610021a9
Import the latest version upstream
2019-05-30 03:48:14 +02:00
1850d3c8c2
Use the headers from the libc directly
2019-05-30 03:06:01 +02:00
9caaf2127e
Bring <fcntl.h> closer to that of the libc
2019-05-30 02:53:05 +02:00
dc8a64f22a
Bring <stdio.h> closer to that of the libc
2019-05-30 02:52:51 +02:00
8d33d04f7a
Import DeforaOS libc as a submodule
2019-05-30 02:18:16 +02:00
e2ea2473b1
Code cleanup
2019-05-30 02:18:04 +02:00
fb24fa3db7
Also include <ctype.h> in the native kernel
2019-05-30 01:50:04 +02:00
f84f68542f
Also include <ctype.h> in the native kernel
2019-05-28 02:06:54 +02:00
3622d4e423
Really ignore errors from the "fixme" test
2019-05-27 03:44:56 +02:00
2907b8e98b
Import all of libk in the native uKernel
2019-05-27 03:33:24 +02:00
dd01fa56fc
Update from upstream
2019-05-20 23:43:49 +02:00
68a3d912ca
Merge branch 'khorben/cross'
2019-05-20 21:19:38 +02:00
ed8a3f7085
Update the copyright notice
2019-05-20 21:18:07 +02:00
078458ef8a
Build the drivers natively for the native uKernel
2019-05-20 21:17:54 +02:00
29e81457cb
Fix compatibility for macOS
2019-05-17 16:50:26 +02:00
9e32929c97
Update the copyright notice
2019-05-17 16:50:26 +02:00
eaaec21371
Always generate platform.c for every platform
2019-05-17 16:50:26 +02:00
9b216072dc
Update the copyright notice
2019-05-17 16:45:57 +02:00
a731cd63e5
Remove architecture protection around ioport.S
...
It is already performed earlier.
2019-05-17 16:45:57 +02:00
948ea52a44
Build libk natively for the native uKernel
2019-05-17 16:45:57 +02:00
2182d1a856
Re-order the targets
2019-05-17 16:45:57 +02:00
4d0a4bcefc
Allow a cross-compilation prefix to be specified
...
This is really revealing a bad design issue with the build system. The native
build of uKernel should not re-use the object files from the target. This can
only be expected to work when building the i386 or amd64 architectures on a
NetBSD/i386 or NetBSD/amd64 host, with the default toolchain.
More changes are required to fix this.
2019-05-16 23:52:28 +02:00
25c638e2e7
Register a couple more targets
2019-05-16 23:52:09 +02:00
1d66fb328f
Build binutils in a loop as well
2019-05-09 17:22:06 +02:00
a2e11c1b50
Correct the list of multilib on {aarch,amd,sparc}64
...
This still does not build GCC with the corresponding multilib setup
though. It is apparently limited to the "linux" vendor on amd64, see:
https://gcc.gnu.org/install/configure.html
2019-05-09 17:19:14 +02:00
3ca6800872
Constify
2019-05-02 06:55:13 +02:00
0e68d68305
Link to static libraries after object files
2019-05-02 06:21:10 +02:00