arm-sdk

os build toolkit for various embedded devices
git clone https://git.parazyd.org/arm-sdk
Log | Files | Refs | Submodules | README | LICENSE

config (3276B)


      1 #!/usr/bin/env zsh
      2 # Copyright (c) 2016-2020 Ivan J. <parazyd@dyne.org>
      3 # This file is part of arm-sdk
      4 #
      5 # This source code is free software: you can redistribute it and/or modify
      6 # it under the terms of the GNU General Public License as published by
      7 # the Free Software Foundation, either version 3 of the License, or
      8 # (at your option) any later version.
      9 #
     10 # This software is distributed in the hope that it will be useful,
     11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13 # GNU General Public License for more details.
     14 #
     15 # You should have received a copy of the GNU General Public License
     16 # along with this source code. If not, see <http://www.gnu.org/licenses/>.
     17 
     18 # Options for `make` when building kernels
     19 MAKEOPTS="-j$(( $(grep -c 'processor' /proc/cpuinfo) + 1 ))"
     20 
     21 # Comment if you wish to disable stage4 archives for faster rebuilding
     22 CPIO_STAGE4=1
     23 
     24 # Comment if you wish to disable image compression
     25 COMPRESS_IMAGE=1
     26 
     27 armhftc="arm-linux-gnueabihf-"
     28 armeltc="arm-none-eabi-"
     29 arm64tc="aarch64-linux-gnu-"
     30 
     31 export PATH="$PATH:/usr/sbin:/sbin:/usr/bin:/bin:$R/gcc/or1k-linux-musl/bin"
     32 
     33 # Static qemu arm binaries
     34 armel_qemu_bin="/usr/bin/qemu-arm-static"
     35 armhf_qemu_bin="/usr/bin/qemu-arm-static"
     36 arm64_qemu_bin="/usr/bin/qemu-aarch64-static"
     37 
     38 # extra_packages for all images
     39 extra_packages+=(fake-hwclock busybox-static ntp)
     40 extra_packages+=(pciutils usbutils)
     41 purge_packages+=()
     42 
     43 # Linux kernel firmware
     44 linuxfirmware="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
     45 
     46 # Linux mainline kernel
     47 linuxmainline="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"
     48 
     49 # u-boot mainline
     50 ubootmainline="git://git.denx.de/u-boot.git"
     51 
     52 arrs+=(uboot_configs board_dtbs)
     53 uboot_configs=(
     54 	A10-OLinuXino-Lime_defconfig
     55 	A20-OLinuXino-Lime2_defconfig
     56 	A20-OLinuXino-Lime_defconfig
     57 	A20-OLinuXino_MICRO_defconfig
     58 	Bananapi_defconfig
     59 	Bananapro_defconfig
     60 	CHIP_defconfig
     61 	CHIP_pro_defconfig
     62 	Cubieboard2_defconfig
     63 	Cubieboard4_defconfig
     64 	Cubieboard_defconfig
     65 	Cubietruck_defconfig
     66 	Cubietruck_plus_defconfig
     67 	Lamobo_R1_defconfig
     68 	orangepi_2_defconfig
     69 	Orangepi_defconfig
     70 	orangepi_lite_defconfig
     71 	Orangepi_mini_defconfig
     72 	orangepi_pc_defconfig
     73 	orangepi_plus_defconfig
     74 	orangepi_plus2e_defconfig
     75 	orangepi_zero_defconfig
     76 	q8_a33_tablet_1024x600_defconfig
     77 	q8_a33_tablet_800x480_defconfig
     78 	Sinovoip_BPI_M2_defconfig
     79 )
     80 board_dtbs=(
     81 	sun4i-a10-olinuxino-lime.dtb
     82 	sun7i-a20-olinuxino-lime2.dtb
     83 	sun7i-a20-olinuxino-lime.dtb
     84 	sun7i-a20-olinuxino-micro.dtb
     85 	sun7i-a20-bananapi.dtb
     86 	sun7i-a20-bananapro.dtb
     87 	sun5i-r8-chip.dtb
     88 	sun5i-gr8-chip-pro.dtb
     89 	sun7i-a20-cubieboard2.dtb
     90 	sun9i-a80-cubieboard4.dtb
     91 	sun4i-a10-cubieboard.dtb
     92 	sun7i-a20-cubietruck.dtb
     93 	sun8i-a83t-cubietruck-plus.dtb
     94 	sun7i-a20-lamobo-r1.dtb
     95 	sun8i-h3-orangepi-2.dtb
     96 	sun7i-a20-orangepi.dtb
     97 	sun8i-h3-orangepi-lite.dtb
     98 	sun7i-a20-orangepi-mini.dtb
     99 	sun8i-h3-orangepi-pc.dtb
    100 	sun8i-h3-orangepi-plus.dtb
    101 	sun8i-h3-orangepi-plus2e.dtb
    102 	sun8i-h2-plus-orangepi-zero.dtb
    103 	sun8i-a33-q8-tablet.dtb
    104 	sun6i-a31s-sinovoip-bpi-m2.dtb
    105 )
    106 
    107 ## http://git.denx.de/?p=u-boot.git;a=blob;f=board/sunxi/README.pine64
    108 uboot64_configs=(
    109 	pine64_plus_defconfig
    110 )
    111 board64_dtbs=(
    112 	allwinner/sun50i-a64-pine64-plus.dtb
    113 )