Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
feihengli committed Feb 11, 2018
1 parent 7a4a399 commit c657096
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Binary file added opensource/iptables-1.4.21.tar.bz2
Binary file not shown.
12 changes: 12 additions & 0 deletions opensource/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ cp ./src/.libs/iperf3 ../ -af
cp ./src/.libs/libiperf.so.0.0.0 ../libiperf.so.0 -af
cd ../

#iptables
rm -rf iptables
rm -rf iptables-1.4.21
tar -xjvf iptables-1.4.21.tar.bz2
cd ./iptables-1.4.21
PWD=`pwd`
./configure --host=${COMPILE} --enable-static --disable-shared --with-xtlibdir=$PWD/extensions/
make
cp ./iptables/xtables-multi ../iptables -af
${COMPILE}-strip ../iptables
cd ../


#${COMPILE}-strip --strip-debug --strip-unneeded *.a

Expand Down
4 changes: 4 additions & 0 deletions opensource/make_clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ rm -rf mp4v2-2.0.0
rm -rf iperf3 libiperf.so.0
rm -rf iperf-3.1.3

#iptables
rm -rf iptables
rm -rf iptables-1.4.21

rm -rf *.a


0 comments on commit c657096

Please sign in to comment.