Commit Graph

8 Commits

Author SHA1 Message Date
Rafael Almeida b514b3587e Fixed installation when changing DESTDIR
After changing the DESTDIR the installated binaries have some issues
due to hard coded paths. For example, using distributions on NetEm
would segfault.

I've changed iplink.c and tc_util.c so they are now aware of DESTDIR.
Along with that change I needed to change the main Makefile so it
defines the DESTDIR macro when calling gcc.

I also changed the paths so that during the installation sbin, etc,
share and lib directories are created directly inside of the DESTDIR,
instead of creating a usr directory inside that. That's the behaviour
of most packages out there, so I think most users will be expecting
that to happen.
2008-07-25 13:40:19 -07:00
Bertrand Jacquin 3cc6232e08 netem: fix cross-compiling failure
The programs in netem are compiled and run on the build machine, but they
use the CFLAGS that are meant for the target system and often times, these
are incompatible.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-06-23 09:17:48 -07:00
Stephen Hemminger ebfd0f3103 Added stats utility from netem 2006-06-15 16:22:09 -07:00
shemminger 319baacb12 Fix cc compiler flags in netem/Makefile 2006-03-14 19:43:59 +00:00
shemminger 7dae1706bb Add CCOPTS for netem stuff 2005-10-05 17:40:12 +00:00
shemminger ce715cd94c Allow parallel make of netem directory.
Use HOSTCC when building local tools
2005-09-01 22:38:19 +00:00
osdl.net!shemminger eb1d6822e0 (Logical change 1.141) 2005-02-09 22:05:41 +00:00
osdl.net!shemminger f84f9d0436 Initial revision 2005-02-09 22:05:41 +00:00