some update
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -2,9 +2,13 @@
|
|||||||
|
|
||||||
#------------ config ------------------
|
#------------ config ------------------
|
||||||
export PATH=$PATH:/opt/toolchains/aarch64-buildroot-linux-uclibc/bin
|
export PATH=$PATH:/opt/toolchains/aarch64-buildroot-linux-uclibc/bin
|
||||||
|
export PKG_CONFIG_PATH=/opt/toolchains/aarch64-buildroot-linux-uclibc/aarch64-buildroot-linux-uclibc/sysroot/usr/lib/pkgconfig
|
||||||
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
|
||||||
export distro_name="Simple" # distro name
|
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_desc="Simple linux distro" # distro desctiption
|
||||||
export distro_codename="zero_zero_one" # distro codename
|
export distro_codename="zero_zero_one" # distro codename
|
||||||
export BOARD_NAME=orangepi_zero_2w
|
export BOARD_NAME=orangepi_zero_2w
|
||||||
@@ -27,21 +31,23 @@ export KERNEL_CONFIG_FILE=${root}/board/${BOARD_NAME}/linux-${KERNEL_VERSION}.co
|
|||||||
|
|
||||||
export UBOOT_DEFCONFIG=orangepi_zero2w_defconfig
|
export UBOOT_DEFCONFIG=orangepi_zero2w_defconfig
|
||||||
|
|
||||||
export ZLIB_ENABLE=y
|
export ZLIB_ENABLE=n
|
||||||
export DROPBEAR_ENABLE=y
|
export DROPBEAR_ENABLE=n
|
||||||
export IMAGE_USABLE_ENABLE=y
|
export IMAGE_USABLE_ENABLE=y
|
||||||
export SFTP_SERVER_ENABLE=y
|
export IMAGE_ENABLE=y
|
||||||
|
export SFTP_SERVER_ENABLE=n
|
||||||
export CURL_ENABLE=n
|
export CURL_ENABLE=n
|
||||||
export BASH_ENABLE=n
|
export BASH_ENABLE=n
|
||||||
export GIT_ENABLE=n
|
export GIT_ENABLE=n
|
||||||
export GITEA_ENABLE=n
|
export GITEA_ENABLE=n
|
||||||
export LIBNL_ENABLE=y
|
export LIBNL_ENABLE=n
|
||||||
export IW_ENABLE=y
|
export IW_ENABLE=n
|
||||||
export WIRELES_TOOLS_ENABLE=y
|
export WIRELES_TOOLS_ENABLE=n
|
||||||
export WPA_SUPPLICANT_ENABLE=y
|
export WPA_SUPPLICANT_ENABLE=n
|
||||||
export HOSTAPD_ENABLE=y
|
export HOSTAPD_ENABLE=n
|
||||||
export OPENSSL_ENABLE=y
|
export OPENSSL_ENABLE=n
|
||||||
export DNSMASQ_ENABLE=y
|
export DNSMASQ_ENABLE=n
|
||||||
export IPTABLES_ENABLE=y
|
export IPTABLES_ENABLE=n
|
||||||
export KO8821AU_ENABLE=n
|
export KO8821AU_ENABLE=n
|
||||||
|
export FINIT_INIT_ENABLE=y
|
||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -d out ]; then
|
if [ -d out ]; then
|
||||||
rm -rv out;
|
rm -rvf out;
|
||||||
fi
|
fi
|
||||||
if [ -d build ]; then
|
if [ -d build ]; then
|
||||||
rm -rv build
|
rm -rvf build
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -29,4 +29,5 @@ dropbear() {
|
|||||||
${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/bin/*
|
${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/bin/*
|
||||||
mkdir -pv $build/rootfs/etc/dropbear
|
mkdir -pv $build/rootfs/etc/dropbear
|
||||||
# check $? "Installing to rootfs zlib"
|
# check $? "Installing to rootfs zlib"
|
||||||
|
rm -rvf $rootfspath/usr/share/man
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,4 +21,7 @@ zlib() {
|
|||||||
# rm -rv $rootfspath/usr/include $rootfspath/usr/share/man $rootfspath/usr/lib/{pkgconfig,libz.a}
|
# rm -rv $rootfspath/usr/include $rootfspath/usr/share/man $rootfspath/usr/lib/{pkgconfig,libz.a}
|
||||||
${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/lib/libz.so.${pkgver}
|
${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/lib/libz.so.${pkgver}
|
||||||
check $? "Installing to rootfs ${pkgname}"
|
check $? "Installing to rootfs ${pkgname}"
|
||||||
|
rm -rvf $rootfspath/usr/lib/pkgconfig
|
||||||
|
find $rootfspath -type f -name "*.a" -delete
|
||||||
|
find $rootfspath -type f -name "*.la" -delete
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user