added home

This commit is contained in:
wt
2025-04-08 16:25:15 +07:00
parent fe4aecad06
commit 0e557a1dcb
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ out
build build
downloads downloads
.log .log
scripts/config.sh **config.sh
**src **src
**pkg **pkg
.vscode .vscode
+8 -8
View File
@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#------------ config ------------------ #------------ config ------------------
export PATH=$PATH:/opt/toolchains/arm-buildroot-linux-uclibcgnueabihf/bin export PATH=$PATH:/opt/toolchains/aarch64-buildroot-linux-uclibc/bin
export version=0.0.1 # script version export version=0.0.1 # script version
export root=$(pwd) # root build directory export root=$(pwd) # root build directory
# disk="sdz" # disk to write install image # disk="sdz" # disk to write install image
@@ -9,7 +9,7 @@ export distro_name="Simple" # distro name
export distro_desc="Simple linux distro" # distro desctiption export distro_desc="Simple linux distro" # distro desctiption
export distro_codename="zero_zero_one" # distro codename export distro_codename="zero_zero_one" # distro codename
# hyperv_support="false" # hyperv support for kernel image # hyperv_support="false" # hyperv support for kernel image
export BOARD_NAME=orangepi_pc export BOARD_NAME=orangepi_zero_2w
export out=$root/out # output directory export out=$root/out # output directory
export build=$root/build # build directory export build=$root/build # build directory
export sourcesfilename=sources.txt # sources file for downloading export sourcesfilename=sources.txt # sources file for downloading
@@ -19,15 +19,15 @@ export rootfsfile=$root/rootfs/rootfs.txt # file to created director
export rootfspath=$build/rootfs # rootfs build directory export rootfspath=$build/rootfs # rootfs build directory
export fulllogfile=$root/.log/fulllog.log # file for full build logs export fulllogfile=$root/.log/fulllog.log # file for full build logs
export makeflags=-j$(nproc) # makeflags export makeflags=-j$(nproc) # makeflags
export CROSS_COMPILE=arm-buildroot-linux-uclibcgnueabihf export CROSS_COMPILE=aarch64-buildroot-linux-uclibc
export ARCH=arm export ARCH=arm64
export sdroot=$out/sdroot export sdroot=$out/sdroot
export UCLIBC_CONFIG_FILE=${root}/board/${BOARD_NAME}/uclibc-1.0.50.config export UCLIBC_CONFIG_FILE=$root/board/${BOARD_NAME}/uclibc-1.0.50.config
export KERNEL_VERSION=6.13.3 export KERNEL_VERSION=6.8.6
export KERNEL_CONFIG_FILE=${root}/board/${BOARD_NAME}/linux-${KERNEL_VERSION}.config export KERNEL_CONFIG_FILE=${root}/board/${BOARD_NAME}/linux-${KERNEL_VERSION}.config
export UBOOT_DEFCONFIG=orangepi_pc_defconfig export UBOOT_DEFCONFIG=orangepi_zero2w_defconfig
export ZLIB_ENABLE=y export ZLIB_ENABLE=y
export DROPBEAR_ENABLE=y export DROPBEAR_ENABLE=y
@@ -45,5 +45,5 @@ export HOSTAPD_ENABLE=y
export OPENSSL_ENABLE=y export OPENSSL_ENABLE=y
export DNSMASQ_ENABLE=y export DNSMASQ_ENABLE=y
export IPTABLES_ENABLE=y export IPTABLES_ENABLE=y
export KO8821AU_ENABLE=y export KO8821AU_ENABLE=n
#-------------------------------------- #--------------------------------------