[AT&T Samsung Galaxy S II SGH-I777] brendonlee:
Thanks for looking at that man. You just kinda reminded me that I have a VM from a few days ago that does the kernel compile & then builds that I can use to compare to the new one I've been using.

---------- Post added at 07:41 PM ---------- Previous post was at 07:04 PM ----------

Well, after comparing the files - it definitely was changed, probably to make the process better/streamlined.

The old code when building:

# Start the Build
case "$ADDITIONAL" in
kernel)
echo -e "${txtgrn}Building Kernel...${txtrst}"
cd kernel/samsung/${board}
./build.sh "$COMMAND"
cd ../../..
echo -e "${txtgrn}Building Android...${txtrst}"
brunch ${brunch}
;;
*)
echo -e "${txtgrn}Building Android...${txtrst}"
brunch ${brunch}
;;
esac

and the new code:

# Start the Build
case "$ADDITIONAL" in
kernel)
echo -e "${txtgrn}Rebuilding bootimage...${txtrst}"

rm -rf out/target/product/${COMMAND}/obj/KERNEL_OBJ
rm out/target/product/${COMMAND}/kernel
rm out/target/product/${COMMAND}/boot.img
rm -rf out/target/product/${COMMAND}/ramdisk*

make -j${THREADS} out/target/product/${COMMAND}/boot.img
;;
*)
echo -e "${txtgrn}Building Android...${txtrst}"
brunch ${brunch}
;;
esac

It seems to be exiting the case before it gets to

echo -e "${txtgrn}Building Android...${txtrst}"
brunch ${brunch}

as it does output the elapsed time (which code is after the case statement), but does not echo "Building Android..." and does not do a brunch. Unfortunately I'm not strong enough with programming to figure out why it is exiting :confused:. I'm sure someone else can see it plain as day.

Interestingly enough, I've also found that during the build of 'new' kernel, for some reason it decides to use the prebuilt kernel instead:

uild/core/tasks/kernel.mk:26: ***************************************************************
build/core/tasks/kernel.mk:27: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:28: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:29: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:30: * source repository to kernel/samsung/i777
build/core/tasks/kernel.mk:31: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:32: * for more information *
build/core/tasks/kernel.mk:33: *************************************************

Maybe because of the deprecated commands? Either way, apparently using "./build.sh i777 kernel" no longer compiles the kernel OR builds android.

EDIT: After looking at it, I realized...shouldn't Build Android lines be directly after the

"make -j${THREADS} out/target/product/${COMMAND}/boot.img"?

Something similar to:

# Start the Build
case "$ADDITIONAL" in
kernel)
echo -e "${txtgrn}Rebuilding bootimage...${txtrst}"

rm -rf out/target/product/${COMMAND}/obj/KERNEL_OBJ
rm out/target/product/${COMMAND}/kernel
rm out/target/product/${COMMAND}/boot.img
rm -rf out/target/product/${COMMAND}/ramdisk*

make -j${THREADS} out/target/product/${COMMAND}/boot.img
echo -e "${txtgrn}Building Android...${txtrst}"
brunch ${brunch}
;;
*)
echo -e "${txtgrn}Building Android...${txtrst}"
brunch ${brunch}
;;
esac

since the second "Building Android" command is part of the 'else' part of the case statement? This is why I didn't become a programmer haha ::facepalm::