Browse Source

iproute2: add misc directory to buildline and package ss, nstat, rtacct and ifstat

Fixes: SYS#1609
neels/inmarsat
Henning Heinold 7 years ago
committed by Holger Hans Peter Freyther
parent
commit
b48f99da26
  1. 22
      recipes-fixes/iproute2/files/build_ss_only_in_misc.patch
  2. 9
      recipes-fixes/iproute2/iproute2_sysmocom.inc
  3. 1
      yocto-dora/iproute2_3.10.0.bbappend
  4. 1
      yocto-master/iproute2_%.bbappend

22
recipes-fixes/iproute2/files/build_ss_only_in_misc.patch

@ -0,0 +1,22 @@
Index: iproute2-3.10.0/misc/Makefile
===================================================================
--- iproute2-3.10.0.orig/misc/Makefile
+++ iproute2-3.10.0/misc/Makefile
@@ -1,7 +1,7 @@
SSOBJ=ss.o ssfilter.o
LNSTATOBJ=lnstat.o lnstat_util.o
-TARGETS=ss nstat ifstat rtacct arpd lnstat
+TARGETS=ss nstat ifstat rtacct
include ../Config
@@ -28,8 +28,6 @@ lnstat: $(LNSTATOBJ)
install: all
install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
- ln -sf lnstat $(DESTDIR)$(SBINDIR)/rtstat
- ln -sf lnstat $(DESTDIR)$(SBINDIR)/ctstat
clean:
rm -f *.o $(TARGETS) ssfilter.c

9
recipes-fixes/iproute2/iproute2_sysmocom.inc

@ -0,0 +1,9 @@
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:"
PRINC="1"
SRC_URI += "file://build_ss_only_in_misc.patch"
EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"

1
yocto-dora/iproute2_3.10.0.bbappend

@ -0,0 +1 @@
require recipes-fixes/iproute2/${PN}_sysmocom.inc

1
yocto-master/iproute2_%.bbappend

@ -0,0 +1 @@
require recipes-fixes/iproute2/${PN}_sysmocom.inc
Loading…
Cancel
Save