backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel 4.18+ build problem "Recursive variable 'KBUILD_CFLAGS' "
@ 2018-09-23 14:16 Hauke Mehrtens
  2018-09-23 20:03 ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Hauke Mehrtens @ 2018-09-23 14:16 UTC (permalink / raw)
  To: backports


[-- Attachment #1.1: Type: text/plain, Size: 868 bytes --]

Hi,

I tried to compile backports against kernel 4.18 and 4.19-rc4 (header
files from Ubuntu) and ran into this problem when it wants to link the
kernel:

  LD [M]
/home/hauke/compat-wireless/backports-4.19-rc4-1/drivers/net/wireless/realtek/rtlwifi/rtl_usb.o
  Building modules, stage 2.
scripts/Makefile.lib:10: *** Recursive variable 'KBUILD_CFLAGS'
references itself (eventually).  Stop.
Makefile:1507: recipe for target 'modules' failed
make[4]: *** [modules] Error 2
Makefile.build:6: recipe for target 'modules' failed
make[3]: *** [modules] Error 2
Makefile.real:88: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile:40: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
Makefile:30: recipe for target 'default' failed
make: *** [default] Error 2


Did someone also saw this problem?

Hauke


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-24 13:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-23 14:16 kernel 4.18+ build problem "Recursive variable 'KBUILD_CFLAGS' " Hauke Mehrtens
2018-09-23 20:03 ` Johannes Berg
2018-09-23 20:09   ` Johannes Berg
2018-09-23 20:48     ` Hauke Mehrtens
2018-09-23 20:49       ` Johannes Berg
2018-09-24  7:18         ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).