summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-04-07Add nconf buildAlexey Neyman1-1/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Fix install --strip-program check after mergeAlexey Neyman5-44/+53
Also, fix the use of AC_CACHE_CHECK in stat format checker. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Cleanup after rebase on master:Alexey Neyman2-24/+0
gperf detection macros no longer needed, gperf is not used anymore. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07WIP: autotoolizationAlexey Neyman15-709/+1624
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Remove special handling of dpkg-buildflagsAlexey Neyman2-14/+1
Instead, just honor CFLAGS/CPPFLAGS/LDFLAGS as they're passed down from configure. This brings the build process in compliance with the recommended practices. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Get rid of sub{lib,doc}dirAlexey Neyman4-23/+27
They don't make sense - using same ct-ng won't work with different versions, so they cannot coexist in the same prefix. Also localize other configure variables so that their usage is easier to track. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Simplify the macro for checking stat flavor a bitAlexey Neyman3-13/+17
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Use autoconfig-archve/automake testsAlexey Neyman18-66/+3235
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Split local helper macros into separate m4'sAlexey Neyman12-234/+265
... which are then picked up via aclocal. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-03-31Merge pull request #935 from cpackham/check-configureAlexey Neyman1-1/+5
Makefile.in: check for configure being up to date
2018-03-29Makefile.in: check for configure being up to dateChris Packham1-1/+5
Fixes #934 Add a rule that errors out with a message if configure.ac is newer than configure. This should catch times where someone is building from the repo without running bootstrap. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2018-02-16Merge pull request #915 from stilor/source-fails-on-custom-pkgAlexey Neyman1-4/+13
Avoid calling CT_Abort from CT_Mirrors
2018-02-16Avoid calling CT_Abort from CT_MirrorsAlexey Neyman1-4/+13
... see the comment for the reason. Defer aborting until the result of CT_Mirrors is actually used (if it is used). Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-16Merge pull request #912 from M1cha/pr/limits_h_testAlexey Neyman1-1/+2
cc/gcc: use correct sysroot arg for do_gcc_core_backend
2018-02-15Merge pull request #914 from stilor/msp430-fixAlexey Neyman5-3/+295
Backport GCC fix for partial int modes
2018-02-15Backport GCC fix for partial int modesAlexey Neyman5-3/+295
... from trunk to GCC7/GCC6/GCC5. Fixes #742. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-12cc/gcc: use correct sysroot arg for do_gcc_core_backendM1cha1-1/+2
This fixes gccs LIMITS_H_TEST detection for baremetal targets so limits.h will be installed correctly. Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
2018-02-11Merge pull request #911 from stilor/uclibc-no-name-to-handle-atAlexey Neyman5-0/+200
uClibc-ng does not implement name_to_handle_at
2018-02-11uClibc-ng does not implement name_to_handle_atAlexey Neyman5-0/+200
... so don't declare it, it confuses (at least) eudev's configure. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10Merge pull request #910 from stilor/uclibc-no-rpcAlexey Neyman3-1/+24
uClibc-ng: configurability enhancements
2018-02-10Make libiconv an option in the menu configAlexey Neyman3-1/+19
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10uClibc-ng retired RPC support as of 1.0.23Alexey Neyman2-1/+6
... make the corresponding option conditional. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10Merge pull request #909 from stilor/make-defconfig-phonyAlexey Neyman1-0/+2
Make defconfig (and a bunch of other targets) phony
2018-02-10Make defconfig (and a bunch of other targets) phonyAlexey Neyman1-0/+2
Otherwise, a file named `defconfig` (which is, ironically, the default name for the default config expected by this very makefile) prevents the defconfig target from being run. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-05Merge pull request #907 from bhundven/update_kconfig_4_15Alexey Neyman17-98/+174
Sync kconfig files with upstream 4.15
2018-02-05Merge pull request #908 from stilor/upgrade2Alexey Neyman10-0/+204
Bring in GDB 8.1 and glibc 2.27.
2018-02-03Bring in GDB 8.1 and glibc 2.27.Alexey Neyman10-0/+204
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-02Merge pull request #904 from stilor/upgradeAlexey Neyman100-127/+1246
A bunch of upgrades
2018-02-01Sync kconfig files with upstream 4.15Bryan Hundven17-98/+174
Last updated with 4.9-rc7. This commit introduces the following upstream changes: 9059a3493efe kconfig: fix relational operators for bool and tristate symbols 88127dae6ed9 kconfig/symbol.c: use correct pointer type argument for sizeof b24413180f56 License cleanup: add SPDX GPL-2.0 license identifier to files with no license bb3290d91695 Remove gperf usage from toolchain ad8181060788 kconfig: fix sparse warnings in nconfig ff85a1a80e00 kconfig: Check for libncurses before menuconfig 9be3213b14d4 gconfig: remove misleading parentheses around a condition 83c3a1bad224 xconfig: fix missing suboption and help panels on first run e039303ff71a xconfig: fix 'Show Debug' functionality 79e51b5c2dee kconfig/nconf: Fix hang when editing symbol with a long prompt 0eb47346968f Scripts: kconfig: nconf: fix _GNU_SOURCE redefined warning 237e3ad0f195 Kconfig: Introduce the "imply" keyword Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2018-01-30More fixes after the upgrades:Alexey Neyman21-944/+1054
- GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix relies on binutils 2.24 or newer, which is okay for glibc 2.26 since it needs 2.25 or newer anyway. But older glibc versions are now pinned to binutils 2.29 or older on aarch64. - xtensa needs patches in libgcc with gcc 7.3. - comment in newlib's patch to indicate it is a reversal of a commit. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-30Ncurses fixes for 6.1Alexey Neyman6-4/+197
- Update to 20180129 - Throw in --disable-db-install if database is disabled; otherwise 'make install' tries to run tic which is not built. - Select appropriate strip utility for the host; otherwise non-x86 architectures fail to install (unless --disable-stripping is also added) Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-29Newlib 3.0.0 seems to be a very broken releaseAlexey Neyman2-0/+79
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-29Newlib developers should at least try to compile itAlexey Neyman1-0/+23
... before publishing a release.
2018-01-29Upgrade to new releasesAlexey Neyman88-108/+822
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng MPC vs MPFR dependencies required modifications in auto-generated templates to also provide non-inclusive older-than/newer-than specifications. Also correct MPC URLs, the website seems to have adjusted its directory layout. Currently, newlib 3.0.0 doesn't build for arm-nano-eabi. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-25Merge pull request #900 from stilor/issue-897Alexey Neyman1-2/+6
Only decorate TARGET_ARCH if using specific CPU
2018-01-23Merge pull request #899 from franzflasch/masterAlexey Neyman3-0/+11
riscv: Add ARCH_SUPPORTS_WITH_ABI and ARCH_SUPPORTS_WITH_ARCH
2018-01-22Added vendor string for riscv32-hifive1-elfFranz Flasch2-2/+2
2018-01-22Added sample for riscv-hifive1 boardFranz Flasch2-0/+9
Signed-off-by: Franz Flasch <ffl@mission-embedded.com>
2018-01-22Only decorate TARGET_ARCH if using specific CPUAlexey Neyman1-2/+6
Otherwise, binutils don't recognize it as a valid target - even though GCC does. Fixes #897. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-20Merge pull request #895 from upsuper/patch-1Alexey Neyman1-1/+1
Use /usr/bin/env to locate bash
2018-01-19Add ARCH_SUPPORTS_WITH_ABI and ARCH_SUPPORTS_WITH_ARCH for riscv targetsFranz Flasch1-0/+2
Signed-off-by: Franz Flasch <franz.flasch@gmx.at>
2018-01-06Use /usr/bin/env to locate bashXidorn Quan1-1/+1
On some systems (e.g. macOS), the bash provided by the system at `/bin/bash` is not new enough for the bootstrap script, while users may install a bash instance elsewhere. In that case, `/usr/bin/env` can get the bash in the current environment.
2017-12-18Merge pull request #885 from ksergeyv/masterAlexey Neyman1-10/+12
Fix gdb build flags forming
2017-12-17Fix gdb build flags formingSergey Korolev1-10/+12
Build flags are scalar variables. Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-12-17Merge pull request #882 from ksergeyv/gdb-linkAlexey Neyman1-80/+106
Fix variables passing to gdb configure scripts
2017-12-17Merge pull request #884 from stilor/todo-updateAlexey Neyman1-9/+9
Merge a local TODO list
2017-12-17Merge a local TODO listAlexey Neyman1-9/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-16Merge pull request #881 from ksergeyv/masterAlexey Neyman1-0/+4
Do not build a native gdbserver automatically
2017-12-14Fix variables passing to gdb configure scriptsSergey Korolev1-80/+106
These changes mainly fix static linking errors when building static native gdb and gdbserver (tested with gcc 7.2.0 + uClibc-ng 1.0.27 + binutils 2.29.1 for MIPS): [ALL ] .../lib/libstdc++.a(eh_throw.o): In function `__cxa_throw': [ALL ] (.text.__cxa_throw+0x64): undefined reference to `_Unwind_RaiseException' [ALL ] (.text.__cxa_throw+0x6c): undefined reference to `_Unwind_RaiseException' [ALL ] .../lib/libstdc++.a(eh_throw.o): In function `__cxa_rethrow': [ALL ] (.text.__cxa_rethrow+0x78): undefined reference to `_Unwind_Resume_or_Rethrow' [ALL ] (.text.__cxa_rethrow+0x80): undefined reference to `_Unwind_Resume_or_Rethrow' ... The problem is in mixing of CPP, CC, CXX, and LD with CPPFLAGS, CFLAGS, CXXFLAGS, and LDFLAGS before passing to configure scripts. gcc is sensitive to argument order and the scripts are normally responsible to combine the variables in a proper way. Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-12-13Do not build a native gdbserver automaticallySergey Korolev1-0/+4
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>