Age | Commit message (Collapse) | Author | Files | Lines |
|
Run all configure scripts using ${CONFIG_SHELL}
|
|
after the CT_Log{Enable,Disable} changes.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... as its help message says in menuconfig.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Simplify the pre-build actions a bit
|
|
(was EXTRA, should be INFO to be consistent with the rest).
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Restore uClibc-ng usability in buildroot
|
|
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>
|
|
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>
|
|
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>
|
|
Instead of hardcoding defaults in saveSample.sh.in, have the same
defaults in config. Then we can just remove them when saving the
config.
|
|
Now handled by CT_LoadConfig.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Makes them sorted out by host, and removes the need for similar hack in
samples.mk.
Change how canadian crosses are named: using `=' character resulted in
Glibc build failure.
Move loading config into a common function, CT_LoadConfig.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
The correct solution was checked in to strace GIT; will be part of the
next release. Backport patch to 4.10..4.15, and remove the workaround
from 500-strace.sh. Versions 4.9 and older should build fine even
without the workaround (they would be picking up wrong definitions,
but they need different patch and I don't feel like spending any time
on these versions).
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Musl update to 1.1.16
|
|
Restore copying headers for gcc_build
|
|
Only needed in canadian configurations to build libstdc++.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... when refering to target's compiler.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also, minor fixes in 300-gdb.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Avoid creating include/include
|
|
Add CT_GetLinaro, use it from gcc/binutils/gdb/glibc/newlib.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Scripts no longer download avr-headers.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
And never had, at least since newlib 1.17 (first version added to
crosstool-ng). Apparently, copy-pasted from glibc.sh.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Added above, as part of the list.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Newlib enhancements
|
|
Otherwise, cross-compiling fails on non-Linux build machines.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Needed for linking gettext/libiconv.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Obvious typo, worked by some miracle.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Warning causes gdb's configure to not detect <limit.h> declarations
of LONG_MIN/MAX.
Found-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... by passing BUILD_LDFLAGS twice (the 2nd argument overrides the first).
Also, no need to pass -I/-L for BUILD_CFLAGS/LDFLAGS, they are already included
by crosstool-NG.sh (but keep for BUILD_CPPFLAGS, as we set it up here).
Remove -Wl,-Bstatic/-Wl,-Bdynamic (we only build static complibs).
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Also, require gettext for NLS, and require iconv/ncurses for gettext.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Similarly to FOR_HOST; recent change in 100-gcc.sh that switched
FOR_HOST->FOR_BUILD broke simple cross configurations on macos.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Make them configurable, default to y when build!=host (i.e.
canadian or cross-native) because we don't know what libraries the host
will provide. GLIBC, as previously, selects them explicitly.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
There is no such option so the check is always true.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
|
|
|
|
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
|
|
Kill CT_INSTALL_DIR.
|
|
We now use CT_PREFIX and expect the resulting toolchain to be relocatable.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Some errors from make(1) do not include a file reference in brackets.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Drop dmalloc
|
|
This is needed for callbacks that use that directory to look inside
GCC internal directories, e.g. moving the libraries. This broke
when I made libexpat for target honor ${CT_SHARED_LIBS}.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
On Travis, old libxml2 is picked up from host and breaks the build.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
- No new releases in almost 10 year.
- No public bug tracker or VCS.
- No responses from maintainer over sent patches.
RIP, dmalloc.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
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>
|