libk  All files named "build.sh"

History for build.sh

2020-03-03
18:10
add target display file: [ffa7b27e51] check-in: [ebe506a75e] user: lexi, branch: trunk, size: 8627 [annotate] [blame] [check-ins using] [diff]
17:58
target appropriate manpage section; rename boot.o to properly namespaced kboot.o; misc fixes file: [dcf2a949b3] check-in: [ef45f6d08e] user: lexi, branch: trunk, size: 8615 [annotate] [blame] [check-ins using] [diff]
2020-01-22
00:58
Add a err.c for every module, and compile them all in. This fixes the build of the shared library version, as there are no more undefined symbols. `kexplain` likely will still not work, but it didn't work in the first place. file: [773f649c53] check-in: [bdc1191d6f] user: glowpelt, branch: fixshared, size: 8252 [annotate] [blame] [check-ins using] [diff]
2020-01-19
04:12
Partially fix shared library build by making sure that data_objects are linked in. This means that internal.ident.o is properly linked in, but internal.ident.o itself still references undefined symbols, so this is only a partial fix. file: [e58e880af0] check-in: [0d71b71cc8] user: glowpelt, branch: trunk, size: 8022 [annotate] [blame] [check-ins using] [diff]
2019-10-30
03:34
begin work on kcli module; continue to build out infra for error explanation function file: [4e982ff144] check-in: [c0e04b9015] user: lexi, branch: trunk, size: 8003 [annotate] [blame] [check-ins using] [diff]
2019-10-22
19:43
Add default errno locations for building on Android with Termux Should probably be revised, but this is a starting point. file: [1a5246e64d] check-in: [960d952eed] user: glowpelt, branch: BAD, size: 7998 [annotate] [blame] [check-ins using] [diff]
2019-08-24
23:02
stop attempting to auto-detect system constants during build process, and maintain os/arch-specific tables instead file: [4c9dbc8e12] check-in: [e42b590b45] user: lexi, branch: trunk, size: 7826 [annotate] [blame] [check-ins using] [diff]
2019-08-22
02:52
removed sneaky segfault in x86-64 syscall fn where %r8 (the register that contains the pointer to the syscall arguments from the C syscall wrapper, which need to be copied into the correct registers before the kernel is invoked) gets overwritten if the syscall valency > 5, because of overlapping ccall and syscall ABI argument registers - r8 is clobbered by argument 5 and any further attempts to use it as a ptr segfault at best. also modified the report function so that it immediate cancels compilation if a sub-process reports failure. changed allocator function signatures so they can return a condition code if the kernel reports an error; updated example code so it compiles and runs without fault. file: [b5a70ac75f] check-in: [e50a476efe] user: lexi, branch: trunk, size: 9203 [annotate] [blame] [check-ins using] [diff]
01:37
add first iteration of knum header file: [d7b4907031] check-in: [5560c2725b] user: lexi, branch: trunk, size: 9193 [annotate] [blame] [check-ins using] [diff]
00:03
insert explicit cast to hopefully silence compiler warnings on some systems file: [b43f4693b2] check-in: [7c202a8b17] user: lexi, branch: trunk, size: 8962 [annotate] [blame] [check-ins using] [diff]
2019-08-21
23:35
replace `.` with `source` in shell scripts for compatibility; change `sh` shebangs to use bash instead file: [e2a59a38b7] check-in: [34059b4bf6] user: lexi, branch: trunk, size: 8955 [annotate] [blame] [check-ins using] [diff]
06:00
move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files file: [9bf8bf8013] check-in: [14172a910a] user: lexi, branch: trunk, size: 8950 [annotate] [blame] [check-ins using] [diff]
04:24
modify build system to replace extremely fragile error code generation mechanism file: [4eaecd6098] check-in: [d77ef26adf] user: lexi, branch: trunk, size: 8918 [annotate] [blame] [check-ins using] [diff]
03:10
add assembly output flag to build.sh file: [e1362458a3] check-in: [06e32bd3b4] user: lexi, branch: trunk, size: 8992 [annotate] [blame] [check-ins using] [diff]
01:58
enable debugging and add -ffreestanding to gcc cmd line to squash attempts to "optimize" functions by converting them to libc calls, e.g. turning kmzero() calls into memset() calls file: [3df2029917] check-in: [49bf71fb47] user: lexi, branch: trunk, size: 8787 [annotate] [blame] [check-ins using] [diff]
01:20
rename $out build var to $to for nixos compat; refactor announce command to choose a color automatically instead of forcing it to be specified on every command line file: [b2a27b403b] check-in: [b590aba21d] user: lexi, branch: trunk, size: 8539 [annotate] [blame] [check-ins using] [diff]
2019-08-20
22:54
reorganize posix assembly code file: [520c125701] check-in: [f85e6a07dd] user: lexi, branch: trunk, size: 9409 [annotate] [blame] [check-ins using] [diff]
04:04
improve syscall collection mechanism file: [5f22a34160] check-in: [9dd8bab2ac] user: lexi, branch: trunk, size: 9409 [annotate] [blame] [check-ins using] [diff]
03:04
address case where syscall numbers in header derive from deeper includes file: [81c1265d8b] check-in: [09a1767049] user: lexi, branch: trunk, size: 9233 [annotate] [blame] [check-ins using] [diff]
02:03
partially unfuck x86-32, correct major error in syscall ABI file: [15fc50281c] check-in: [f9bf0d662b] user: lexi, branch: trunk, size: 9165 [annotate] [blame] [check-ins using] [diff]
2019-08-19
23:57
add detection loop for syscall headers file: [a37c2dbfb1] check-in: [c7732c41c9] user: lexi, branch: trunk, size: 7464 [annotate] [blame] [check-ins using] [diff]
22:40
add documentation compilation file: [669569b504] check-in: [8d6d792515] user: lexi, branch: trunk, size: 6645 [annotate] [blame] [check-ins using] [diff]
05:42
switch over to new build mechanism and formally deprecate makefiles file: [e19ff3649f] check-in: [34c625a47b] user: lexi, branch: trunk, size: 6556 [annotate] [blame] [check-ins using] [diff]
04:51
Added: begin move away from legacy build system file: [75da38cbfd] check-in: [26c340d29e] user: lexi, branch: trunk, size: 5764 [annotate] [blame] [check-ins using]