Commit Graph

4415 Commits

Author SHA1 Message Date
Alexey Neyman
9fdb93cce0 Make comp.libs use generated templates, too
This allows us to include the component-to-package relation in the
generated kconfig files and make use of that information in the
show-config.sh script.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-29 23:44:49 -08:00
Alexey Neyman
d759137c46 Align script names with the ct-ng commands
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Alexey Neyman
5495a3497b showConfig.sh no longer has anything substituted
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Alexey Neyman
f1cca2a7c2 Retire wiki-printer
It is not used anymore and is currently broken.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Alexey Neyman
63e91f4eba A few fixes for showSamples
- Use fork's name, not the master package name
- Allow to use a choice selector when printing a package
- Consider complibs always present (they are, gcc does require gmp/...)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19 21:50:28 -08:00
Sergey Korolev
5e0d62fac6 scripts/showSamples.sh: support custom package versions
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-19 21:50:28 -08:00
Sergey Korolev
146c6814c9 scripts/functions: add CT_GetPkgBuildVersion
This allows to get a configured custom version of a package.

Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-19 21:50:28 -08:00
Alexey Neyman
8c581c2504
Merge pull request #868 from frantony/riscv
add RISC-V architecture support
2017-11-19 21:44:22 -08:00
Antony Pavlov
cc342748ce add a bare metal RISC-V sample
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
2017-11-19 04:57:28 +03:00
Antony Pavlov
69c2ca97fb add RISC-V architecture support
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
2017-11-19 04:50:14 +03:00
Alexey Neyman
0b1595acf2
Merge pull request #863 from ksergeyv/master
showSamples.sh: update outdated variables
2017-11-12 11:11:36 -08:00
Sergey Korolev
a1f930bb70 showSamples.sh: fix description of a selected tool set
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-12 11:08:18 +03:00
Sergey Korolev
63ca8c75fc showSamples.sh: fix uClibc-ng detection
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-12 10:38:47 +03:00
Alexey Neyman
7a1e90c3ce
Merge pull request #862 from ksergeyv/master
use ${CT_${cc}_VERSION} to show a compiler version
2017-11-11 15:54:54 -08:00
Sergey Korolev
09151040fb use ${CT_${cc}_VERSION} to show a compiler version
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-11 23:38:13 +03:00
Alexey Neyman
521d6c1782
Merge pull request #855 from stilor/issue-770
Include Makefile.in in gettext 0.19.8.1 patch
2017-11-04 15:14:09 -07:00
Alexey Neyman
c5afabe6c8 Include Makefile.in in gettext 0.19.8.1 patch
Otherwise, make tries to rebuild it and fails.

Fixes #770.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-04 11:52:48 -07:00
Alexey Neyman
aec73d9cb8 Merge pull request #850 from stilor/upgrades
Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
2017-10-23 16:04:03 -07:00
Alexey Neyman
8e5de7fcbf Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-23 13:02:01 -07:00
Alexey Neyman
6a8eb24df6 Merge pull request #847 from stilor/master
When handling overlay, move rather than symlink
2017-10-20 09:31:00 -07:00
Alexey Neyman
a91765156a When handling overlay, move rather than symlink
... as 'tar' does not follow symlink, rather creating a new directory instead.

Fixes #846.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-20 09:27:29 -07:00
Alexey Neyman
42429d9169 Merge pull request #841 from bhundven/update_binutils_2_29_1
[binutils] Add 2.29.1
2017-10-05 22:32:53 -07:00
Bryan Hundven
3cafb8d7b5 [binutils] remove 2.29
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-10-05 08:51:32 -07:00
Bryan Hundven
caf8e72233 [binutils] Add 2.29.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-10-05 07:21:06 -07:00
Alexey Neyman
626abb9614 Merge pull request #839 from stilor/glibc-local-build-fail
Do not change {pkg}_VERSION
2017-10-01 13:58:22 -07:00
Alexey Neyman
a6dbc8f701 Do not change {pkg}_VERSION
Instead, use new variable ${pkg_dir} to locate auxiliary files.

Fixes #838.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-01 13:55:29 -07:00
Alexey Neyman
f966dd855f Merge pull request #837 from stilor/download-verify
Verification of the downloads
2017-09-30 20:37:22 -07:00
Alexey Neyman
ca45a8f9ab Add -D__GLIBC__ to target CFLAGS
... when using musl to compile strace.

Also, honor CT_TARGET_CFLAGS in scripts compiling target libs/binaries.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-30 18:47:35 -07:00
Alexey Neyman
4c321260b2 Strace 4.19 needs a patch for uClibc
Taken from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-30 16:01:52 -07:00
Alexey Neyman
529e429c6e expat 2.2.4 dropped INSTALL_ROOT
... in favor of its alias, DESTDIR. Before, it supported both.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-29 21:29:09 -07:00
Alexey Neyman
b3038a0a41 Add digests for all packages
Also fix test-packages: it was saving the output from CT_DoLog into
the checksum file. Also use one file per version.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-29 17:05:22 -07:00
Alexey Neyman
ea08141d45 Upgrade expat, mpfr, newlib, strace, linux
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 23:28:23 -07:00
Alexey Neyman
e29091ec06 Add an ability to download signatures from test-packages.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 23:10:46 -07:00
Alexey Neyman
48a949cf60 Add an ability to verify the digest/signature
Fixes #611.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-27 22:40:21 -07:00
Alexey Neyman
f86adab1f4 Merge pull request #834 from stilor/xtensa-fix-linaro
Xtensa fix for Linaro releases
2017-09-23 12:20:38 -07:00
Alexey Neyman
2ebbd3e318 Merge pull request #784 from bmwiedemann/date
Allow for reproducible builds
2017-09-18 12:11:59 -07:00
Alexey Neyman
ff4485ad30 Update gcc-linaro to 2017.08
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-16 13:05:34 -07:00
Alexey Neyman
8bf31117bc Propagate xtensa fix to Linaro versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-16 12:19:26 -07:00
Alexey Neyman
aacd6f3b4a Merge pull request #832 from jcmvbkbc/xtensa-fix-pr82181
package/gcc: fix ICE on xtensa, PR target/82181
2017-09-12 12:24:51 -07:00
Max Filippov
09259ace3b package/gcc: fix ICE on xtensa, PR target/82181
Memory references to DI mode objects could incorrectly be created at
offsets that are not supported by instructions l32i/s32i, resulting in
ICE at a stage when access to the object is split into access to its
subwords:
  drivers/staging/rtl8188eu/core/rtw_ap.c:445:1:
     internal compiler error: in change_address_1, at emit-rtl.c:2126

Fixes: https://lkml.org/lkml/2017/9/10/151
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-09-12 11:33:28 -07:00
Alexey Neyman
42cb9694fb Merge pull request #827 from stilor/endianness-selectable
Doh, forgot one place to rename the BOTH_ENDIAN option
2017-09-05 11:56:54 -07:00
Alexey Neyman
3b62fd4083 Doh, forgot one place to rename the BOTH_ENDIAN option
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-05 11:55:47 -07:00
Alexey Neyman
67d16f7887 Merge pull request #824 from stilor/testpkg
Allow test-package.sh to be used in a clean tree
2017-09-04 16:23:24 -07:00
Alexey Neyman
a5c16ae304 Allow test-package.sh to be used in a clean tree
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-04 16:22:52 -07:00
Alexey Neyman
f994d1c7d7 Merge pull request #823 from stilor/sh-experiment-multilib
Better SuperH multilib support (different endian, glibc/uClibc for no-FPU, etc)
2017-09-03 19:55:58 -07:00
Alexey Neyman
602304b230 Use the new SuperH fixes in the two multilib samples
- Glibc configure args and tuple need adjustment on SuperH
- Only allow "both endian" and "with CPU" for unspecified arch
  variant. May reconsider endianness (was breaking things before
  adjusting glibc tuple)
- Retire non-multilib sample, it should be a subset of the
  multilib one now.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:12:14 -07:00
Alexey Neyman
1e4eeb5c3b Workaround for static uClibc-ng issue with -lpthread
Also, preserve .config when running test-package.sh.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:12:14 -07:00
Alexey Neyman
e83a2e2333 Pick up uClibc-ng fixes for static GDB build
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:11:23 -07:00
Alexey Neyman
413f5f6100 Super-H multilib toolchain fixes
1. On SuperH, configuring GCC with explicit variant of the CPU
(like "sh4") limits the default set of multilibs to just that CPU
and requires --with-multilib-list to change. Allow for "unspecified"
variant, so that we can defer to GCC to determine the list.

2. Support toolchains with both endiannesses at the same time.

3. Add a SuperH/newlib sample

4. Add more flags processing for uClibc

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:11:23 -07:00
Alexey Neyman
1da3cc59df Fix typo
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03 12:11:23 -07:00