2003-02-19 08:07:53 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
2008-09-02 13:07:49 +02:00
|
|
|
# bridge-utils - User Space Program For Controlling Bridging
|
2003-02-19 08:07:53 +01:00
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
#
|
2008-09-02 13:07:55 +02:00
|
|
|
BRIDGE_VERSION:=1.4
|
2008-09-02 13:07:49 +02:00
|
|
|
BRIDGE_SOURCE:=bridge-utils-$(BRIDGE_VERSION).tar.gz
|
|
|
|
BRIDGE_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/bridge/
|
2008-09-02 13:07:55 +02:00
|
|
|
BRIDGE_AUTORECONF:=YES
|
2008-09-02 13:07:49 +02:00
|
|
|
BRIDGE_INSTALL_STAGING:=NO
|
|
|
|
BRIDGE_INSTALL_TARGET:=YES
|
|
|
|
BRIDGE_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install
|
2009-01-18 10:26:28 +01:00
|
|
|
BRIDGE_CONF_OPT:=--with-linux-headers=$(LINUX_HEADERS_DIR)
|
2008-09-02 13:07:49 +02:00
|
|
|
BRIDGE_DEPENDENCIES:=uclibc
|
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,bridge))
|
|
|
|
|
2008-10-20 13:53:05 +02:00
|
|
|
ifeq ($(BR2_ENABLE_DEBUG),)
|
2008-09-02 13:07:49 +02:00
|
|
|
# bridge has no install-strip target
|
|
|
|
$(BRIDGE_HOOK_POST_INSTALL): $(BRIDGE_TARGET_INSTALL_TARGET)
|
|
|
|
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/sbin/brctl
|
|
|
|
touch $@
|
2008-10-20 13:53:05 +02:00
|
|
|
endif
|
2008-09-02 13:07:49 +02:00
|
|
|
|
|
|
|
# bridge has no uninstall target
|
2008-09-11 04:15:07 +02:00
|
|
|
$(BRIDGE_TARGET_UNINSTALL):
|
2008-09-04 04:39:23 +02:00
|
|
|
$(call MESSAGE,"Uninstalling")
|
2008-09-02 13:07:49 +02:00
|
|
|
rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libbridge.a \
|
|
|
|
include/libbridge.h man/man8/brctl.8 sbin/brctl)
|
2008-09-11 04:15:07 +02:00
|
|
|
rm -f $(BRIDGE_TARGET_INSTALL_TARGET) $(BRIDGE_HOOK_POST_INSTALL)
|