summaryrefslogtreecommitdiffstats
path: root/scripts/install_copy_toolchain.sh
Commit message (Collapse)AuthorAgeFilesLines
* scipts: make ptxd_get_dl globaly availableMichael Olbrich2017-05-151-13/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_copy_toolchain: /usr mergeMichael Olbrich2017-04-111-2/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_copy_toolchain: go back to old install handlingMichael Olbrich2016-06-131-0/+15
| | | | | | | | Using just 'ptxd_install_file' does not install all symlinks and ptxd_install_shared does not handle errors correctly causes some symlinks to be installed again. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_toolchain_lib: use ptxd_install_file instead of ptxd_install_sharedMichael Olbrich2016-06-101-1/+1
| | | | | | | ptxd_install_toolchain_lib creates ptxd_install_link for all necessary links, so using ptxd_install_shared just creates them a second time. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_copy_toolchain_lib: don't ignore strip argumentMichael Olbrich2016-06-051-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_copy_toolchain: set strip argument unless explicitly specifiedMichael Olbrich2016-06-051-1/+4
| | | | | | | | With this change strip=y will no longer be specified for non elf files. This will be needed for later changes, when any explicitly specified strip argument is enforced. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_copy_toolchain: remove hackMichael Olbrich2012-12-171-3/+1
| | | | | | | make_locale.sh and make_zoneinfo.sh don't need to source install_copy_toolchain.sh any more. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* move ptxd_abs2rel to libptxdist.shMichael Olbrich2012-12-171-42/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_toolchain_lib: use ptxd_install_sharedMichael Olbrich2012-12-171-16/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_copy_toolchain.sh: use PTXDIST_SYSROOT_TOOLCHAINMichael Olbrich2012-12-171-45/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_toolchain_lib: just follow links if the prefix cannot be detectedMichael Olbrich2012-12-171-8/+10
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_copy_toolchain: handle linker scripts with absolute paths including ↵Michael Olbrich2012-12-171-1/+3
| | | | | | sysroot Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Remove hardcoded paths from glibc.makeRemy Bohmer2012-04-031-1/+1
| | | | | | | | | | These hardcoded paths do not work for a multilib environment where libraries are typically installed in /lib64 for x86-64 instead of /lib All correct paths can be found by interrogating the compiler toolchain for the location of these files. Signed-off-by: Remy Bohmer <linux@bohmer.net> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* be consistent when calling gcc to query toolchain dataMichael Olbrich2012-03-241-10/+4
| | | | | | This means always use the configured CFLAGS/CPPFLAGS Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Add some support for multilib detection in the toolchainRemy Bohmer2012-03-141-3/+7
| | | | | | | | | | | For Sourcery Codebench toolchains the 'gcc -print-file-name' only returns the proper sysroot directory when the proper architecture flags are provided via '-m64 -march=' flags. These flags are provided via the ptxdist platformconfig PTXCONF_TARGET_EXTRA_CFLAGS setting. These flags therefore also need to be passed to GCC here. Signed-off-by: Remy Bohmer <linux@bohmer.net> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [install_copy_toolchain] try harder to find toolchain libsMichael Olbrich2010-08-111-1/+1
| | | | | | | | | | When we come across a linker script, we look for the referenced library in the same directory. This fails if e.g. the linker script is in <toolchain-sysroot>/usr/lib and the referenced library <toolchain-sysroot>/lib. To fix this we look for the referenced library with ptxd_get_lib_path(). It will find it in either directory. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Revert "[install_copy_toolchain.sh] don't pass strip parameters"Marc Kleine-Budde2010-03-221-2/+2
| | | | | | | | This reverts commit b55110fa96f1b64baba02dee0a45a5d05d271d8a. With 117bb54d676e5bc097d8e4bbd07efe4215cc472e we've a better fix now. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [install_copy_toolchain.sh] Fix stripJon Ringle2010-03-221-2/+2
| | | | | Signed-off-by: Jon Ringle <jon@ringle.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [install_copy_toolchain.sh] don't pass strip parametersMarc Kleine-Budde2010-03-201-2/+2
| | | | | | | | | This patch fixes this error: ptxdist: error: ptxd_install_file_strip: invalid values for strip='true' or ptx_use_sstrip='' Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [install] handle all install_{copy,link,node,alternative} delayed in a scriptMichael Olbrich2010-03-051-55/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [install] fix return valuesMichael Olbrich2010-02-161-3/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* * make sure that the packages and nfsroot are not influenced by theMichael Olbrich2009-02-091-1/+1
| | | | | | | | users umask. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9742 33e552b5-05e3-0310-8538-816dae2090ed
* * install_copy_toolchain.sh:Marc Kleine-Budde2008-04-181-44/+91
| | | | | | | don't create absolute links pointing out of root-debug git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8080 33e552b5-05e3-0310-8538-816dae2090ed
* * scripts/install_copy_toolchain.sh:Marc Kleine-Budde2008-01-231-0/+3
| | | | | | | | This patch fixes the handling of multiple slashes in linker scripts, as found in some bfin toolchains. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7715 33e552b5-05e3-0310-8538-816dae2090ed
* * scripts/install_copy_toolchain.sh, rules/pre/Rules.make:Marc Kleine-Budde2007-11-101-41/+63
| | | | | | | fix install_copy_toolchain, works now with bfin toolchains git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7603 33e552b5-05e3-0310-8538-816dae2090ed
* added timezone support(thx to Manfred Gruber)Luotao Fu2007-10-161-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7404 33e552b5-05e3-0310-8538-816dae2090ed
* * scripts/install_copy_toolchain.sh, rules/pre/Rules.make:Marc Kleine-Budde2007-01-261-0/+17
| | | | | | | | | | | This patch updates install_copy_toolchain_dl to current copy toolchain mechanism. As a side effect install_copy_toolchain_dl works again for Ladis uClibc based toolchain. Thanks to Ladis for this patch git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6937 33e552b5-05e3-0310-8538-816dae2090ed
* cleared debugging stuffsLuotao Fu2007-01-101-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6808 33e552b5-05e3-0310-8538-816dae2090ed
* added locale configuration for target to ptxdistLuotao Fu2007-01-091-1/+3
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6798 33e552b5-05e3-0310-8538-816dae2090ed
* * scripts/install_copy_toolchain.sh:Marc Kleine-Budde2007-01-081-17/+24
| | | | | | | added wildcard support git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6764 33e552b5-05e3-0310-8538-816dae2090ed
* * scripts/install_copy_toolchain.sh:Marc Kleine-Budde2006-11-281-37/+141
| | | | | | | fix for non sysroot toolchains and native operation git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6399 33e552b5-05e3-0310-8538-816dae2090ed
* git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6267 ↵Marc Kleine-Budde2006-11-021-1/+5
| | | | 33e552b5-05e3-0310-8538-816dae2090ed
* git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6021 ↵Marc Kleine-Budde2006-08-301-1/+2
| | | | 33e552b5-05e3-0310-8538-816dae2090ed
* * install_copy_toolchain.sh:Marc Kleine-Budde2006-08-301-7/+29
| | | | | | | install extra link for libstdc++ git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6020 33e552b5-05e3-0310-8538-816dae2090ed
* * scripts/install_copy_toolchain.sh:Marc Kleine-Budde2006-08-101-4/+9
| | | | | | | | | | - return error on recursive calls of ptxd_install_lib - support handling of relative and absolute libs in linker scripts (problem reported and patch inspired by Randall S. Loomis rloomis _at_ solectek _dot_ com) git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@5994 33e552b5-05e3-0310-8538-816dae2090ed
* * scripts/install_copy_toolchain.sh, rules/gcclibs.make, rules/glibc.make, ↵Marc Kleine-Budde2006-08-091-6/+7
| | | | | | rules/pre/Rules.make git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@5990 33e552b5-05e3-0310-8538-816dae2090ed
* git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@5982 ↵Marc Kleine-Budde2006-08-071-9/+44
| | | | 33e552b5-05e3-0310-8538-816dae2090ed
* git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@5975 ↵Marc Kleine-Budde2006-08-041-0/+140
33e552b5-05e3-0310-8538-816dae2090ed