view images/lfs-bootstrap/mnt/build/iproute2.sh @ 0:bcd2e358d57f

Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
author Rob Landley <rob@landley.net>
date Sun, 03 Jul 2011 17:23:26 -0500
parents
children
line wrap: on
line source

#!/bin/sh

# arpd needs berkeley DB, switch it off.
sed -i '/^TARGETS/s@arpd@@g' misc/Makefile &&

# bugfix, why this isn't a patch I have no idea.
sed -i '1289i\\tfilter.cloned = 2;' ip/iproute.c &&

# Don't be confused by symlinks
sed -i 's/ find / find -L /g' Makefile &&

make DESTDIR= -j $CPUS &&
make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \
  DOCDIR=/usr/share/doc/iproute2 install