Update vmlinux-to-bzImage.sh

Kernel 3 bromolow forget
This commit is contained in:
jimmyGALLAND 2022-12-12 18:24:21 +01:00 committed by GitHub
parent 2edab6d5dd
commit 6e3ae602bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,8 +41,9 @@ size_le () {
SCRIPT_DIR=`dirname $0`
VMLINUX_MOD=${1}
ZIMAGE_MOD=${2}
if [ ${KVER:0:1} -eq 4 ]; then
# Kernel version 4.x
KVER_MAJOR=${KVER:0:1}
if [ $KVER_MAJOR -eq 4 ] || [ $KVER_MAJOR -eq 3 ]; then
# Kernel version 4.x or 3.x (bromolow)
#zImage_head 16494
#payload(
# vmlinux.bin x