Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Package can create LINUX_FINAL_RECURSIVE_DEPENDENCIES
@ 2020-01-24  7:37 Heiko Thiery
  2020-01-24  8:21 ` Heiko Thiery
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Heiko Thiery @ 2020-01-24  7:37 UTC (permalink / raw)
  To: buildroot

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.

----
# 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

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

end of thread, other threads:[~2020-01-26  9:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-24  7:37 [Buildroot] Package can create LINUX_FINAL_RECURSIVE_DEPENDENCIES Heiko Thiery
2020-01-24  8:21 ` Heiko Thiery
2020-01-24  8:39   ` Michael Walle
2020-01-26  7:50 ` Yann E. MORIN
2020-01-26  7:56   ` Heiko Thiery
2020-01-26  8:01   ` Heiko Thiery
2020-01-26  9:21 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox