Commit Graph

4115 Commits

Author SHA1 Message Date
Alexey Neyman
a08a4c4b88 Allow for per-tool templates when creating overrides
... will be used to implement a smarter install wrapper.

While there, correct the spelling of "OVERIDE".

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-30 12:10:47 -08:00
Alexey Neyman
a78dc93b64 Merge pull request #568 from stilor/bump-autoconf-req-2.65
Bump autoconf requirement to 2.65

Trivial, merged immediately.
2017-01-29 21:40:43 -08:00
Alexey Neyman
30c91131a1 Bump autoconf requirement to 2.65
Required by automake 1.15.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-29 21:39:44 -08:00
Alexey Neyman
c6d8554332 Merge pull request #565 from stilor/enable-mingw-tools-fortran
Enable Fortran & tools in x86_64-w64-mingw
2017-01-29 21:20:49 -08:00
Alexey Neyman
d2bf553656 Enable Fortran & tools in x86_64-w64-mingw
... both were recently a source of bug that didn't manifest on *-linux-*

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-28 13:35:55 -08:00
Alexey Neyman
5b084c005b Merge pull request #564 from stilor/comptools-default-to-y-if-missing
Rework configure logic wrt GNU autotools
2017-01-28 13:34:14 -08:00
Alexey Neyman
d0682f9ad5 Merge pull request #563 from stilor/musl-mips-refix
Add a workaround for musl in build scripts
2017-01-28 13:33:43 -08:00
Alexey Neyman
7a94c81e5b Rework configure logic wrt GNU autotools
Rather than requiring them of a certain version, detect if they are present
(and have sufficient version) and select an appropriate companion tool
otherwise. The reason is that, for example, most recent gettext requires
automake 1.15, but the newest available CentOS has 1.13. Hence, the option
to "upgrade your system" does not apply, and the warning comment above
the companion tools is rather scary.

With this approach, it will work out of the box - either by using the host's
tools, or by building them as needed. Note that the user can still change
the setting in the config.

While there, propagate the new version checking macro to awk/bash/host binutils,
and switch from --with-foo=xxx to officially blessed FOO=xxx: the latter
does not require checking for bogus values (i.e., --with-foo, --without-foo)
and AC_PROG_* macros recognize the corresponding settings without further
modifications. For now, I kept --with-foo=, if only to complain and steer
people to the new way. To be cleaned up after a release.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-27 20:40:47 -08:00
Alexey Neyman
d7b043e360 Create <sgidefs.h> if MUSL doesn't create one
Document the status quo and work around for mips-musl.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 13:50:18 -08:00
Alexey Neyman
675f7bfa4e Remove previous patch to strace
GDB maintainers said, <sgidefs.h> must be provided by C library.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 13:37:52 -08:00
Alexey Neyman
0636034688 Merge pull request #562 from stilor/binutils-patch
Add binutils 2.27 patch
2017-01-26 13:34:28 -08:00
Alexey Neyman
a36a5893b2 Merge pull request #551 from stilor/obsolete-versions
Obsolete versions
2017-01-26 13:34:19 -08:00
Alexey Neyman
8f267b77ae Fix glibc build with GCC5/6.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
3fc7c1ef69 Fix handling of ltrace 0.5.3 peculiarity.
Also, remove 0.5.2 selection - no longer available for download.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
42c9f031dd Add m4 1.4.18
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
d0569d322b Add gettext 0.19.8.1
Patches:
120 - updated to apply cleanly
140,150 - removed, now upstream

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
bec4647426 Support gettext in addToolVersion.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
f4b8e29e63 Add Linux 4.9.5.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
23aef79883 Declare older versions obsolete.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
4ea47dddfd Add binutils 2.27 patch
https://sourceware.org/bugzilla/show_bug.cgi?id=20531

Reported-by: Floessie
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:35 -08:00
Alexey Neyman
dedee84705 Merge pull request #556 from stilor/glibc-static-nss
Fix glibc 2.23/2.24 with --enable-static-nss.
2017-01-26 11:28:09 -08:00
Alexey Neyman
e348d78711 Merge pull request #560 from stilor/update-config-sub-guess
Update config.sub/config.guess
2017-01-26 11:27:43 -08:00
Alexey Neyman
ee44d6c458 Fix glibc 2.23/2.24 with --enable-static-nss.
2.22 and older have more warnings that break the build.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 11:17:01 -08:00
Alexey Neyman
59f76719e1 Update config.sub/config.guess
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-25 23:48:05 -08:00
Alexey Neyman
462c3c0d1f Merge pull request #558 from stilor/uclibc-ng-more
Add patch for init_module/delete_module
2017-01-25 22:39:42 -08:00
Alexey Neyman
e1132fc829 Merge pull request #557 from stilor/config-shell
Run all configure scripts using ${CONFIG_SHELL}
2017-01-25 22:39:21 -08:00
Alexey Neyman
8168cab172 Merge pull request #559 from stilor/fix-log-save-restore
Fix log saving/restoring
2017-01-25 17:32:21 -08:00
Alexey Neyman
eb3ae48278 Fix log saving/restoring
after the CT_Log{Enable,Disable} changes.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-25 15:45:37 -08:00
Alexey Neyman
7186e39f32 Run all configure scripts using ${CONFIG_SHELL}
... as its help message says in menuconfig.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-25 00:06:28 -08:00
Alexey Neyman
74741a0dc3 Add patch for init_module/delete_module
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-24 14:58:11 -08:00
Alexey Neyman
b5d0e396d9 Merge pull request #547 from stilor/separate-canadian-crosses-instdir
Simplify the pre-build actions a bit
2017-01-24 14:54:42 -08:00
Alexey Neyman
027a75cbf0 Merge pull request #549 from stilor/backend-obsolete
Declare BACKEND obsolete.
2017-01-24 14:52:23 -08:00
Alexey Neyman
9061763a73 Merge pull request #554 from stilor/comptools-loglevel
Fix loglevel for steps in companion tools
2017-01-24 14:26:51 -08:00
Alexey Neyman
48bb11145d Merge pull request #553 from stilor/check-git
Check for git presence
2017-01-24 14:26:33 -08:00
Alexey Neyman
a5c48a5d0a Fix loglevel for steps in companion tools
(was EXTRA, should be INFO to be consistent with the rest).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-23 18:48:22 -08:00
Alexey Neyman
8dff7012be Check for git presence
... and make the optiont that fetch from Git repositories depend on
the git discovery.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-23 18:25:15 -08:00
Alexey Neyman
65e037b654 Merge pull request #552 from stilor/uclibc-ng-for-buildroot
Restore uClibc-ng usability in buildroot
2017-01-23 16:12:18 -08:00
Alexey Neyman
aa24e9d913 Add selection for RPC
So that uClibc config can be matched to Buildroot's expectations via
the menu, without the need for a saved config.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-23 14:37:18 -08:00
Alexey Neyman
30dc7e94c9 Add UCLIBC_HAS_LFS as always-enabled.
Buildroot checks for this feature.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-23 14:26:19 -08:00
Alexey Neyman
76099962bf Merge pull request #462 from lihanglin/master
mingw: compile the mingw-w64 companion tools as well
2017-01-22 09:14:47 -08:00
Alexey Neyman
83dfa97805 Merge pull request #550 from stilor/typo-libc-in
Typos in linuxthreads/posix config values
2017-01-22 09:13:41 -08:00
Li-Hang Lin
1f6c6d3f32 mingw: compile the mingw-w64 companion tools as well
There are some useful tools such as widl, gendef, genidl ... etc.
provided by mingw-w64 and do not waste the developers' works.

Signed-off-by: Li-Hang Lin <lihang.lin@gmail.com>
2017-01-22 18:09:49 +08:00
Alexey Neyman
f4a611b9cb Typos in linuxthreads/posix config values.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-21 11:49:52 -08:00
Alexey Neyman
8c2e76ccb8 Merge pull request #548 from stilor/strace-mips-musl
Patch from OpenEmbedded to fix strace build
2017-01-20 14:14:45 -08:00
Alexey Neyman
39db97a30f Patch from OpenEmbedded to fix strace build
for mips-*-linux-musl. Upstream report:
https://sourceforge.net/p/strace/mailman/message/35615169/

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-19 23:27:46 -08:00
Alexey Neyman
83d78d33d3 Declare BACKEND obsolete.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-19 23:27:13 -08:00
Alexey Neyman
832bee87c0 Make build-all rely on kconfig options.
For that, make CT_BUILD_TOP_DIR a non-settable config option (so that it is
recursively expanded with CT_HOST/CT_TARGET). Use a common prefix, with
same default as for regular sample build.

Use showConfig.sh to determine host toolchain path (for canadian crosses)
and build directory to be removed.

Remove LIBC_SYSROOT_ARG (unused).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-19 18:08:29 -08:00
Alexey Neyman
7fad393635 Run samples through 'ct-ng update-samples'.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-19 18:08:29 -08:00
Alexey Neyman
3e4d4870c9 Simplify config saving.
Instead of hardcoding defaults in saveSample.sh.in, have the same
defaults in config. Then we can just remove them when saving the
config.
2017-01-19 18:08:29 -08:00
Alexey Neyman
955f5bc0b8 Get rid of .config.2.
Now handled by CT_LoadConfig.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-19 18:08:29 -08:00