aboutsummaryrefslogtreecommitdiff
path: root/samples
Commit message (Collapse)AuthorAgeFilesLines
* Backport GCC fix for partial int modesAlexey Neyman2018-02-152-3/+1
| | | | | | | | ... from trunk to GCC7/GCC6/GCC5. Fixes #742. Signed-off-by: Alexey Neyman <stilor@att.net>
* Added vendor string for riscv32-hifive1-elfFranz Flasch2018-01-222-2/+2
|
* Added sample for riscv-hifive1 boardFranz Flasch2018-01-222-0/+9
| | | | Signed-off-by: Franz Flasch <ffl@mission-embedded.com>
* Align script names with the ct-ng commandsAlexey Neyman2017-11-191-5/+5
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire wiki-printerAlexey Neyman2017-11-191-17/+0
| | | | | | It is not used anymore and is currently broken. Signed-off-by: Alexey Neyman <stilor@att.net>
* add a bare metal RISC-V sampleAntony Pavlov2017-11-192-0/+8
| | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
* Use the new SuperH fixes in the two multilib samplesAlexey Neyman2017-09-037-14/+7
| | | | | | | | | | | - 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>
* Super-H multilib toolchain fixesAlexey Neyman2017-09-032-0/+7
| | | | | | | | | | | | | | | 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>
* Add NIOS2/MMU sampleAlexey Neyman2017-08-272-0/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Pin sparc-leon to GCC6, againAlexey Neyman2017-07-181-2/+2
| | | | | | | Also, change the name for uClibc config to be version-agnostic, the version changes too fast. Signed-off-by: Alexey Neyman <stilor@att.net>
* Update new nios2 sampleAlexey Neyman2017-07-081-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow packages to define "relevant" part of the versionAlexey Neyman2017-07-0842-47/+10
| | | | | | | | E.g., only include minor/major of the Linux kernel into the kconfig symbol. In the future, to be defined by all packages, but for now matches the current versioning in the packages. Signed-off-by: Alexey Neyman <stilor@att.net>
* Kconfigize choice/menu itemsAlexey Neyman2017-07-0880-302/+302
| | | | | | Also, add a poor man's upgrade script. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the references to old config variablesAlexey Neyman2017-07-0822-43/+36
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #773 from stilor/fix-bionic-32bitAlexey Neyman2017-07-076-4/+2
|\ | | | | Fix ARM32 name for android
| * Fix ARM32 name for androidAlexey Neyman2017-07-076-4/+2
| | | | | | | | | | | | | | | | | | | | | | Must have eabi suffix for GCC to accept it. Also: - We only have one glibc now, no need to account for eglibc. - Rename aarch64 samples, eabi suffix does not apply to them (and ct-ng saveconfig was saving them into a different directory). Fixes #772. Signed-off-by: Alexey Neyman <stilor@att.net>
* | samples: remove unnecessary optionKirill K. Smirnov2017-07-051-1/+0
| | | | | | | | | | | | | | The line CT_GETTEXT=y is remains from canadian sample. This cross sample does not need it. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
* | samples: add a config for bare metal NIOS2Kirill K. Smirnov2017-07-012-0/+8
|/ | | | Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
* Declare msp430 experimentalAlexey Neyman2017-06-102-1/+4
| | | | | | | ... as GCC5 and later ICEs over inocuous code. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79242 Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix debuild warnings/errorsAlexey Neyman2017-06-071-7/+7
| | | | | | | | | | | | | | | | | | | | - Update .gitignore, do not place .gitignore into directories installed in bulk - Remove executable permissions and shebangs from the scripts that are supposed to be invoked only via ct-ng frontent; prepend them with $(bash). Despite what showSamples.sh said, it already has some bashisms. - Remove --with autotools-dev and override dh_update_autotools_config to avoid having config.{sub,guess} clobbered with older versions - Install bash completion where Debian (now) expects it - Update man page to use .\" as the comment delimiter, instead of undefined macro (."); also, minor text edits. - Install kconfig.mk without execute permission. - Remove shell wrappers from 170-localedef-fix-trampoline.patch, we do not use that for applying patches - Revoke execute permissions on 210-expat.sh - Get flags from dpkg-buildflags if available Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #732 from awygle/msp430-supportAlexey Neyman2017-06-022-0/+5
|\ | | | | Added MSP430 architecture support
| * Added a sample of the MSP430 architecture and removed config.subAndrew Wygle2017-06-022-0/+5
| | | | | | | | | | | | override from msp430.sh Signed-off-by: Andrew Wygle <awygle@gmail.com>
* | samples: update sparc/leon sampleKirill Smirnov2017-06-022-4/+4
|/ | | | | | | | | * Remove obsolete RPC options from uclibc-ng config * Enable utmp/wtmp options (gdb needs them) * Switch to gcc-6.3 Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
* Disallow duma/ltrace/strace for bionicAlexey Neyman2017-05-141-0/+2
| | | | | | | | | | | | Allow cross-gdb and gdbserver. This requires removal of an explicit check that disables gdbserver on android. However, the comment above that check refers to exec_elf.h, which has been removed since API level 19. It builds fine with current selection of the sample (21). Only build-tested, hope someone can give it a try and report back. We can fine tune the check for GDB but I'll leave it for now. Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow rebuilding aarch64-unknown-linux-androidAlexey Neyman2017-05-141-1/+0
| | | | | | Otherwise, fails when checking if the destination dir is writable. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix samples defaulted to glibchyc2017-05-1429-0/+29
| | | | Since glibc is no longer the default C library
* Add sample Android config, gcc 6.3 patcheshyc2017-05-142-0/+13
|
* Use config from the install locationAlexey Neyman2017-04-221-7/+7
| | | | | | ... no need to create a local symlink. Signed-off-by: Alexey Neyman <stilor@att.net>
* MinGW-W64 fixesAlexey Neyman2017-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | - libpthread requires iteration over multilibs, unlike the core, it does not detect and build multilibs by itself. - Disable parallel builds for mingw-w64 components; until mingw-w64 core builds clean, I am not trusting it. - Make the list of tools to build configurable - Turn on multilib in x86_64 sample. - Make warnings about tuple less redundant. As in, "one WARN is enough, no need to shout it three times". - Messages about various steps/substeps are more aligned with the rest of the components. - Use 'make' instead of ${make} to invoke the companion make just built, if applicable. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix up the sysroot issue for sh4 in a different wayAlexey Neyman2017-03-262-2/+2
| | | | | | | | | | | (see the comments in the code for details on the issue) Old workaround in 100-gcc.sh stopped working (probably, due to one of GCC version upgrades), so switch to the other approach originally described there: adjust the list of multilibs to not include the default target explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
* Run samples through an updateAlexey Neyman2017-03-2052-83/+63
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* sh*-*-linux-gnu can use GCC6 nowAlexey Neyman2017-03-202-2/+0
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Make arm-multilib-linux-uclibcgnueabi staticAlexey Neyman2017-03-151-1/+2
| | | | | | | | | GCC does not distinguish the resulting binary by the CFLAGS (e.g. based on which -march= was given). This means, while it will use the right libraries for linking, at runtime they are all going to request the same ld.so path and load the libraries from the same default path. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #586 from stilor/restore-old-kernel-libcAlexey Neyman2017-02-1020-0/+120
|\ | | | | Restore old kernel/glibc versions
| * Add Ubuntu {12.04,14.04,16.04} configs.Alexey Neyman2017-02-0912-0/+72
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Add CentOS6/7 sample configsAlexey Neyman2017-02-098-0/+48
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | Forgot to saveconfig the changes for ARM/elf2flt sampleAlexey Neyman2017-02-091-7/+1
|/ | | | | | | | Hence, it is better to enforce via config rules: elf2flt does not play nice with ld wrapper, when both ld.bfd and ld.gold are present. Limit the choices to just 'ld.bfd' for flat-format architectures. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a contrived ARM with elf2flt sampleAlexey Neyman2017-02-072-0/+23
| | | | | | | ... that exhibited the issue with elf2flt configuration. Original reported did not provide the config, and did not respond. Signed-off-by: Alexey Neyman <stilor@att.net>
* Enable WCHAR in a sampleAlexey Neyman2017-02-061-0/+1
| | | | | | ... needed to build canadian cross on top of it. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a canadian elf2flt sampleAlexey Neyman2017-02-052-0/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a sample config.Alexey Neyman2017-02-032-0/+17
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Enable Fortran & tools in x86_64-w64-mingwAlexey Neyman2017-01-281-0/+2
| | | | | | ... both were recently a source of bug that didn't manifest on *-linux-* Signed-off-by: Alexey Neyman <stilor@att.net>
* Make build-all rely on kconfig options.Alexey Neyman2017-01-191-18/+11
| | | | | | | | | | | | | 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>
* Run samples through 'ct-ng update-samples'.Alexey Neyman2017-01-1963-189/+0
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Adjust vendor in arm-nano-eabi...Alexey Neyman2017-01-121-14/+10
| | | | | | | So that 'ct-ng saveconfig' works properly. Also, run it through 'ct-ng saveconfig' so that default options are removed. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add ARM nano sample configurationAlastair D'Silva2017-01-102-0/+31
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* Run samples through 'ct-ng update-samples'.Alexey Neyman2016-12-1625-27/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Make companion libs static.Alexey Neyman2016-12-112-0/+29
| | | | | | | | | | | | | | | | | | | | | | | This follows the trend set by 1*.sh scripts that configure ISL, GMP, MPFR, CLooG, etc. Building with shared libraries presents all kinds of problems: - The shared libraries need to be installed into ${CT_PREFIX_DIR}. - The binaries linked against companion libs need to have proper RPATH, or they're looking for shared libs in .build/${CT_PREFIX}/buildtools/lib. - All libraries must agree as to whether they're built shared, static, or both. Otherwise, gettext tries to link in static libncurses.a into a shared library and fails (since libncurses was compiled without the -fPIC switch and hence contains relocations that cannot be handled in a shared library). So this fixes the current mess. If we decide to re-enable building the companion libs shared, we should probably make this dependent on a separate suboption of CT_STATIC_TOOLCHAIN. Add a config loosely based on one reported in the issue 274. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add comp. tools for host in one of canadian crosses.Alexey Neyman2016-12-021-0/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Enable posix threads in x86_64-w64-mingw32.Alexey Neyman2016-11-292-1/+2
| | | | | | | | | | | | | This enables the resulting toolchaing to be used to build a canadian cross to x86_64-pc-linux-gnu target. Unmark that sample as broken, it now builds successfully. It is likely that it is affected by issue #483, too - I see the resulting gcc executable has a DLL dependency on libiconv-2.dll, which is only installed into .build/.../buildtools. This will be investigated/fixed separately. Signed-off-by: Alexey Neyman <stilor@att.net>