fosslinux
54234a5683
Add multiple tarball support, named args in rootfs.sh
...
1. Add named args to make this more clear and avoid unnessecarily
setting default values for certain values ot set others positioned
later.
2. Add support for multiple tarballs in rootfs.sh.
3. Add support for extracting multiple tarballs (name dosen't matter
anymore) in helpers.sh.
4. Add comment for 4th arg to build.
2021-04-06 08:59:37 +10:00
Andrius Štikonas
f5b914bb9f
GMP 6.2.1
2021-04-03 22:58:44 +01:00
Andrius Štikonas
70d1fc4163
Add support for DESTDIR variable in make install.
2021-04-02 12:24:40 +01:00
fosslinux
dcec416d0f
Merge pull request #83 from stikonas/binutils
...
binutils: remove autogen'ed files
2021-04-02 12:38:22 +11:00
Paul Dersey
544a197ef3
Fix perl warning due to uninitialized variables
...
Use of uninitialized value in concatenation (.) or string at
/after/lib/perl5/5.6.2/Errno.pm line 11.
2021-04-01 19:12:06 -04:00
Andrius Štikonas
9d4b489b11
binutils: remove autogen'ed files
...
Fixes #82
2021-04-01 23:52:03 +01:00
Andrius Štikonas
dd77379dbd
GNU Automake 1.15.1
2021-04-01 00:46:37 +01:00
Andrius Štikonas
9de12bf4b7
GNU Automake 1.13.4
2021-03-31 19:10:50 +01:00
Andrius Štikonas
5692032996
GNU Automake 1.12.6
2021-03-31 19:06:53 +01:00
Andrius Štikonas
e2af1a44f5
GNU Autoconf 2.69
2021-03-31 18:19:19 +01:00
Andrius Štikonas
838a1bfb90
GNU Automake 1.11.2.
2021-03-31 18:19:19 +01:00
Andrius Štikonas
c345001ee8
XZ Utils 5.0.5
2021-03-31 18:14:01 +01:00
Andrius Štikonas
f59909142d
Fix gcc not to use pregen files.
...
Fixes #78
2021-03-31 18:14:01 +01:00
Andrius Štikonas
a185b83f80
Try to fix intermittent error while building automake 1.10.
2021-03-31 18:14:01 +01:00
Andrius Štikonas
1df73da7fa
coreutils-6.10: catm->touch
2021-03-31 18:14:01 +01:00
Andrius Štikonas
aa31fbc95b
Patch tcc to ignore static inside array.
2021-03-31 18:14:01 +01:00
Andrius Štikonas
246cc10ab5
GNU Autoconf 2.65
2021-03-31 18:14:01 +01:00
Andrius Štikonas
20a4d3af9e
GNU Automake 1.10.3
2021-03-31 18:14:01 +01:00
Andrius Štikonas
a63a01c56b
GNU Libtool 2.2.4
2021-03-31 18:14:01 +01:00
Andrius Štikonas
28779bc9ba
GNU findutils 4.2.33
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
cb52876ba8
Add a comment explaining bash workaround.
2021-03-24 22:09:23 +00:00
Andrius Štikonas
e30b56cb3e
Merge remote-tracking branch 'pder/coreutils' into gcc
2021-03-24 19:37:17 +00:00
Andrius Štikonas
634cae7b68
Build bash 5.1 only after GCC.
2021-03-24 19:37:12 +00:00
Paul Dersey
366dc2eac5
Replace coreutils-6.3 with coreutils-6.10
...
Build only date, mktemp, and sha256sum
2021-03-24 15:30:37 -04:00
Paul Dersey
19c113127b
coreutils-5.0: build sync in pass2
2021-03-24 15:29:55 -04:00
Andrius Štikonas
0572ff41ef
Rebuild GCC against musl 1.2.2.
2021-03-23 18:03:21 +00:00
Andrius Štikonas
8cd8c0fe31
Rebuild bash 5.1 with gcc.
2021-03-23 18:02:14 +00:00
Andrius Štikonas
fbaa01d84c
musl 1.2.2
2021-03-23 18:02:14 +00:00
Andrius Štikonas
f5c262e370
GNU GCC 4.0.4
2021-03-23 18:02:14 +00:00
Andrius Štikonas
30ebe8ccba
Install musl headers directly into /after/include.
2021-03-20 23:29:51 +00:00
Andrius Štikonas
1aeb4c11f7
Get rid of tcc-mes.
2021-03-20 23:20:25 +00:00
fosslinux
6791064571
Merge pull request #74 from stikonas/bash
...
Bump bash to 5.1.
2021-03-21 10:18:22 +11:00
Andrius Štikonas
7162bd8f2b
Bump bash to 5.1.
2021-03-20 12:36:07 +00:00
Andrius Štikonas
705ebf471e
autotools: add MAKEFINFO=true fix to all autotools.
2021-03-20 00:34:46 +00:00
Andrius Štikonas
2527d948a2
GNU Automake 1.9.6
2021-03-19 21:40:26 +00:00
Andrius Štikonas
7364615a86
GNU Autoconf 2.61
2021-03-19 21:40:26 +00:00
Andrius Štikonas
ce77c561db
help2man-1.36.4
2021-03-19 19:57:59 +00:00
Andrius Štikonas
65a2e3e33d
autotools: Run make install with MAKEINFO=true to avoid intermittent build failures.
2021-03-19 15:39:42 +00:00
Andrius Štikonas
8bc3f32d53
Fix intermittent error when building automake-1.4.
2021-03-19 12:15:51 +00:00
Andrius Štikonas
107aef4b57
Use newer autoconf for bash to avoid warnings.
...
We can use either 2.55 or 2.57, so use the newer.
2021-03-19 12:15:51 +00:00
Andrius Štikonas
7fdb12f08d
Automake 1.8.5.
2021-03-19 12:15:51 +00:00
Andrius Štikonas
eb4b623de9
Autoconf 2.59.
2021-03-19 12:15:51 +00:00
Andrius Štikonas
abf09359c3
Autoconf 2.57.
2021-03-19 09:46:00 +00:00
Andrius Štikonas
16dba20254
Automake 1.7.8.
2021-03-18 20:03:23 +00:00
Andrius Štikonas
d1d5ab1a20
GNU Autoconf 2.55.
2021-03-18 19:19:05 +00:00
Andrius Štikonas
5ecd548945
Automake 1.7 and Autoconf 2.54
2021-03-18 17:44:01 +00:00
Andrius Štikonas
2fb08b9cd3
Autoconf 2.53.
2021-03-17 23:46:23 +00:00
Paul Dersey
8565d26fef
Update initial build of sed from version 4.0.7 to 4.0.9
2021-03-17 17:11:16 -04:00
Paul Dersey
6a5e57c2f8
helpers.sh: update default_src_unpack to support uncompressed tar files
2021-03-17 17:11:16 -04:00
fosslinux
0456b48038
Fix indentation in binutils-2.14
2021-03-18 07:22:10 +11:00
Andrius Štikonas
52cdbad405
Bootstrap aclocal.
2021-03-17 17:43:42 +00:00
Andrius Štikonas
bb4d24509e
Fix occasional flakiness in autoconf 2.12 build.
2021-03-16 09:07:10 +00:00
Andrius Štikonas
9fb1287f13
Replace automake 1.5 with automake 1.6.3
2021-03-16 00:29:06 +00:00
Paul Dersey
46b0d547a3
Move sed build to after tar and gzip
2021-03-15 17:18:51 -04:00
Paul Dersey
4ae5115d89
Remove sed submodule and update scripts to download sed tarball
2021-03-15 17:18:49 -04:00
Paul Dersey
f2651ed9d6
tar: remove build dependency on sed
2021-03-15 17:15:03 -04:00
Paul Dersey
83cbe6731c
gzip: remove build dependency on sed
2021-03-15 17:14:58 -04:00
Andrius Štikonas
7581244583
binutils-2.14: rebuild first half of intl/aclocal.m4.
...
Fixes : #65
2021-03-14 23:54:34 +00:00
Andrius Štikonas
281d5ed124
Add PS1 to interactive bash.
2021-03-14 23:27:51 +00:00
Andrius Štikonas
fcc3a2ee74
Regenerate more autotools files in binutils 2.14.
2021-03-14 20:32:45 +00:00
Andrius Štikonas
69228987f5
Also bootstrap aclocal-1.4.
2021-03-14 20:32:45 +00:00
Andrius Štikonas
76d4e4ce94
Add automake 1.5.
2021-03-14 20:32:45 +00:00
Andrius Štikonas
0d14e34172
Launch interactive bash at the end of bootstrap.
2021-03-14 10:01:41 +00:00
Andrius Štikonas
fe26bc4c8c
Do not use pre-generated getdate.c
2021-03-13 21:31:27 +00:00
Andrius Štikonas
0b85b35da6
Rebuild libtool.
2021-03-13 00:01:30 +00:00
Andrius Štikonas
4463eedc03
Rebuild libtool files in binutils.
...
Fixes #58
2021-03-13 00:01:30 +00:00
Andrius Štikonas
2927547595
Add libtool 1.4.
2021-03-13 00:01:30 +00:00
Andrius Štikonas
3518f7cec0
Buil sed 4.0.9 with musl.
2021-03-13 00:01:30 +00:00
Andrius Štikonas
07dcb910b9
Fix occasional autoconf build failures.
2021-03-11 17:34:42 +00:00
Andrius Štikonas
55e2af0b22
Add dirname and env.
2021-03-10 18:53:18 +00:00
Andrius Štikonas
f67ec28ed8
Perl needs fcntl to be able to run autoconf.
2021-03-09 22:58:40 +00:00
Andrius Štikonas
3969b281d6
Build perl with some modules.
2021-03-07 22:12:19 +00:00
Andrius Štikonas
8548c128b4
Simplify bash AR rule.
2021-03-06 00:07:02 +00:00
Paul Dersey
cd0019e239
After building bash, call exec bash for new run2.sh script
2021-03-05 16:57:20 -05:00
Paul Dersey
c0fedeba61
bash-3.2.57: Build new package to replace bash 2.05b
...
Resulting build now works interactively
2021-03-05 09:11:59 -05:00
Andrius Štikonas
7a4ca8e634
Rebuild tcc against new musl.
2021-03-03 20:36:12 +00:00
Andrius Štikonas
f3cea25b87
Rebuild musl with fewer patches.
2021-03-03 20:36:12 +00:00
Andrius Štikonas
ed0f613621
Add a patch to produce deterministic binutils archives.
2021-03-02 23:28:09 +00:00
Andrius Štikonas
ecb6e4868a
Be a bit more verbose when applying patches.
2021-03-02 22:02:07 +00:00
Andrius Štikonas
329f5ac73e
Regenerate bfd header files.
2021-03-01 23:32:04 +00:00
Andrius Štikonas
1412fb99ec
Remove flex generated files from binutils.
2021-02-28 22:32:37 +00:00
Andrius Štikonas
0be033fada
Do remove empty checksum files. GNU sha256sum does not accept them.
2021-02-28 22:07:55 +00:00
Andrius Štikonas
a27e7b99a7
Build sha256sum from coreutils 6.3.
2021-02-28 20:53:20 +00:00
Andrius Štikonas
cb78359878
Fix libdir location.
2021-02-28 12:52:50 +00:00
Andrius Štikonas
f70815aef4
Add binutils checksums
2021-02-28 12:52:33 +00:00
Andrius Štikonas
9122b5e2e0
Add description of binutils.
2021-02-28 12:52:19 +00:00
Andrius Štikonas
cf9d0d1f3c
Regenerate binutils bison files, autoconf and automake files.
2021-02-28 01:15:20 +00:00
Paul Dersey
21096f6ff2
start binutils
2021-02-28 01:08:00 +00:00
Andrius Štikonas
67cdd9124c
Autoconf 2.12.
2021-02-27 23:51:06 +00:00
Andrius Štikonas
607991542d
Add autoconf 2.13.
2021-02-27 23:51:06 +00:00
Andrius Štikonas
5be7064d5f
Rebuild autoconf 2.52.
2021-02-27 23:38:21 +00:00
Andrius Štikonas
b15a829675
Add automake-1.4-p6.
2021-02-27 23:38:21 +00:00
Andrius Štikonas
c88e4c1ab7
Install autoconf 2.52.
2021-02-27 23:35:33 +00:00
Andrius Štikonas
d7794f8f15
Create device nodes.
2021-02-27 21:06:29 +00:00
fosslinux
9f92dd2fb1
Merge pull request #51 from fosslinux/part-numbering
...
Change the part numbering system
2021-02-28 08:05:51 +11:00
fosslinux
8eec63e1b7
Change the part numbering system + Move to .rst
...
Parts have been split out into seperate file from README. Convert
README to .rst; remove part numbers from scripts.
2021-02-28 08:04:28 +11:00
Andrius Štikonas
2594242817
Install bzip2 symlinks.
2021-02-26 19:41:40 +00:00
fosslinux
40bdcee0ac
Merge pull request #50 from fosslinux/remove-blynn
...
Remove blynn-compiler
2021-02-26 10:13:48 +11:00
fosslinux
116cc15086
Remove blynn-compiler
...
(at least for now)
Reasons:
1. It takes quite a long time to build.
2. It does not currently provide any value to the bootstrap.
2021-02-26 08:53:14 +11:00
Andrius Štikonas
5626e0e976
Add Perl 5.6.2.
2021-02-25 17:41:09 +00:00
Paul Dersey
a6bc93b059
helpers.sh: fix default_src_unpack for tar 1.12
...
tar 1.12 does not support j for bzip2 or J for xz.
Instead use --use-compress-program
2021-02-24 16:02:53 -05:00
Paul Dersey
a3ec56297f
Rebuild bzip2 after building tcc and musl
...
The tcc-mes build of bzip2 was unable to open files from stdin.
2021-02-24 16:02:47 -05:00
Andrius Štikonas
9b314af3f0
Resync part numbers between README, after.kaem.run and run.sh.
2021-02-21 16:53:19 +00:00
Andrius Štikonas
d5c8698964
Reduce number of places where perl version is hardcoded.
2021-02-21 16:53:19 +00:00
Andrius Štikonas
4276dfee1d
Perl 5.005_03
2021-02-21 15:45:15 +00:00
Andrius Štikonas
7e9054570e
Add cp to coreutils checksums and use cp to unpack tcc sources.
2021-02-21 12:24:05 +00:00
Paul Dersey
7803089a6b
Build and install cp from coreutils to replace our minimal cp
...
Also update tcc-musl.sh to take advantage that cp can now copy
recursively
2021-02-21 12:24:05 +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
87b303f455
Add perl checksums
...
And the gawk change, fix checksums for that as well
For commit e2796e8
.
2021-02-20 10:52:54 +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
fosslinux
8724c94d20
Implement sha256summing for all remaining kaem scripts
2021-02-20 10:52:54 +11:00
fosslinux
d6780c9947
Recheck all of the fletcher16 using sha-2
...
Ensure validity at a higher bit depth
2021-02-20 10:52:54 +11:00
fosslinux
92cb05442e
Add sha-2 (commit 61155d)
...
Unfortunatley the sha2 project does not have versioned releases so we
use the latest commit.
We have also manually added a frontend to sha-2 to allow us to invoke
it from the command line, thanks bittrof for the help!
2021-02-20 10:52:54 +11:00
fosslinux
372e08e4f9
Implement fletcher16 checksumming up to path
...
Uses fletcher16 from previous commits.
Next we will use sha-2 to do checksumming.
2021-02-20 10:52:54 +11:00
fosslinux
71505bc8b9
Add fletcher16 impl to mescc-tools-extra
2021-02-20 10:52:54 +11:00
Andrius Štikonas
d4ddf4b79b
Build Perl 5.4.50.
2021-02-18 00:04:20 +00:00
Andrius Štikonas
621b099a57
Switch to perl tarballs generated from archiving git tags.
2021-02-17 20:23:50 +00:00
Andrius Štikonas
e9455c8463
Install perl 5.003 library files.
2021-02-17 00:20:51 +00:00
Andrius Štikonas
7bace0cc99
Build perl 5.003.
2021-02-16 23:49:02 +00:00
Andrius Štikonas
221b1d07ad
Add perl 5.000.
2021-02-16 20:25:25 +00:00
Andrius Štikonas
aa11513fdd
gawk: enable bit operations.
2021-02-16 17:48:00 +00:00
fosslinux
574cba3bcb
Merge pull request #41 from pder/stdio-flush-on-exit
...
Flush stdio buffers on exit
2021-02-16 16:33:10 +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
6dadfad9b8
Fix segfault in gawk due to some missing Makefile preprocessor defines
2021-02-15 10:03:21 -05:00
fosslinux
ae680b79e5
Merge branch 'master' into coreutils2
2021-02-12 17:47:43 +11:00
fosslinux
b7400923b6
Merge pull request #37 from stikonas/gawk
...
Add gawk-3.0.4.
2021-02-12 17:42:13 +11: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
Paul Dersey
d5a9f4c9ea
Rebuild coreutils-5.0 with tcc+musl and more utilities
...
Add comm, expr, date, dd, sort, uname, uniq
2021-02-11 18:35:28 -05:00
Andrius Štikonas
abcc904d9d
Add gawk-3.0.4.
2021-02-11 21:36:59 +00:00
Andrius Štikonas
1a93f19e9c
Add bison 3.4.1.
2021-02-10 22:47:20 +00:00
fosslinux
72b1b30c9b
Comply with REUSE 3.0
2021-02-08 20:00:10 +11:00
Andrius Štikonas
c9a390d67c
Update m4 to 1.4.7
2021-02-07 17:33:09 +00:00
Andrius Štikonas
e20ce6fdca
Move diffutils after musl.
2021-02-06 00:16:32 +00:00
Andrius Štikonas
ec06f1363f
Remove yacc, we won't need it anymore.
2021-02-05 22:57:25 +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
fosslinux
e9c8313458
Merge pull request #26 from stikonas/musl
...
Musl
2021-02-04 21:40:08 +11:00
Andrius Štikonas
e0fba919a2
Build tcc-musl.
2021-02-04 08:35:50 +00:00
fosslinux
f7ea086630
Add patch headers
...
Also cleanup the flex patch a bit
2021-02-04 16:43:20 +11:00
Andrius Štikonas
9ddc0bcee6
Add musl 1.1.24.
2021-02-03 22:09:30 +00:00
Andrius Štikonas
9d5519ad79
Unset overridden functions at the end of build function.
2021-02-03 22:09:30 +00:00
Andrius Štikonas
066d32933d
Fix src_unpack not being sourced.
2021-02-03 21:30:12 +00:00
Paul Dersey
b929dc84b4
Fix mes-libc crt1 to allow commands with greater than 255 arguments to run
...
Also reverse order of tcc-patched and mes-libc-patched stages.
2021-02-03 13:40:56 -05:00
fosslinux
9961c4b75f
Remove sources/ directory
2021-01-31 21:12:53 +11:00
Andrius Štikonas
d6269e2563
Build sleep and yes from coreutils.
2021-01-31 00:34:19 +00:00
Andrius Štikonas
2b8394e1f5
Build flex 2.5.14.
2021-01-30 19:47:48 +00:00