Commit Graph

25 Commits

Author SHA1 Message Date
rick-masters c1ceabb9c4 Use links for copies of patches. 2023-04-05 11:59:39 +00:00
rick-masters ecf99ab08b Implement kernel bootstrap up to building Linux. 2023-03-31 18:08:50 +00:00
Dor Askayo 59a13f0d09 Add LIBDIR variable for the musl library directory
LIBDIR should be used where possible to avoid unnecessary
duplication in build scripts that target the musl toolchain.

No change in package hashes.
2023-01-29 00:09:38 +02:00
Dor Askayo a74f3166f3 Pass variables to make explicitly in musl-1.1.24 2023-01-27 10:17:04 +02:00
fosslinux 10a55522a2 Change sources getting method.
- Rather than defining the urls where they are gotten (python sysa,
  python sysc, inside sysc), a spec file is now used that is easily
  interpretable and tool-independent.
- This is interpreted by rootfs.py and inside sysc.
- This is also used to make sources available and extract sources.
- Manual dirname selection is no longer required as is tarball renaming
  upon download - all of this is handled automatically.

Fixes #188
2022-10-02 09:48:20 +11:00
fosslinux 9543a47f1b Fix up checksums + other fixes 2022-03-12 16:23:24 +11:00
fosslinux a343dcf6ed Add new tarball-based checksums to all packages 2022-03-07 19:02:12 +11:00
fosslinux b93a931a53 Move to /usr prefix.
- This is much more standard and replaces /image in sysa and is the
  standard in sysc (avoids many issues).
- GCC needs to have a file created for some unknown reason.
- Checksums updated.
2021-08-27 14:54:08 +10:00
Andrius Štikonas c8784cbcd3 Split installed files out of /after into /image. 2021-06-29 17:49:34 +01:00
Andrius Štikonas a2c5745da4 helpers.sh: Add a helper function to call appropriate default stage function. 2021-05-03 23:48:06 +01:00
Andrius Štikonas a301e6fe86 Add bash symlink to /after/bin/sh
Fixes: #101
2021-04-19 00:32:00 +01:00
Andrius Štikonas 3dfe3dc0f0 Split mes libc into a separate source package.
Drop one of the mes git submodules.
2021-04-18 13:13:44 +01:00
Andrius Štikonas aa31fbc95b Patch tcc to ignore static inside array. 2021-03-31 18:14:01 +01:00
bauen1 3d1a7b6580
Make usage of /dev more failure proof
/dev/console is not needed / used.
2021-03-30 23:43:40 +02:00
Andrius Štikonas 30ebe8ccba Install musl headers directly into /after/include. 2021-03-20 23:29:51 +00:00
Andrius Štikonas f3cea25b87 Rebuild musl with fewer patches. 2021-03-03 20:36:12 +00:00
Paul Dersey 756ba1702b Rebuild musl libc after building tcc-musl, and then rebuild tcc-musl
This fixes an issue with printf not printing doubles or floats
correctly, and probably other subtle issues.

tcc-musl also uses floats extensively, so rebuild it as well, to fix
some other potential issues.

Update checksums for all resulting binaries which have now changed.

Co-authored-by: fosslinux <fosslinux@aussies.space>
2021-02-21 22:25:41 +11:00
Andrius Štikonas 58fb72be92 Fix some typos. 2021-02-21 22:25:30 +11:00
Andrius Štikonas 35e68bf298 Cleanup after configure. 2021-02-21 22:25:30 +11:00
fosslinux 77ccf06efc Implement sha256summing in bash build harness
1. Adds sha256sum stage to the bash build harness.
2. Adds a third argument to build(), the checksum file name. This is
   used where there is more than one checksum file, most notably
   in multi-stage compilations.
3. Adds checksum files to all remaining programs.
4. Adds appropriate 3rd argument where needed (coreutils, tcc-musl,
   bison).
2021-02-20 10:52:54 +11:00
Paul Dersey edf8a802bc Flush stdio buffers on exit
Make sure real __stdio_exit() is called on exit and not the dummy noop
versions.  This fixes the issue of truncated output when redirecting
output to a file or pipe.  It also fixes truncated output on programs
that forget to call fclose()
2021-02-15 10:09:22 -05:00
Paul Dersey c2e5a1c01a musl: Force line buffering when writing to stdout
This is a workaround for an issue in which binaries compiled with our
tcc+musl toolchain can fail to write complete output when stdout is
redirected to a file or pipe.
2021-02-11 18:37:03 -05:00
fosslinux 72b1b30c9b Comply with REUSE 3.0 2021-02-08 20:00:10 +11:00
Andrius Štikonas e0fba919a2 Build tcc-musl. 2021-02-04 08:35:50 +00:00
Andrius Štikonas 9ddc0bcee6 Add musl 1.1.24. 2021-02-03 22:09:30 +00:00