Files
SimpleLinux/configs/x86_64_uclibc_defconfig

43 lines
2.0 KiB
Bash
Executable File

#!/bin/sh
#------------ config ------------------
export PATH=$PATH:/opt/toolchains/x86_64-buildroot-linux-uclibc_sdk-buildroot/bin
export PKG_CONFIG_PATH=/opt/toolchains/x86_64-buildroot-linux-uclibc_sdk-buildroot/x86_64-buildroot-linux-uclibc/sysroot/usr/lib/pkgconfig
export version=0.0.1 # script version
export root=$(pwd) # root build directory
export distro_name="Simple Linux" # distro name
export distro_pretty_name="Simple Linux"
export distro_id="simple"
export distro_build_id="rolling"
export distro_desc="Simple linux distro" # distro desctiption
export distro_codename="zero_zero_one" # distro codename
export BOARD_NAME="x86_64_uclibc"
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=x86_64-buildroot-linux-uclibc
export ARCH=x86_64
export diskroot=$out/diskroot
export UCLIBC_CONFIG_FILE=${root}/board/${BOARD_NAME}/uclibc-1.0.50.config
export KERNEL_VERSION=6.1.91
export KERNEL_CONFIG_FILE=${root}/board/${BOARD_NAME}/linux-${KERNEL_VERSION}.config
export ZLIB_ENABLE=y
export DROPBEAR_ENABLE=y
export IMAGE_USABLE_ENABLE=n
export IMAGE_ENABLE=n
export SFTP_SERVER_ENABLE=n
export CURL_ENABLE=n
export BASH_ENABLE=n
export GIT_ENABLE=n
export GITEA_ENABLE=n
export FINIT_INIT_ENABLE=y
#--------------------------------------