Building eDP drivers for Jetson TK1

Hi,

After configuring the .config file, running the ‘make’ command is giving the following error.

CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h’ is up to date.
CC kernel/bounds.s
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-mapcs’
gcc: error: unrecognized command line option ‘-mno-sched-prolog’
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

What does the error mean and how can it be eliminated.

Thanks.

Is this a native compile on a JTK1? What .config did you start with, and were the changes through a program like “make menuconfig”, or direct edit? If cross compiling, what compiler were you using?