Skip to content

Commit

Permalink
Merge pull request fbelavenuto#420 from jimmyGALLAND/main
Browse files Browse the repository at this point in the history
Update vmlinux-to-bzImage.sh
  • Loading branch information
fbelavenuto authored Dec 12, 2022
2 parents 2edab6d + 6e3ae60 commit 17a35c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions files/board/arpl/overlayfs/opt/arpl/vmlinux-to-bzImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17a35c1

Please sign in to comment.