How to build:
pacman -S dtc android-tools sunxi-tools patch flex bison
- install from AUR simg-tools
- install from AUR arm-linux-gnueabihf-gcc
- correct order of the dependencies (source):
arm-linux-gnueabihf-binutils
arm-linux-gnueabihf-gcc-stage1
, requiresflex
(source)arm-linux-gnueabihf-linux-api-headers
arm-linux-gnueabihf-glibc-headers
, requiresbison
arm-linux-gnueabihf-gcc-stage2
, this will removearm-linux-gnueabihf-gcc-stage1
arm-linux-gnueabihf-glibc
, this will removearm-linux-gnueabihf-glibc-headers
arm-linux-gnueabihf-gcc
, this will removearm-linux-gnueabihf-gcc-stage2
- in case of missing GPG keys (source):
gpg --recv-keys 13FCEF89DD9E3C4F
(req'd byarm-linux-gnueabihf-binutils
)gpg --recv-keys BBE43771487328A9
(req'd byarm-linux-gnueabihf-gcc-stage1
)gpg --recv-keys 38DBBDC86092693E
(req'd byarm-linux-gnueabihf-linux-api-headers
)gpg --recv-keys 16792B4EA25340F8
(req'd byarm-linux-gnueabihf-glibc-headers
)
- correct order of the dependencies (source):
git clone https://github.com/mydzor/chip-arch-build.git
cd chip-arch-build
git submodule init
git submodule update
./build.sh
More info: http://www.chip-community.org/index.php/Archlinuxarm_on_chip