diff mbox series

package/iproute2: order after libcap and selinux

Message ID 20200605225555.13679-1-nolange79@gmail.com
State Accepted
Headers show
Series package/iproute2: order after libcap and selinux | expand

Commit Message

Norbert Lange June 5, 2020, 10:55 p.m. UTC
the configuration will automatically detect
if libcap / selinux is available.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
---
 package/iproute2/iproute2.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Thomas Petazzoni June 6, 2020, 7:35 p.m. UTC | #1
On Sat,  6 Jun 2020 00:55:54 +0200
Norbert Lange <nolange79@gmail.com> wrote:

> the configuration will automatically detect
> if libcap / selinux is available.
> 
> Signed-off-by: Norbert Lange <nolange79@gmail.com>
> ---
>  package/iproute2/iproute2.mk | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied to master with a tweaked commit title, thanks.

Thomas
Peter Korsgaard July 5, 2020, 10:11 p.m. UTC | #2
>>>>> "Norbert" == Norbert Lange <nolange79@gmail.com> writes:

 > the configuration will automatically detect
 > if libcap / selinux is available.

 > Signed-off-by: Norbert Lange <nolange79@gmail.com>

Committed to 2020.02.x and 2020.05.x, thanks.
diff mbox series

Patch

diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index 6d20f65f34..e5841cc460 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -16,6 +16,14 @@  ifeq ($(BR2_PACKAGE_ELFUTILS),y)
 IPROUTE2_DEPENDENCIES += elfutils
 endif
 
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+IPROUTE2_DEPENDENCIES += libcap
+endif
+
+ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
+IPROUTE2_DEPENDENCIES += libselinux
+endif
+
 ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx)
 IPROUTE2_DEPENDENCIES += iptables
 else