From ad8b2e99dc7cbd90b4d05080a7d11ca5b8d71054 Mon Sep 17 00:00:00 2001 From: "Modding.MyMind" Date: Fri, 24 Jul 2015 21:27:48 -0400 Subject: [PATCH] Include Base Address Warning for non standard offsets --- ARM/mkboot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ARM/mkboot b/ARM/mkboot index d161938..211e0e6 100755 --- a/ARM/mkboot +++ b/ARM/mkboot @@ -367,7 +367,7 @@ else fi # Below are the known offsets for non standard mkbootimg.c -if [[ ! -z $kernel_offset_warning ]] || [[ ! -z $ramdisk_offset_warning ]] || [[ ! -z $second_offset_warning ]] || [[ ! -z $tags_offset_warning ]] ; then +if [[ ! -z $base_warning ]] || [[ ! -z $kernel_offset_warning ]] || [[ ! -z $ramdisk_offset_warning ]] || [[ ! -z $second_offset_warning ]] || [[ ! -z $tags_offset_warning ]]; then perr "****** WARNING ******* WARNING ******* WARNING ******\n" pout "This image is built using NON-standard mkbootimg!\n" fi @@ -386,7 +386,7 @@ fi if [ ! -z $tags_offset_warning ]; then pout "TAGS_OFFSET is $tags_offset_ns" fi -if [[ ! -z $kernel_offset_warning ]] || [[ ! -z $ramdisk_offset_warning ]] || [[ ! -z $second_offset_warning ]] || [[ ! -z $tags_offset_warning ]]; then +if [[ ! -z $base_warning ]] || [[ ! -z $kernel_offset_warning ]] || [[ ! -z $ramdisk_offset_warning ]] || [[ ! -z $second_offset_warning ]] || [[ ! -z $tags_offset_warning ]] ; then pout "\nYou can modify mkbootimg.c with the above value(s)" perr "\n****** WARNING ******* WARNING ******* WARNING ******\n" fi