#!/usr/bin/env zsh # Copyright (c) 2016 Dyne.org Foundation # arm-sdk is written and maintained by Ivan J. # # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This software is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this source code. If not, see . ## arm-sdk configuration ## --------------------- ## options for `make` when building kernel MAKEOPTS="-j$(expr $(grep -c 'processor' /proc/cpuinfo) + 1)" ## custom toolchain (armv7+armhf; gcc 4.9.3) ## https://pub.parazyd.cf/mirror/ compiler="armv7-devuan-linux-gnueabihf-" export PATH="$R/gcc/armv7-devuan-linux-gnueabihf/bin:$PATH:/sbin" ## custom toolchain (armv6+armel; gcc 4.9.3) ## https://pub.parazyd.cf/mirror/ #compiler="armv6-devuan-linux-gnueabi-" #export PATH="$R/gcc/armv6-devuan-linux-gnueabi/bin:$PATH:/sbin" ## custom toolchain (aarch64+arm64; gcc 4.9.3) ## https://pub.parazyd.cf/mirror/ #compiler="aarch64-devuan-linux-gnueabi-" #export PATH="$R/gcc/aarch64-devuan-linux-gnueabi/bin:$PATH:/sbin" ## devuan packaged toolchain #compiler="arm-none-eabi-" #export PATH="$PATH:/sbin" ## static qemu arm binary qemu_bin="/usr/bin/qemu-arm-static" # Devuan #qemu_bin="/usr/bin/qemu-aarch64-static" # Devuan #qemu_bin="/usr/bin/qemu-arm" # Gentoo #qemu_bin="/usr/bin/qemu-aarch" # Gentoo ## extra_packages for all images extra_packages+=(fake-hwclock busybox-syslogd busybox-static openntpd) extra_packages+=(fbterm) purge_packages+=(rsyslog) ## linux kernel firmware linuxfirmware="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" ## linux mainline kernel linuxmainline="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" ## u-boot mainline ubootmainline="git://git.denx.de/u-boot.git"