Re: kernel 4.18+ build problem "Recursive variable 'KBUILD_CFLAGS' "

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 09/23/2018 10:09 PM, Johannes Berg wrote:
> On Sun, 2018-09-23 at 22:03 +0200, Johannes Berg wrote:
>> On Sun, 2018-09-23 at 16:16 +0200, Hauke Mehrtens wrote:
>>> 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.
>> Hmm. I vaguely remember something like that with our driver, but can't
>> find it now? I also remember trying to fix it in the upstream kernel ...
> Hmm. Well, I can't find any changes from me upstream in this area, so
> either I didn't succeed or it didn't get applied. I also can't find a
> public record of a patch, so I guess I didn't succeed?
> Seems simple enough though, just make cc-option := instead of = in
> scripts/Kbuild.include? Or maybe not, dunno.
> johannes

This works for me, will you add a patch?


Attachment: signature.asc
Description: OpenPGP digital signature

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux