AN12195 uboot-imx build error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AN12195 uboot-imx build error

Jump to solution
4,411 Views
Enuwai
Contributor III

The following error occurred when executing the "make ARCH=arm -j8 " command in the "5.1.3. Build uboot-imx and copy binaries " chapter of AN12195. What may be the cause?

gcc: error: unrecognized command line option ‘-mgeneral-regs-only’

 

Labels (1)
0 Kudos
Reply
1 Solution
4,370 Views
Enuwai
Contributor III

Hi Joanxie,

thank you for your reply.

I solved it by adding CROSS_COMPILE=aarch64-poky-linux- and aarch64-poky-linux path to $PATH.

Best Regards

View solution in original post

0 Kudos
Reply
2 Replies
4,397 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the Chapter 3 Porting U-Boot of enclosed file

0 Kudos
Reply
4,371 Views
Enuwai
Contributor III

Hi Joanxie,

thank you for your reply.

I solved it by adding CROSS_COMPILE=aarch64-poky-linux- and aarch64-poky-linux path to $PATH.

Best Regards

0 Kudos
Reply