Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-Prasad-V committed Jul 31, 2024
1 parent 16e4021 commit 6085c80
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,23 @@ if [[ "$JETPACK_VERSION" == "6.0" ]]; then
ln -sf $TEGRA_KERNEL_OUT $SRCS/out
if [[ "$DEVDBG" == "1" ]]; then
cd $KERNEL_HEADERS
# Generate .config file from default defconfig
make ARCH=arm64 defconfig
# Update the CONFIG_DYNAMIC_DEBUG and CONFIG_DEBUG_CORE flags in .config file
scripts/config --enable DYNAMIC_DEBUG
scripts/config --enable DYNAMIC_DEBUG_CORE
# Convert the .config file into defconfig
make ARCH=arm64 savedefconfig
# Save the new generated file as custom_defconfig
cp defconfig ./arch/arm64/configs/custom_defconfig
# Remove unwanted
rm defconfig .config
make ARCH=arm64 mrproper
cd $SRCS
# Building the Image with custom_defconfig
make ARCH=arm64 KERNEL_DEF_CONFIG=custom_defconfig -C kernel
else
# Building the Image with default defconfig
make ARCH=arm64 -C kernel
fi
make ARCH=arm64 modules
Expand Down

0 comments on commit 6085c80

Please sign in to comment.