Commit Graph

50 Commits

Author SHA1 Message Date
Bastian Bittorf c0d2c232ac add download cache
overload 'wget' with a function,
so all wget downloads are cached in
ether 'sources' or ENV defined using $CACHEDIR.

directory 'sources' is already in .gitignore

checksum store is in root-dir of repo
and can be manually checked with:

( cd sources && sha256sum -c ../SHA256SUMS.sources )

introducing '$GITDIR' and enforce run in this dir.
2021-02-10 08:10:10 +01:00
Andrius Štikonas e20ce6fdca Move diffutils after musl. 2021-02-06 00:16:32 +00:00
Andrius Štikonas 13b030e1ed Move grep after musl. 2021-02-05 22:57:24 +00:00
Andrius Štikonas 3e7b17c03e Update m4 from 1.4 to 1.4.4. 2021-02-05 22:56:59 +00:00
Andrius Štikonas fb522be854 Add flex 2.6.4. 2021-02-05 22:56:56 +00:00
Andrius Štikonas 9ddc0bcee6 Add musl 1.1.24. 2021-02-03 22:09:30 +00:00
fosslinux 9961c4b75f Remove sources/ directory 2021-01-31 21:12:53 +11:00
Andrius Štikonas 2b8394e1f5 Build flex 2.5.14. 2021-01-30 19:47:48 +00:00
Andrius Štikonas de9548dbff Build flex 2.5.11. 2021-01-30 19:27:02 +00:00
Andrius Štikonas 707328a15c Add bash based build harness. 2021-01-30 17:56:51 +00:00
Andrius Štikonas 89ca88eaea Add heirloom yacc. 2021-01-26 22:19:53 +00:00
Andrius Štikonas d26463ffa2 Build most utils from coreutils-5.0. 2021-01-21 01:28:41 +00:00
Andrius Štikonas 089b6d6020 Build grep-2.4. 2021-01-21 01:28:41 +00:00
Andrius Štikonas 06fab5687b Fix whitespace. 2021-01-21 01:18:22 +00:00
Bastian Bittorf 0328828a57 Add new build target 'minikernel':
./rootfs minikernel

will download external helper script,
which compiles a kernel and starts qemu
(if possible in kvm mode) together with
the already generated initital ramdisk.

all tempfiles are in already provided tmpfs
and lost at the very end during unmount and exit.

also add a logfile for all targets, which
can be used to better spot errors.
2021-01-20 11:07:47 +01:00
fosslinux 97fd39feb2 Add cirrus CI 2021-01-20 15:30:14 +11:00
fosslinux 5a369dc783 Restructure 2021-01-20 15:24:37 +11:00
fosslinux c1454a5db6 Add bash 2.05b 2021-01-16 15:04:48 +11:00
Andrius Štikonas 54a39c2e33 Build m4-1.4. 2021-01-15 01:24:27 +00:00
Andrius Štikonas acf3fe8028 Fix incorrect bash globbing. 2021-01-14 23:31:26 +00:00
Andrius Štikonas a7e83e9c4e Do not try to redownload files that are already downloaded. 2021-01-14 23:31:26 +00:00
Andrius Štikonas e8f545612d Add bzip2 1.0.8. 2021-01-14 23:31:26 +00:00
fosslinux a9d894317d Add make 3.80 2021-01-14 21:47:08 +11:00
fosslinux d62ed4c55a Add patched tcc
Forces static link.
2021-01-14 21:45:36 +11:00
fosslinux 1b7cb3a96d Add patch 2.5.9 2021-01-14 08:21:25 +11:00
Bastian Bittorf 9010e9786e add chroot-mode, so it works without qemu/kernel 2021-01-13 21:48:56 +11:00
fosslinux 206d7adb64 Remove make from rootfs.sh (erroneous inclusion) 2021-01-13 21:48:56 +11:00
fosslinux 866909fbf7 Create empty files for tcc inside chroot 2021-01-13 21:38:34 +11:00
fosslinux 6cdf911161 rootfs.sh: allow re-run with same tmp, fix build 2021-01-13 21:37:07 +11:00
fosslinux bca6f897a2
Merge pull request #9 from stikonas/build_scripts
Copy all types of build scripts into sysa, not just kaem.
2021-01-13 08:24:07 +11:00
Andrius Štikonas 8113b92173 Copy all types of build scripts into sysa, not just kaem. 2021-01-12 21:18:59 +00:00
fosslinux 0d02332b2b Couple of fixes.
- Add some commenting to rootfs.sh
- Fix the build
2021-01-12 21:21:03 +11:00
Andrius Štikonas 1f0d7d2f78 Add function to download source files. 2021-01-12 00:30:02 +00:00
Andrius Štikonas c4528a0dac Build diffutils 2.7. 2021-01-12 00:02:39 +00:00
Andrius Štikonas 238e9359b0 Build gzip 1.2.4. 2021-01-12 00:02:38 +00:00
Andrius Štikonas 3405518e2e Build tar 1.12. 2021-01-12 00:01:48 +00:00
Andrius Štikonas 58b85adbf9 Update sed to 4.0.7. 2021-01-11 22:00:17 +00:00
fosslinux 4b88b5a6f0 Do a bit of renaming so things are versioned 2021-01-11 17:47:13 +11:00
Andrius Štikonas d59f0f3495 Build sed 1.18. 2021-01-11 12:21:10 +11:00
fosslinux 90cd17e453 Revert "Revert "Add tcc 0.9.27""
This reverts commit 238bd677d7.

We can just specifiy -static manually.
2021-01-11 10:40:25 +11:00
fosslinux 238bd677d7 Revert "Add tcc 0.9.27"
This reverts commit 1ebbd69c79.

This requruies sed first to make a modification.
2021-01-11 10:33:09 +11:00
fosslinux 1ebbd69c79 Add tcc 0.9.27
This is the final tcc.
2021-01-10 19:42:58 +11:00
fosslinux a527dae4bd Fix kaem patch 2021-01-10 16:02:38 +11:00
fosslinux 39e0a366be Add tcc 0.9.26
This is the first tcc, which will be used to build 0.9.26p1.

Instructions taken from bootstrap.sh in tcc-0.9.26p1. p1 denotes it has
been patched.
2021-01-10 13:21:32 +11:00
Andrius Štikonas 690bddf795 Build mes-m2. 2021-01-06 22:42:05 +00:00
fosslinux 649d7b68dc Add mes and mescc-tools-extra
mescc-tools-extra contains two important tools:
- cp
- chmod

mes first builds itself from a mes 0.21 seed as used by guix, and then
builds a mes 0.22 and then mes 0.22 using that created mes 0.22.

It does /not/ use bootstrap.sh as we don't have a proper shell at this
point, it has been manually adapted for kaem.
2020-12-25 18:40:14 +11:00
fosslinux c97ad0212f Make structure of sysa/ a bit cleaner 2020-12-23 17:02:57 +11:00
fosslinux 19b41d22f4 Move everything into sysa 2020-12-17 11:25:36 +11:00
fosslinux d6d000aa0a Split QEMU command 2020-12-17 11:20:22 +11:00
fosslinux f0959ba2f4 Initial commit
As of right now, rootfs.sh creates an initramfs that:
- boots linux
- builds mescc-tools-seed
- compiles blynn-compiler (from oriansj's fork)
2020-12-17 10:19:25 +11:00