fa4eff263b
Cleanup: implement defaults for package functions
...
This commit adds an "emptypackage" template that implements defaults
for all package functions and is included before every package.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-16 15:16:58 +02:00
1a697b336f
Fix sysroot directory
...
Use a seperate sysroot directory (stored in variable SYSROOT)
instead of installing everything into the toolchain directory.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-07 03:28:21 +02:00
5358679028
Bump binutils version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-03-13 11:58:39 +01:00
29a79dcb3c
Fix wrong usage of check_update_simple
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-07-07 16:17:16 +02:00
94ccf6d7e2
cleanup: add common implementation of check_update
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-30 10:40:54 +01:00
5fb95add30
Bump binutils version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:35 +01:00
01256c6ab9
Bump pkg-utils version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 15:26:29 +01:00
8fa44569d8
cleanup: remove deploy directory argument from package command
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 10:03:12 +01:00
8a2d91a181
Make sure binutils ldscripts and binaries are packaged for toolchain
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
c8d01f966a
Use pkgtool to resolve and manage dependencies, add sub package support
...
Been working on this for too long, don't remember the specifics, will add
documentation.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
a1d055c8e0
Add dummy package descriptions for toolchain packages
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
David Oberhollenzer
f17e6f75b2
Add extra config flags for binutils
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-13 02:39:05 +01:00
David Oberhollenzer
45cc27ca40
Bump binutils version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
6ad8ed37f7
Cleanup binutils confgiure flags, add relro, PIC, deterministic ar
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
d6030cd898
Replace gcc libssp with built musl builtins
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-20 12:52:06 +02:00
David Oberhollenzer
8e5c6d3a2e
Make toolchain and user space hardening configurable
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-19 21:50:57 +02:00
David Oberhollenzer
2a1add41e7
Enable stack protection flags in GCC cross compiler
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-11 19:02:11 +02:00
David Oberhollenzer
e7a86f1f70
Downgrade binutils to 2.30
...
This is a workaround for an issue with binutils on statically linked x86
binaries. The tls section has some loading flag set wrong and is not mapped
into memory by the kernel. The musl startup code tries to parse the section
information and segfaults.
See: http://www.openwall.com/lists/musl/2018/07/18/5
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-08-16 17:39:12 +02:00
David Oberhollenzer
259005f7ed
Bump binutils version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-08-15 01:19:21 +02:00
David Oberhollenzer
04459a3847
Bump binutils version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-07-16 20:00:26 +02:00
David Oberhollenzer
e97e355b64
Explicitly specify library search path when building cross binutils
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-19 00:31:01 +02:00
David Oberhollenzer
b1bdce20a9
Add automatic update chacking script
...
Crunch project websites and try to find the latest version for each
package without having to do the work manually.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
fc278364e5
Cleanup package command arguments
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:16 +01:00
David Oberhollenzer
1636fc8aac
Merge management of regular and toolchain packages
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 23:47:54 +01:00