2018-01-15 16:03:14 +01:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2018-06-20 23:53:21 +02:00
|
|
|
@@ -12,22 +12,22 @@ ifeq ($(VERBOSE),0)
|
2018-01-15 16:03:14 +01:00
|
|
|
MAKEFLAGS += --no-print-directory
|
|
|
|
endif
|
|
|
|
|
|
|
|
-PREFIX?=/usr
|
|
|
|
-LIBDIR?=$(PREFIX)/lib
|
|
|
|
-SBINDIR?=/sbin
|
|
|
|
-CONFDIR?=/etc/iproute2
|
|
|
|
+PREFIX=
|
|
|
|
+LIBDIR=/lib
|
|
|
|
+SBINDIR=/bin
|
|
|
|
+CONFDIR=/etc/iproute2
|
2018-06-20 23:53:21 +02:00
|
|
|
NETNS_RUN_DIR?=/var/run/netns
|
|
|
|
NETNS_ETC_DIR?=/etc/netns
|
|
|
|
-DATADIR?=$(PREFIX)/share
|
|
|
|
-HDRDIR?=$(PREFIX)/include/iproute2
|
2018-01-15 16:03:14 +01:00
|
|
|
+DATADIR=/share
|
|
|
|
+HDRDIR=/include/iproute2
|
|
|
|
DOCDIR?=$(DATADIR)/doc/iproute2
|
|
|
|
MANDIR?=$(DATADIR)/man
|
|
|
|
ARPDDIR?=/var/lib/arpd
|
|
|
|
-KERNEL_INCLUDE?=/usr/include
|
|
|
|
+KERNEL_INCLUDE=$(SYSROOT)/include
|
|
|
|
BASH_COMPDIR?=$(DATADIR)/bash-completion/completions
|
|
|
|
|
|
|
|
# Path to db_185.h include
|
|
|
|
-DBM_INCLUDE:=$(DESTDIR)/usr/include
|
|
|
|
+DBM_INCLUDE:=$(SYSROOT)/include
|
|
|
|
|
|
|
|
SHARED_LIBS = y
|
|
|
|
|