summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/ebtables2/Makefile')
-rw-r--r--userspace/ebtables2/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/userspace/ebtables2/Makefile b/userspace/ebtables2/Makefile
index cacb0ee..77e0f2e 100644
--- a/userspace/ebtables2/Makefile
+++ b/userspace/ebtables2/Makefile
@@ -14,14 +14,10 @@ OBJECTS:=getethertype.o ebtables.o communication.o $(EXT_OBJS)
KERNEL_INCLUDES?=include/
-ifeq ($(ETHERTYPESPATH),)
-ETHERTYPESPATH:=/etc/
-endif
-ETHERTYPESFILE:=$(ETHERTYPESPATH)ethertypes
-
-ifeq ($(BINPATH),)
-BINPATH:=/sbin/
-endif
+ETHERTYPESPATH?=/etc/
+ETHERTYPESFILE:=$(ETHERTYPESPATH)/ethertypes
+
+BINPATH?=/sbin/
BINFILE:=$(BINPATH)ebtables
PROGSPECS:=-DPROGVERSION=\"$(PROGVERSION)\" \