ERROR: Recursive variable `CC_OPTION_CFLAGS' references itself (eventually). Stop.

Bhumika Goyal bhumirks at gmail.com
Sat Feb 11 12:07:12 PST 2017


Hi,

I ran the command "./make.cross ARCH=arm arch/arm/" on my 64 bit x86
machine but got the following error:

scripts/Kbuild.include:113: *** Recursive variable `CC_OPTION_CFLAGS'
references itself (eventually).  Stop.
make: *** [arch/arm/] Error 2

I commented out the line "CC_OPTION_CFLAGS = $(filter-out
$(GCC_PLUGINS_CFLAGS),$(KBUILD_CFLAGS))" in the scripts/Kbuild.include
file and the driver compiled.

Is this the only solution to make the compilation work? What is this
line signifying?

Thanks,
Bhumika



More information about the linux-arm-kernel mailing list