* ERROR: Recursive variable `CC_OPTION_CFLAGS' references itself (eventually). Stop.
@ 2017-02-11 20:07 Bhumika Goyal
2017-02-11 20:19 ` Russell King - ARM Linux
0 siblings, 1 reply; 2+ messages in thread
From: Bhumika Goyal @ 2017-02-11 20:07 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* ERROR: Recursive variable `CC_OPTION_CFLAGS' references itself (eventually). Stop.
2017-02-11 20:07 ERROR: Recursive variable `CC_OPTION_CFLAGS' references itself (eventually). Stop Bhumika Goyal
@ 2017-02-11 20:19 ` Russell King - ARM Linux
0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2017-02-11 20:19 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Feb 12, 2017 at 01:37:12AM +0530, Bhumika Goyal wrote:
> Hi,
>
> I ran the command "./make.cross ARCH=arm arch/arm/" on my 64 bit x86
> machine but got the following error:
I don't know what "make.cross" is supposed to do, but if it's invoking
the kernel build like this:
make CROSS_COMPILE=... ARCH=arm arch/arm/
then that is wrong - although we support building subdirectories using
that notation, that does not apply to arch/<$ARCH>/ subdirectories. The
makefile in there is designed to be included into the kernel's top level
makefile, and is not a stand-alone makefile in the same way as (eg)
fs/Makefile, fs/ext4/Makefile or arch/arm/kernel/Makefile.
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-11 20:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-11 20:07 ERROR: Recursive variable `CC_OPTION_CFLAGS' references itself (eventually). Stop Bhumika Goyal
2017-02-11 20:19 ` Russell King - ARM Linux
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.