Jump to content

Xavier/JetPack 5.0.2/Compiling Code: Difference between revisions

mNo edit summary
 
Line 119: Line 119:
5. Build the BSP:
5. Build the BSP:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
make ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=$CROSS_COMPILE -j4
make ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=$CROSS_COMPILE -j4 LOCALVERSION="-tegra"
</syntaxhighlight>
</syntaxhighlight>


Line 132: Line 132:
6. Install the modules to the output directory created in step 1:
6. Install the modules to the output directory created in step 1:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
make modules_install ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=$CROSS_COMPILE INSTALL_MOD_PATH=$KERNEL_MODULES_OUT
make modules_install ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=$CROSS_COMPILE INSTALL_MOD_PATH=$KERNEL_MODULES_OUT LOCALVERSION="-tegra"
</syntaxhighlight>
</syntaxhighlight>


866

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.