[Buildroot] [PATCH 1/1] package/libnids: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Jun 23 12:24:24 UTC 2020


On Tue, 23 Jun 2020 11:01:30 +0200
Guillaume Bres <guillaume.bressaix at gmail.com> wrote:

> Let's say I introduce a "BR2_PACKAGE_LIBNIDS_WITH_LIBNET" option,

As you discovered and replied later in the thread, don't add a
sub-option: simply check in the .mk file if BR2_PACKAGE_LIBDNET is

> if I add a 0002-patch to also have libnet checked with pkg-config,
> Is it fine with you having a patch always applied, even though we are in
> the --disable-libnet context?

The patches should always all be applied. In theory, all patches are
supposed to be submitted to the upstream project, and the upstream
project will not conditionally apply the patch depending on whether
libnet support is enabled or not.

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list