[Buildroot] Package can create LINUX_FINAL_RECURSIVE_DEPENDENCIES
Michael Walle
michael at walle.cc
Fri Jan 24 08:39:46 UTC 2020
Am 2020-01-24 09:21, schrieb Heiko Thiery:
> Hi,
>
> Am Fr., 24. Jan. 2020 um 08:37 Uhr schrieb Heiko Thiery
> <heiko.thiery at gmail.com>:
>>
>> Hi,
>>
>> I have a custom package (MYPACKAGE) in my BR2_EXTERNAL. This package
>> uses the "$(eval $(kernel-module))". In addition this package also
>> adds a kernel patch hook via BR2_EXTERNAL/linux-ext-MYPACKAGE.mk.
>>
>> As far as I see MYPACKAGE depends on linux (due to kernel-module) and
>> LINUX depends on MYPACKAGE due to the dependency created to
>> LINUX_PATCH_DEPENDENCIES.
>
> Forgot to mention that the build works and the issue only occurs when
> "make legal-info" and "make graphs" are executed.
or even easier, "make print-vars"
-michael
>
>> ----
>> # make linux-legal-info
>> linux/linux.mk:578: *** Recursive variable
>> 'LINUX_FINAL_RECURSIVE_DEPENDENCIES' references itself (eventually).
>> Stop.
>> make: *** [Makefile:23: _all] Error 2
>> ----
>>
>> Is having a package that does both (linux kernel module and kernel
>> patching) allowed? Can this be fixed? I think linux only need the
>> dependency to the MYPACKAGE_EXTRACT because the patch is not a result
>> of the build of this package.
>>
>> What do you think?
>>
>> BR
>> --
>> Heiko
More information about the buildroot
mailing list