added hostapd and openssl

This commit is contained in:
wt
2025-03-05 17:52:04 +07:00
parent 4ff7423c21
commit 98836f9b99
12 changed files with 107 additions and 29 deletions
+11
View File
@@ -57,3 +57,14 @@ kernel_with_rootfs() {
check $? "Install Linux Kernel into images path"
}
#-----------------------------------------------------------
kernel_headers() {
printf "$UGREEN** Building Linux Kernel headers\n$RESET"
[ ! -d $build/kernel-headers ] && mkdir $build/kernel-headers
cd $build/kernel-headers
tar -xvf $root/downloads/linux-$kernel_version.tar.xz
check $? "Extract Linux Kernel"
cd linux-$kernel_version
make ARCH=$ARCH headers
check $? "Build kernel headers"
}