Commit Graph

4893 Commits

Author SHA1 Message Date
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
Alexey Neyman
dc01f61898 Add libtool to CentOS6 docker configuration
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-27 14:51:15 -07:00
Alexey Neyman
e738751e83 Accept any libtool version
ct-ng will build its own version if a recent enough version is not
detected.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-27 14:19:27 -07:00
Alexey Neyman
d2bf59cb7d
Merge pull request #1072 from stilor/failure-when-saving
Detect errors in CT_SaveLocal
2018-10-27 14:04:14 -07:00
Alexey Neyman
21af769802 Detect errors in CT_SaveLocal
The function is called from a conditional and therefore, the CT_OnError
handler is not invoked on failures. Need to return an error and check
for the error return in the caller.

Also, while here, fix the issue that was causing the failure -
move can fail if it crosses a filesystem, so fall back to 'cp+rm' in
that case.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-27 13:56:22 -07:00
Alexey Neyman
e12e90c798
Merge pull request #1069 from austin-beer/master
Prevent Bash from searching $PATH when sourcing the .config file
2018-10-25 21:15:54 -07:00
Austin Beer
11e65e75f9 Add comment about preventing Bash from searching $PATH 2018-10-25 15:07:55 -06:00
Alexey Neyman
4a2b3830d9
Merge pull request #1067 from stilor/gcc8-ppcspe
Generate correct tuple for PowerPC with SPE ABI
2018-10-25 09:11:28 -07:00
Austin Beer
93d86b7e5c Prevent Bash from searching $PATH when sourcing the .config file 2018-10-24 18:56:12 -06:00
Alexey Neyman
091b7e4c87 Generate correct tuple for PowerPC with SPE ABI
Fixes #1018.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-23 23:22:01 -07:00
Alexey Neyman
ee829c25eb
Merge pull request #1065 from stilor/glibc-version
Supply "very old" and "very new" glibc versions
2018-10-22 22:37:50 -07:00
Alexey Neyman
6b53ad77c2
Merge pull request #1066 from stilor/centos7-docker
Centos7 docker
2018-10-22 22:37:39 -07:00