#!/bin/bash

#------------ config ------------------
export PATH=$PATH:/opt/toolchains/arm-buildroot-linux-uclibcgnueabihf/bin
export version=0.0.1                                  # script version
export root=$(pwd)                                    # root build directory
# disk="sdz"                                     # disk to write install image
export distro_name="Simple"                           # distro name
export distro_desc="Simple linux distro"              # distro desctiption
export distro_codename="zero_zero_one"                # distro codename
# hyperv_support="false"                         # hyperv support for kernel image
export out=$root/out                                  # output directory
export build=$root/build                              # build directory
export sourcesfilename=sources.txt                    # sources file for downloading
export initramfsfile=$root/initramfs/initramfs.txt    # file to created directories for initramfs
export initramfspath=$build/initramfs                 # initramfs build directory
export rootfsfile=$root/rootfs/rootfs.txt             # file to created directories for rootfs
export rootfspath=$build/rootfs                       # rootfs build directory
export fulllogfile=$root/.log/fulllog.log             # file for full build logs
export makeflags=-j$(nproc) # makeflags
export CROSS_COMPILE=arm-buildroot-linux-uclibcgnueabihf
export ARCH=arm
export sdroot=$out/sdroot

export ZLIB_ENABLE="true"
export DROPBEAR_ENABLE="true"
export IMAGE_USABLE_ENABLE="true"
export SFTP_SERVER_ENABLE="true"
export CURL_ENABLE="false"
export BASH_ENABLE="false"
export GIT_ENABLE="false"
export GITEA_ENABLE="false"
export LIBNL_ENABLE="true"
export IW_ENABLE="true"
export WIRELES_TOOLS_ENABLE="true"
export WPA_SUPPLICANT_ENABLE="true"
export HOSTAPD_ENABLE="true"
export OPENSSL_ENABLE="true"
export DNSMASQ_ENABLE="true"
export IPTABLES_ENABLE="true"
export KO8821AU_ENABLE="true"
#--------------------------------------
