Commit Graph

4842 Commits

Author SHA1 Message Date
Alexey Neyman
3f16a8e269 Restore a missing GDB option
(whether GDB has --disable-build-with-cxx) and use it.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-06 15:20:50 -07:00
Alexey Neyman
ca3701bd3d
Merge pull request #958 from stilor/gcc8
Add GCC 8.1
2018-05-06 09:22:50 -07:00
Alexey Neyman
906cfdac7c Add GCC 8.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-05 22:14:43 -07:00
Alexey Neyman
9bd57827be
Merge pull request #956 from stilor/mingw-multilib
Preserve each variant of libwinpthread.dll
2018-05-04 18:51:40 -07:00
Alexey Neyman
e1610ee7b6 Preserve each variant of libwinpthread.dll
... in the corresponding /lib directory. Mingw-w64 installs it to /bin,
so multiple variants in a multilib configuration override each other.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-03 22:28:10 -07:00
Alexey Neyman
d7eed4ee52
Merge pull request #954 from stilor/archlinux-add-unzip
Add unzip to archlinux image
2018-04-29 23:58:26 -07:00
Alexey Neyman
bd60424e09 Add the ability to run some but not all samples in docker
Also, build containers with --no-cache: distributions like ArchLinux
retire their packages very quickly, need to always use up-to-date
package databases.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 23:03:26 -07:00
Alexey Neyman
b04bd52270 Add unzip to ArchLinux docker image
Needed by android sample.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 23:02:27 -07:00
Alexey Neyman
a3cc62a52c Restore the ability to build multiple configurations
... in the shared .build directory.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 23:01:43 -07:00
Alexey Neyman
5c24106d3b
Merge pull request #953 from stilor/docker-testing2
Docker configuration for Gentoo + a bunch of fixes
2018-04-29 15:04:23 -07:00
Alexey Neyman
74979fb19b Add checking for *sum and unzip
Also improve logging (add an ability to log commands/files/environment variables
to config.log)

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 12:06:54 -07:00
Alexey Neyman
0f34b0ebf0 Fix strace 4.21+ on aarch64
... which now defaults to --enable-mpers=yes, which attempts to
invoke aarch64-*-gcc with -m32 and fails.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 12:06:54 -07:00
Alexey Neyman
270eb003dc Update help
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 12:06:54 -07:00
Alexey Neyman
f6d8c2ffbd Add docker testing for Gentoo
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 12:06:54 -07:00
Alexey Neyman
51f0e7c649
Merge pull request #952 from dlech/patch-2
debian: include curl and wget in Build-Depends
2018-04-29 11:39:13 -07:00
David Lechner
7372e7449c debian: add curl and wget dependencies
curl and wget are needed as a build dependency so that the auto configuration will see them and set the relevant configuration options. Otherwise, we end up with a ct-ng that can't download anything.

However, curl and wget are not strict runtime dependencies, and we don't need both, so list them as Recommends: curl | wget for the binary package.
2018-04-29 13:30:42 -05:00
Alexey Neyman
fa041df6fe
Merge pull request #949 from antmak/build_centos7
Add compatibility with automake < 1.14
2018-04-29 10:59:35 -07:00
Alexey Neyman
d40964df8c
Merge pull request #951 from dlech/patch-1
debian: no need to override dh_auto_install
2018-04-29 09:53:44 -07:00
David Lechner
0621680a5c
debian: no need to override dh_auto_install
Since fda857aeb8 and d6f5c308f9, there is no longer any need to override dh_auto_install
2018-04-28 22:08:08 -05:00
Anton Maklakov
7efb493d37 Add compatibility with automake < 1.14
As we support CentOS, for example, we have a problem there

    automake: warnings are treated as errors
    kconfig/Makefile.am:26: warning: compiling 'lxdialog/checklist.c' in subdir requires 'AM_PROG_CC_C_O' in
    'configure.ac'
    autoreconf: automake failed with exit status: 1
2018-04-27 15:26:06 +08:00
Alexey Neyman
90d14443d1
Merge pull request #947 from stilor/docker-testing
Docker-based  testing for Linux distros
2018-04-17 22:47:39 -07:00
Alexey Neyman
345dc4161d Testing works for archlinux docker
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15 20:24:39 -07:00
Alexey Neyman
0d7822e796 Require libtool be present
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15 14:29:37 -07:00
Alexey Neyman
715d6376bf First stab at docker-based test framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15 14:29:09 -07:00
Alexey Neyman
5472517b31
Merge pull request #943 from xavloose/master
modified ax_with_curses_extra.m4 to have better regocnition of <panel.h>
2018-04-14 08:09:27 -07:00
Xavier Loose
b341377995 modified ax_with_curses_extra.m4 to have better regocnition of <panel.h> 2018-04-14 03:28:32 -05:00
Alexey Neyman
c996bd0f1f
Merge pull request #941 from stilor/issue-940
Supply explicit --tag CC
2018-04-13 22:38:34 -07:00
Alexey Neyman
c50c3a923e Supply explicit --tag CC
... to libtool, to allow CC overrides at make stage.

Fixes #940.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-13 21:36:59 -07:00
Alexey Neyman
bb9a11ae4f
Merge pull request #939 from stilor/updates
Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uC…
2018-04-13 12:57:13 -07:00
Alexey Neyman
3f1532713e Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ng
Also, fix manage-packages.sh after autotoolization.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-12 08:17:05 -07:00
Alexey Neyman
1b18fd6bdd
Merge pull request #924 from tofutim/feature/fixchecksamps
fix deprecated diff option
2018-04-10 21:29:29 -07:00
Alexey Neyman
ffc638142d
Merge pull request #937 from stilor/build-autotoolize
Autotoolize crosstool-ng
2018-04-10 21:27:07 -07:00
Alexey Neyman
c4608f07f7 Only attempt to chmod bash completion script
... if it has been installed.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-08 20:42:07 -07:00
Alexey Neyman
4e7d0906c1 Support out-of-tree local builds
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 14:39:56 -07:00
Alexey Neyman
7eb903667b Lintian warnings cleanup
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
fda857aeb8 Debian: no longer need to install completion separately
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
20e8402779 Compress the manpage
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
b670aaf1ad Install bash completion into new location
/share/bash-completion/completions rather than /etc/bash_completion.d

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
970811a1c5 Conditionally install bash completion
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
bb6c97551f User manual installation
... when running from a release tarball.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
56d785bd00 Docs installation
- Move downloading the pages from a website to a separate script, invoke
  as dist hook
- Install manpage

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
d6f5c308f9 No need for overriding MAKELEVEL anymore
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
355f6f03fb Cannot ignore 'make install' with automake
Automake does not allow us to place the hooks before its generated actions,
and does not allow us to check MAKECMDGOALS, and does not support a mechanism
for disabling make install (such as noinst_SUBDIRS, requested a few times
on automake mailing list). The only way I could preserve the current behavior
is to have a GNUmakefile wrapper that will convert MAKECMDGOAL into a variable
unknown to automake - which seems too convoluted a solution for the problem
being solved.

Hence the approach is to not override anything for --enable-local. It is now
fully handled by selecting different values for CT_xxx_DIR in ct-ng.in; but
at the build-system level, all the variables remain the same. We just don't
support 'make install' in that case anymore; but the ct-ng in the working
copy can be used after a regular 'make' (or 'make all').

Help message for --enable-local updated accordingly.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
f45e29c5ca Restore --enable-local use
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
bc542408ca config.sub/config.guess must either be executable
or be run through shell

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
5159cd7bc0 Adjust the paths to match new stuff location
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
5b95b81ea9 Kill gperf vestiges
Generate paths.sh by configure, do away with paths.mk.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
0dc8565c4f Merge steps.mk into ct-ng
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
35b830b552 Ignore/modify the list of installed files to match
what was installed before.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
9dc94f3662 Install "pure data" directories
... and update .gitignore. Survives 'make distcheck'.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00