summaryrefslogtreecommitdiffstats
path: root/rules
Commit message (Collapse)AuthorAgeFilesLines
* cross-llvm: add support for LoongArchLucas Stach2023-06-221-0/+3
| | | | Signed-off-by: Lucas Stach <dev@lynxeye.de>
* glibc: set libdir for LoongArchLucas Stach2023-06-221-1/+1
| | | | Signed-off-by: Lucas Stach <dev@lynxeye.de>
* cross-binutils: allow to disable goldMichael Olbrich2023-06-222-1/+6
| | | | | | It's not yet supported on LoongArch. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* architecture: add support for LoongArchLucas Stach2023-06-221-1/+5
| | | | Signed-off-by: Lucas Stach <dev@lynxeye.de>
* introduce ARCH_MIPS64 to handle 64-bit mipsMichael Olbrich2023-06-143-1/+8
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-rustc: version bump 1.64.0 -> 1.70.0Michael Olbrich2023-06-141-1/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* glibc: don't force the libdir to /libMichael Olbrich2023-06-143-7/+13
| | | | | | | | | The gcc patches are gone, so don't do it here either. Make sure that the empty lib/ dirs exist. Otherwise .../lib/../lib64 is not resolved correctly. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-binutils: version bump 2.39 -> 2.40Michael Olbrich2023-06-141-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-llvm/clang/lld: version bump 15.0.2 -> 16.0.0Michael Olbrich2023-06-142-6/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-binutils: adapt to gcc lib64 changesMichael Olbrich2023-06-142-1/+11
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: version bump 2022.10.0 -> 2023.07.0Michael Olbrich2023-06-084-6/+6
| | | | | | | It's not yet released but we need the changes currently in master that will be part of this release. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* pre/toolchain: add -O2 to the debug cflagsMichael Olbrich2023-05-111-0/+1
| | | | | | | 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>
* cross-rustc: The CREDITS file in PTXdist is gone and the toolchain never had oneMichael Olbrich2022-10-131-2/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rewrite PTXCONF_TOOLCHAIN_DEBUG and generall debug handlingMichael Olbrich2022-10-045-39/+52
| | | | | | | | | | | | 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>
* cross-rustc: version bump 1.52.1 -> 1.64.0Michael Olbrich2022-10-042-1/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-clang: version bump 12.0.0 -> 15.0.1Michael Olbrich2022-10-043-2/+36
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc: version bump 11-20210703 -> 12-20220924Michael Olbrich2022-10-041-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-rustc: add missing dependencyMichael Olbrich2021-07-051-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-system-openssl: new packageMichael Olbrich2021-07-052-0/+31
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-rustc: new packageMichael Olbrich2021-07-052-0/+175
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-system-mpc: add fedora package helpBruno Thomsen2021-07-021-1/+1
| | | | | | | | | Improve help message when failing to find mpc development files on a Fedora system (RPM based). Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Message-Id: <20210619125818.374987-3-bruno.thomsen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-system-zlib: add fedora package helpBruno Thomsen2021-07-021-1/+1
| | | | | | | | | Improve help message when failing to find zlib development files on a Fedora system (RPM based). Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Message-Id: <20210619125818.374987-8-bruno.thomsen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-system-xz: add fedora package helpBruno Thomsen2021-07-021-1/+1
| | | | | | | | | Improve help message when failing to find xz (lzma) development files on a Fedora system (RPM based). Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Message-Id: <20210619125818.374987-7-bruno.thomsen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-system-expat: add fedora package helpBruno Thomsen2021-07-021-1/+1
| | | | | | | | | Improve help message when failing to find expat development files on a Fedora system (RPM based). Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Message-Id: <20210619125818.374987-6-bruno.thomsen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-system-gmp: add fedora package helpBruno Thomsen2021-07-021-1/+1
| | | | | | | | | Improve help message when failing to find gmp development files on a Fedora system (RPM based). Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Message-Id: <20210619125818.374987-5-bruno.thomsen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-system-mpfr: add fedora package helpBruno Thomsen2021-07-021-1/+1
| | | | | | | | | Improve help message when failing to find mpfr development files on a Fedora system (RPM based). Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Message-Id: <20210619125818.374987-4-bruno.thomsen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-system-isl: add fedora package helpBruno Thomsen2021-07-021-1/+1
| | | | | | | | | Improve help message when failing to find isl development files on a Fedora system (RPM based). Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> Message-Id: <20210619125818.374987-2-bruno.thomsen@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gdb: always build with python supportMichael Olbrich2021-05-211-8/+2
| | | | | | | | Disabling Python support was a crude hack to minimize dependencies for binary tarballs. This doesn't make sense any more since there are now several other dependencies anyways. So just drop the hack. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc*: only use icerun for newer versionsMichael Olbrich2021-05-212-2/+2
| | | | | | | Old icerun versions don't work with relative paths to the executable. So test this and disable icerun in this case. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-elf2flt: version bump 2019.12 -> 2020.09Michael Olbrich2021-05-171-2/+2
| | | | | | Reimport patch from upstream PR. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: the special ffmpeg.make has not been needed for a long timeMichael Olbrich2021-05-171-1/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: remove obsolete filesMichael Olbrich2021-05-173-3/+0
| | | | | | The corresponding host packages are gone. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc: really remove the sysroot path in statx.hMichael Olbrich2020-08-271-2/+5
| | | | | | | | | The $(wildcard ) does not work here: It is evaluated when the target starts to execute. At that point the file does not exist yet. So explicitly check if the file exists in shell code. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* glibc: use the wrapper to inject the extra CFLAGSMichael Olbrich2020-08-272-4/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* pre/toolchain: swap order of the prefix-mapMichael Olbrich2020-08-271-4/+4
| | | | | | | 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>
* pre/toolchain: use -ffile-prefix-map= with the cross compilerMichael Olbrich2020-08-271-5/+2
| | | | | | | | | -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>
* cross-llvm: don't set LLVM_DEFAULT_TARGET_TRIPLEMichael Olbrich2020-08-271-1/+0
| | | | | | It's not necessary and the non-standard value can be confusing. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-clang: make sure the correct path for the dynamic linker is usedMichael Olbrich2020-08-271-0/+4
| | | | | | | | | | | | This is basically the same as the gcc patch 0200-gcc-i386-use-pure64-CLFS-patch.patch. It has some extra magic not use /lib64 if host-tools are built. The patch is only applied if the target architecture is x86_64. This way, clang works as a host compiler without the special handling with all other toolchains. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-lld: new packageMichael Olbrich2020-08-272-0/+100
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* glibc-headers: errlist is gone in glibc 2.32Michael Olbrich2020-08-271-5/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc: make sure zstd is not foundMichael Olbrich2020-08-272-2/+8
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* replace host-xz with host-system-xzMichael Olbrich2020-08-275-67/+32
| | | | | | | | | | | | | This is a first step to make gcc plugins possible. The header files for plugins include the headers for several of host libraries that are currently statically compiled. Use the system versions of those libraries. This way the user can install the corresponding devel packages. Then gcc plugins can be built. xz (liblzma) is not needed for plugins but one more dependency into the system makes no difference and this makes maintaining the toolchain easier. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* replace host-zlib with host-system-zlibMichael Olbrich2020-08-278-53/+36
| | | | | | | | | | | | | This is a first step to make gcc plugins possible. The header files for plugins include the headers for several of host libraries that are currently statically compiled. Use the system versions of those libraries. This way the user can install the corresponding devel packages. Then gcc plugins can be built. zlib is not needed for plugins but one more dependency into the system makes no difference and this makes maintaining the toolchain easier. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc: drop the CROSS_GCC_[0-9]* version optionsMichael Olbrich2020-08-271-37/+10
| | | | | | Building gcc versions that old is not really supported anyways. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* replace host-expat with host-system-expatMichael Olbrich2020-08-275-47/+32
| | | | | | | | | | | | | This is a first step to make gcc plugins possible. The header files for plugins include the headers for several of host libraries that are currently statically compiled. Use the system versions of those libraries. This way the user can install the corresponding devel packages. Then gcc plugins can be built. libexpat is not needed for plugins but one more dependency into the system makes no difference and this makes maintaining the toolchain easier. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-libelf: remove unnecessary host libraryMichael Olbrich2020-08-273-69/+0
| | | | | | Current gcc versions don't need libelf any more. Just drop the dependency. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* replace host-mpc with host-system-mpcMichael Olbrich2020-08-276-48/+34
| | | | | | | | | | This is a first step to make gcc plugins possible. The header files for plugins include the headers for several of host libraries that are currently statically compiled. Use the system versions of those libraries. This way the user can install the corresponding devel packages. Then gcc plugins can be built. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* replace host-mpfr with host-system-mpfrMichael Olbrich2020-08-276-50/+34
| | | | | | | | | | This is a first step to make gcc plugins possible. The header files for plugins include the headers for several of host libraries that are currently statically compiled. Use the system versions of those libraries. This way the user can install the corresponding devel packages. Then gcc plugins can be built. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* replace host-gmp with host-system-gmpMichael Olbrich2020-08-277-56/+36
| | | | | | | | | | This is a first step to make gcc plugins possible. The header files for plugins include the headers for several of host libraries that are currently statically compiled. Use the system versions of those libraries. This way the user can install the corresponding devel packages. Then gcc plugins can be built. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* replace host-isl with host-system-islMichael Olbrich2020-08-276-51/+30
| | | | | | | | | | | | | This is a first step to make gcc plugins possible. The header files for plugins include the headers for several of host libraries that are currently statically compiled. Use the system versions of those libraries. This way the user can install the corresponding devel packages. Then gcc plugins can be built. libisl is not needed for plugins but one more dependency into the system makes no difference and this makes maintaining the toolchain easier. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>