Menu

iproute (tc) port

Ports
2004-12-13
2013-04-11
  • Sebastian M

    Sebastian M - 2004-12-13

    hi,

    anybody ported tc to rtl8181? I've tried to do it with:
    http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.9-041019.tar.gz
    but without success.

    anybody could help?

    Sebastian

     
    • Jiri Fojtasek

      Jiri Fojtasek - 2004-12-14

      Its easy:

      diff -u -r iproute2-2.6.9.old/Makefile iproute2-2.6.9/Makefile
      --- iproute2-2.6.9.old/Makefile 2004-10-19 22:49:02.000000000 +0200
      +++ iproute2-2.6.9/Makefile     2004-12-14 22:01:10.597359864 +0100
      @@ -1,3 +1,8 @@
      +CC=mips-linux-gcc
      +LD=mips-linux-ld
      +AR=mips-linux-ar
      +RANLIB=mips-linux-ranlib
      +
      DESTDIR=
      SBINDIR=/usr/sbin
      CONFDIR=/etc/iproute2
      @@ -19,7 +24,6 @@
      #options for ipx
      ADDLIB+=ipx_ntop.o ipx_pton.o
       
      -CC = gcc
      CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g
      CFLAGS = $(CCOPTS) -I../include $(DEFINES)
       
      diff -u -r iproute2-2.6.9.old/misc/Makefile iproute2-2.6.9/misc/Makefile
      --- iproute2-2.6.9.old/misc/Makefile    2004-10-19 22:49:02.000000000 +0200
      +++ iproute2-2.6.9/misc/Makefile        2004-12-14 22:00:07.446960184 +0100
      @@ -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 lnstat
       
      include ../Config

       

Log in to post a comment.