Enter the kernel directory that created in TUT 2, and locate “Makefile”.
In line 193 (approximately), ” ARCH ?=(SUBARCH)”
In line 194 (approximately), “CROSS_COMPILE ?=”
We change them to:
“ARCH =arm”
“CROSS_COMPILE =arm-linux-“, and save.
Another way to do it is when we first time use “make menuconfig”, we use:
#make ARCH=arm CROSS_COMPILE=arm-linux- menuconfig
Leave a Reply
You must be logged in to post a comment.