Add support build kernel image with integrated initramfs for Asus TUF-AX4200

This commit is contained in:
remittor
2023-10-27 14:34:22 +03:00
parent 2daccbef95
commit 975cc0efb3
4 changed files with 102 additions and 0 deletions

View File

@@ -94,3 +94,10 @@ get_cfg_pkg_flag() {
echo "$k"
}
get_cfg_opt_flag() {
local cfg=$1
local name=$2
local k=$( grep -o -P "(?<=^CONFIG_$name=).*" "$cfg" 2> /dev/null )
echo "$k"
}