summaryrefslogtreecommitdiffstats
path: root/rules
Commit message (Collapse)AuthorAgeFilesLines
* add make target to install the toolchainMichael Olbrich2019-09-051-0/+21
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules, scripts: use PTXDIST_SYSROOT_CROSS instead of PTXCONF_DESTDIRMichael Olbrich2019-09-032-3/+3
| | | | | | | 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>
* newlib: prefer https over ftpMichael Olbrich2019-09-021-1/+1
| | | | | | ftp causes problems with some corporate firewalls. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gdb: prefer https over ftpMichael Olbrich2019-09-021-1/+1
| | | | | | ftp causes problems with some corporate firewalls. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-binutils: prefer https over ftpMichael Olbrich2019-09-021-1/+1
| | | | | | | | ftp causes problems with some corporate firewalls. And http://sources.redhat.com redirects to sourceware.org, so use that directly. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* glibc: drop old snapshot URLMichael Olbrich2019-09-021-1/+0
| | | | | | This path contains only ancient version. Nothing that is relevant now. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* The CREDITS file in PTXdist is gone and the toolchain never had oneMichael Olbrich2019-09-0233-66/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-xz: use proper spdx syntax for the licenseMichael Olbrich2019-09-021-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-expat: version bump 2.2.6 -> 2.2.7Michael Olbrich2019-09-021-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* glibc-headers: skip the compiler checkMichael Olbrich2019-09-021-0/+1
| | | | | | | | | | It's meaningless. We fake some minimal stuff with the host compiler to get the headers. The compiler version is not relevant here. This makes it possible to build the toolchain with a host gcc 5.x even though glibc-2.30 requires gcc >= 6.2. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-clang/llvm: version bump 8.0.0 -> 8.0.1Michael Olbrich2019-09-022-2/+6
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: used PTXDIST_SYSROOT_* everywhere for consistencyMichael Olbrich2019-09-022-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-toolchain: cleanupMichael Olbrich2019-09-021-10/+4
| | | | | | | Simplify using 'install' and don't create 'toolchain-install-dir'. It has not been used for a long time. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel-headers: delete unnecessary filesMichael Olbrich2019-09-021-0/+2
| | | | | | These are created during 'headers_install' but not actually needed. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel-headers: install to pkgdirMichael Olbrich2019-09-021-5/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc: use symlinks instead of hardlinksMichael Olbrich2019-09-021-0/+4
| | | | | | | This makes it less likely to accidentally duplicate the file. Also, Debian uses symlinks for this as well. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc: drop unnecessary symlinksMichael Olbrich2019-09-021-24/+0
| | | | | | | | | | | | These symlinks used to be necessary for ld to find the libraries. However, links for some libraries are missing (e.g. libatomic). This caused various linker errors. 3f6cf1ed53b19e77ab43306d239eb2310a11107f ("cross-binutils: improve search paths") added the real path of those libraries to the search path, so the extra symlinks are no longer necessary. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image-toolchain-tgz: strip host binaries only for the tarballMichael Olbrich2019-09-022-28/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* pre/toolchain: use -fdebug-prefix-map everywhereMichael Olbrich2019-09-021-5/+13
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cleanup: handle cleanup during installMichael Olbrich2019-09-021-30/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-elf2flt: use symlinks instead of hardlinksMichael Olbrich2019-09-021-0/+7
| | | | | | | This makes it less likely to accidentally duplicate the file. Also, Debian uses symlinks for this as well. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-binutils: use symlinks instead of hardlinksMichael Olbrich2019-09-021-0/+7
| | | | | | | This makes it less likely to accidentally duplicate the file. Also, Debian uses symlinks for this as well. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* uclibc: install to pkgdirMichael Olbrich2019-09-022-3/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* glibc: install to pkgdirMichael Olbrich2019-09-023-20/+18
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-llvm: install to pkgdirMichael Olbrich2019-09-021-9/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gdb: install to pkgdirMichael Olbrich2019-09-021-6/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc: install to pkgdirMichael Olbrich2019-09-022-11/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-elf2flt: install to pkgdirMichael Olbrich2019-09-022-5/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-clang: install to pkgdirMichael Olbrich2019-09-021-7/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-binutils: install to pkgdirMichael Olbrich2019-09-022-6/+9
| | | | | | | | | This also introduces the CROSS_BINUTILS_LD_REAL option. This will be used by cross-elf2flt. During installation elf2flt moves 'ld' out of the way to replace it with a wrapper. This is no longer possible with pkgdir, so we do this manually here. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* pre/toolchain: prepare to install most packages to pkgdir firstMichael Olbrich2019-09-021-3/+5
| | | | | | | | 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>
* glibc: remove unused variableMichael Olbrich2019-09-021-3/+0
| | | | | | | This was never used like this. The same path is generated from the package name in ptxd_make_world_copy_license(). Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cleanup: use PTXCONF_SYSROOT_TARGETMichael Olbrich2019-09-021-1/+1
| | | | | | PTXCONF_SYSROOT_TARGET is defined this way, so use it directly. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: use the regular pkgdir handling for host packagesMichael Olbrich2019-09-0210-19/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Kconfig: use generated section for host toolsMichael Olbrich2019-09-0211-0/+23
| | | | | | This way we don't need to add the needed includes manually. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-clang: new packageMichael Olbrich2019-08-182-0/+134
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-llvm: new packageMichael Olbrich2019-08-112-0/+130
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* toolchain.make: expand $PATHMichael Olbrich2019-07-041-1/+1
| | | | | | | This is the equivalent to the upstream PTXdist commit 87acd6909282c9d8bb75d0c1ba1fc719925713a3. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-zlib: build with -fPICMichael Olbrich2019-07-041-0/+2
| | | | | | Needed to use in share libraries. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* coss-gcc: use https instead of ftpMichael Olbrich2019-04-021-2/+2
| | | | | | Firewalls can cause problems for ftp downloads, so use https instead. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-mpfr: version bump 4.0.1 -> 4.0.2Michael Olbrich2019-04-021-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-libelf: version bump 0.174 -> 0.176Michael Olbrich2019-04-021-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-isl: version bump 0.20 -> 0.21Michael Olbrich2019-04-021-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: update license identifier to latest SPDX versionMichael Olbrich2018-12-138-8/+8
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gdb: add missing dependencyMichael Olbrich2018-12-131-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* cross-gcc/cross-binutils/cross-gdb: more debug dataMichael Olbrich2018-12-133-1/+13
| | | | | | It's either stripped anyways or added to the debian debug packaages. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* architecture: add RISCV64Rouven Czerwinski2018-12-131-1/+5
| | | | | | | | We only support RV64IMAFD (RV64G). For RV64 with the D extension long double is 16 Bytes. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* newlib: add support for download versionMichael Olbrich2018-12-132-1/+8
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel-headers: pick a explicit defconfig for ppcMichael Olbrich2018-12-131-1/+7
| | | | | | Otherwise it will try x86_64_defconfig, which is obviously wrong. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-xz: version bump 5.2.3 -> 5.2.4Michael Olbrich2018-12-131-4/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>