aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/Makefile')
-rw-r--r--bridge/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/bridge/Makefile b/bridge/Makefile
index 98007530..b2ae0a4e 100644
--- a/bridge/Makefile
+++ b/bridge/Makefile
@@ -1,18 +1,14 @@
BROBJ = bridge.o fdb.o monitor.o link.o mdb.o vlan.o
-include ../Config
-
-ifeq ($(IP_CONFIG_SETNS),y)
- CFLAGS += -DHAVE_SETNS
-endif
+include ../config.mk
all: bridge
-bridge: $(BROBJ) $(LIBNETLINK)
+bridge: $(BROBJ) $(LIBNETLINK)
+ $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
install: all
install -m 0755 bridge $(DESTDIR)$(SBINDIR)
clean:
rm -f $(BROBJ) bridge
-