Commit Graph

4904 Commits

Author SHA1 Message Date
Alexey Neyman
40d5bf6440 Add moxiebox as a choice for libc
This required some rework of the libc selection, as moxiebox is a layer on
top of another libc - newlib.

Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will
not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox
needs from libcrypto is SHA256, and it already includes a standalone implementation
of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use
that implementation for the host binary, too.

Also, automate collecting/printing the list of all packages in a given category
(e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given
category.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01 10:10:51 -08:00
Alexey Neyman
172308cb1b Add moxie architecture
and a moxie-unknown-elf target (which is what #1088 apparently wanted).

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-28 00:30:10 -08:00
Alexey Neyman
da76ae3ea3 Add DTC as a companion tool
(needed for cross-gdb targeting the moxie-* targets)

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-28 00:30:10 -08:00
Alexey Neyman
951afda508
Merge pull request #1101 from stilor/install-fixes
Install fixes
2018-11-28 00:11:51 -08:00
Alexey Neyman
3834a7b469 Add LICENSE symlink to release tarball.
Fixes #1091.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-27 22:38:46 -08:00
Alexey Neyman
ca7edf2fa3 Abbreviate to 7 characters when building out of git
Otherwise, release tarballs look weird with strings varying in length.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-27 15:39:53 -08:00
Alexey Neyman
15d1724bd1 Do not distribute paths.sh
Fixes #1100.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-27 15:38:00 -08:00
Alexey Neyman
71d85c9e16 Include testing/ into the release.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-26 23:50:47 -08:00
Alexey Neyman
5256e4768f
Merge pull request #1098 from stilor/master
Remove vestiges of Travis/Waffle
2018-11-23 22:50:28 -08:00
Alexey Neyman
9eb15242b4 Remove vestiges of Travis/Waffle
They are no longer used and cause more confusion among users than they
add benefits. If/when @bhundven finishes the integration with GitLab,
he'll add new scripts and status.

Fixes #999.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-23 22:20:43 -08:00
Alexey Neyman
26d5c3604d
Merge pull request #1096 from stilor/uclibc-31
Add uClibc-ng 1.0.31
2018-11-18 11:13:23 -08:00
Alexey Neyman
58dd139ca0 Add uClibc-ng 1.0.31
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-17 18:40:26 -08:00
Alexey Neyman
710c8e0d8e
Merge pull request #1094 from stilor/license-install-fixes
Fix installation of the license file
2018-11-12 12:47:08 -08:00
Alexey Neyman
35bec76b63 Fix installation of the license file
... for ct-ng configured without --enable-local. Also, install
licenses in subdirectories of the components.

Also, ct-ng configured with --enable-local removed the scripts directory
upon `ct-ng distclean`.

Also, misspelled CT_WGET/CT_CURL variables prevented use of
`ct-ng updatetools`.

Fixes #1091.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-12 01:19:04 -08:00
Alexey Neyman
fad46ac9d1
Merge pull request #1093 from stilor/fix-distclean
Fix distclean
2018-11-10 15:03:22 -08:00
Alexey Neyman
2a36181f70 Fix distclean
After d4aa8d9, make distclean removes scripts in ct-ng configured
with --enable-local.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-10 14:57:17 -08:00
Alexey Neyman
411589ead0
Merge pull request #1092 from stilor/check-libtool
Still need to check for libtool presence
2018-11-09 16:31:29 -08:00
Alexey Neyman
2a749b6923 Still need to check for libtool presence
... as kconfig depends on it.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-09 16:30:44 -08:00
Alexey Neyman
616870f619
Merge pull request #1090 from stilor/gcc6.5
updates
2018-11-08 11:03:43 -08:00
Alexey Neyman
56cad6c9de
Merge pull request #1086 from roolebo/make-aliases
Provide more tool overrides
2018-11-08 11:02:57 -08:00
Alexey Neyman
4294786178 Update Linux versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-08 00:24:52 -08:00
Alexey Neyman
48fa32776e Import gcc 6.5.0
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-07 23:46:35 -08:00
Alexey Neyman
eabb3ec189
Merge pull request #1089 from stilor/option-for-collecting-licenses
Make license collection optional, on by default
2018-11-07 16:20:56 -08:00
Alexey Neyman
8fe21d70a2 Make license collection optional, on by default
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-07 12:59:29 -08:00
Alexey Neyman
4270b8e62e
Merge pull request #1084 from antmak/collect_licences
Collect licenses for the distribution
2018-11-07 11:26:45 -08:00
Roman Bolshakov
0229bc415e Add an override for bison
glibc build requires GNU bison >= 2.7 but Apple ships bison 2.3. If we
provide an override for GNU bison it should be possible to use a version
from homebrew.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
2018-11-07 20:42:16 +03:00
Roman Bolshakov
7346d635b3 Provide more overrides for make
glibc's configure script looks for make in the following order:
  gnumake gmake make

but crosstool-ng has an override only for make. So glibc picks up
gnumake from system and fails to proceed with the build because system
make is very old.

It'd more reliable if we also override gnumake and gmake.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
2018-11-07 20:42:04 +03:00
Alexey Neyman
94e7967261
Merge pull request #1087 from stilor/pr-985
Fix detection of missing overlays
2018-11-06 23:49:37 -08:00
Alexey Neyman
4acea9cc95 Fix detection of missing overlays
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-06 23:48:51 -08:00
Alexey Neyman
c00822f468
Merge pull request #1085 from antmak/directory_overlay
Regular directory for overlaying
2018-11-06 23:01:44 -08:00
Anton Maklakov
b36e89d294 Add an ability to use a regular directory for overlaying. If it doesn't exist, the tarball is still used 2018-11-05 15:49:51 +08:00
Anton Maklakov
aec70d5310 Collect licenses for the distribution 2018-11-05 15:39:47 +08:00
Alexey Neyman
45a88f046d
Merge pull request #1083 from antmak/dep_on_which
Add a "which" dependency into the configure script
2018-11-04 23:35:22 -08:00
Anton Maklakov
77b8e827b7 Add a "which" dependency into the configure script 2018-11-05 15:20:15 +08:00
Alexey Neyman
2808fdb6a3
Merge pull request #985 from antmak/platform_headers
Use the platform headers in the pass-2 and canadian gcc stages
2018-11-03 15:38:51 -07:00
Alexey Neyman
be1ae32a98
Merge pull request #1082 from stilor/run-from
Run "local" ct-ng from any directory
2018-11-03 14:31:58 -07:00
Alexey Neyman
d4aa8d954d Fix CT_LIBEXEC_DIR and CT_DOC_DIR if "local" ct-ng is run from other dir
Also, no need to use $(shell) if make has the same builtin.

Fixes #933.
Closes #1081.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-03 14:20:45 -07:00
Daniel Black
a98584c897 Allow ct-ng to be run from non-repo directories
closes #993

Signed-off-by: Daniel Black <daniel@linux.ibm.com>
2018-11-03 14:13:08 -07:00
Alexey Neyman
673046cd2b
Merge pull request #1080 from stilor/check-dot-config
Check if .config is a regular file before clobbering it
2018-11-01 23:23:45 -07:00
Alexey Neyman
d72f065e71 Check if .config is a regular file before clobbering it
Fixes #1014.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-01 23:19:12 -07:00
Alexey Neyman
5958d54350
Merge pull request #1079 from stilor/elf2flt-patch-location
Fix the location for elf2flt patches
2018-11-01 16:44:40 -07:00
Alexey Neyman
cc40350616
Merge pull request #1078 from stilor/force-bfd-linker
Add an ability to modify an exported variable
2018-11-01 16:39:42 -07:00
Alexey Neyman
167b848777 Fix the location for elf2flt patches
... after the git version numbering was adjusted.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-01 16:36:42 -07:00
Alexey Neyman
f232d6d09a Add an ability to modify an exported variable
... and use that ability to permanently set CTNG_LD_IS in case gold is default linker
and we're building glibc.

Fixes #988. This was a long-standing breakage in crosstool-NG (at least since it began
to run each step in a sub-shell).

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-01 15:50:12 -07:00
Alexey Neyman
7c4c6892b9
Merge pull request #1044 from abrodkin/topic-arc-linux-4.8
Disallow linux versions before 4.8 for ARC
2018-10-29 23:31:44 -07:00
Alexey Neyman
3b1e2f6d86
Merge pull request #1074 from stilor/docker-fix-ubuntu
Add g++ for Ubuntu dockers
2018-10-28 20:00:47 -07:00
Alexey Neyman
2748c96f33 Add g++ for Ubuntu dockers
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 19:58:22 -07:00
Alexey Neyman
669f718ab0
Merge pull request #1073 from stilor/more-dockers
More dockers
2018-10-28 11:32:43 -07:00
Alexey Neyman
6eb2a236a9 More docker files
... for reference OSes

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 11:28:13 -07:00
Alexey Neyman
9d43246664 Change the layout a bit
... to a more natural installation paths, and also include ct-ng into
$PATH in the containers.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28 10:44:22 -07:00