Project

General

Profile

Toolchain » History » Version 3

Wolfgang Wiedmeyer, 04/26/2017 09:43 PM
add repo todo

1 1 Wolfgang Wiedmeyer
h1. Toolchain
2
3 2 Wolfgang Wiedmeyer
Development efforts to get rid of prebuilt binaries in the Replicant source code are tracked on this page. Prebuilts usually belong to the toolchain, but they can also be found in other parts of the source code. Most of them reside in the @prebuilts@ directory.
4 1 Wolfgang Wiedmeyer
5
These binaries are committed to AOSP git repos and in most cases, it is poorly documented, how they can be rebuilt. Compiler rebuild scripts rely on the prebuilt compilers to build the compilers. It is possible that non-free software was used to build the prebuilts (e.g. Google-internal Java compiler). To keep the build trustworthy, we need to make sure, that as little prebuilts as possible are used.
6
7
Building as much from source as possible is one strategy to achieve this. Using packaged versions of the prebuilts that are provided by GNU/Linux distributions is an alternative way to ensure that the binaries can be trusted. If the prebuilts are available as packages, then these should be preferred before a clean build from source is investigated. A clean build means that no prebuilts from the source code are required. 
8 2 Wolfgang Wiedmeyer
9
h2. Choosing a main target distribution for building Replicant
10 3 Wolfgang Wiedmeyer
11
h2. TODO
12
13
h3. @repo@
14
15
Get the @repo@ tool back into the main repository of Debian. It is currently in the contrib repo due to "bug #855846":https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23855846. A substantial patch is needed, which should remove the self-updating part of @repo@ or make it optional.