| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The flags actually overwrite the default "-O2 -g", so without this
libstdc++ is not optimized at all.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The regular toolchains are already built with debug symbols, so that part
remains the same. PTXCONF_TOOLCHAIN_DEBUG just adds the sources for target
libraries to the toolchain.
Previously the source directory was changed but that makes the paths
longer, which can cause problems. So instead keep the directories and copy
the sources instead. Use -ffile-prefix-map= to rewrite the paths in the
debug symbols.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
It seem that the last argument is checked first, so put the more specific
substitution first.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
-ffile-prefix-map= is -fdebug-prefix-map= and -fmacro-prefix-map=.
It's only supprted with gcc >= 8, so only use it for the cross flags.
This removes some more absolute paths from the build host.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Multiple things are needed to make this possible:
- the wrapper dir must be first in $PATH to ensure that any available
wrapper is used.
- when gcc-first and gcc are done building, then a new icecc environment
must be created.
- use icerun to limit parallelization when xgcc/xg++ is used to build the
internal libraries
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
Don't add the same paths twice. So only add `realpath
$(PTXDIST_SYSROOT_CROSS)` if it is actually different.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
And rename GLIBC_FLAGS_ENV to GLIBC_DEBUG_FLAGS_ENV because it contains
nothing else.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
It seems, in some places the paths with all symlinks resolved is used as
well, so replace it as well.
And replace the path added in a header file.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
It's the same thing and PTXDIST_SYSROOT_CROSS is the correct path that
needs to be replaces in the future.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
This allows properly cleaning individual packages during testing and brings
the toolchain closer to regular PTXdist BSPs. This makes it possible to
reuse more generic code.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
This is the equivalent to the upstream PTXdist commit
87acd6909282c9d8bb75d0c1ba1fc719925713a3.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
* add more debugging symbols with -g3
* rewrite paths in the debugging data
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
PTXDIST_HOST_LDFLAGS
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
It got lost during the conversion to the ptxdist iamge rule
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
This avoids unnecessary dependencies.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Otherwise some tool, e.g. gcc-4.2.3, assume, that e.g.
host=x86_64-host-linux-gnu build=x86_64-unknown-linux-gnu
means Canadian Cross.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
If we build a cross toolchain where build == host == target the resulting
tools lack the host-tripplet before the tool name.
This patch introduce a '--build' autoconf switch with guessed (and modified)
build host tripplet from ptxdist to supress the generic autoconf guessing
mechanism in respective tools.
Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
some extra configure options require the cross gcc. They cannot
be added to GLIBC_CONFIG_EXTRA.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
add clean namespace
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@7840 f8d472c7-5700-0410-ac5a-87979cec3adf
|
|
|
|
|
|
|
|
|
| |
rules/cross-gcc.in, rules/cross-binutils.make, rules/cross-gdb.make, rules/cross-gcc.make, rules/libc.in:
make more stuff configurable via selects
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@7761 f8d472c7-5700-0410-ac5a-87979cec3adf
|
|
|
|
| |
https://svn.pengutronix.de/svn/oselas/toolchain/branches/OSELAS.Toolchain-mkl@6226 f8d472c7-5700-0410-ac5a-87979cec3adf
|
|
|
|
| |
https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@2083 f8d472c7-5700-0410-ac5a-87979cec3adf
|
|
|
|
|
|
|
|
|
| |
rules/cross-gcc-second.make, rules/glibc.make:
added abstraction to put sources in prefix for later debugging of the toolchain internals
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@1992 f8d472c7-5700-0410-ac5a-87979cec3adf
|
|
|
|
|
|
|
|
|
| |
rules/cross-binutils.make:
build gcc-first into seperate dir
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@1602 f8d472c7-5700-0410-ac5a-87979cec3adf
|
|
|
|
| |
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@871 f8d472c7-5700-0410-ac5a-87979cec3adf
|
|
|
|
| |
https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@769 f8d472c7-5700-0410-ac5a-87979cec3adf
|
|
https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@768 f8d472c7-5700-0410-ac5a-87979cec3adf
|