http://bugs.uclibc.org/view.php?id=286
authorEric Andersen <andersen@codepoet.org>
Thu, 9 Jun 2005 12:23:36 +0000 (12:23 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 9 Jun 2005 12:23:36 +0000 (12:23 -0000)
Can't build "bridge" package in buildroot (patch enclosed)

package/bridge/Config.in
package/bridge/bridge.mk

index d7703a70c386508168c4f9e5964adb66bfb27dd4..59025f97224311904bbd0ca6c74a7964334120ed 100644 (file)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_BRIDGE
        bool "bridge"
        default n
-       depends BR2_PACKAGE_LINUX
        help
          Manage ethernet bridging; a way to connect networks together to
          form a larger network.
index 2a3f9cdd5c45d05824dde02288948fd4cbdea59b..d0bc4938b8917b22a8a9e9d336b494f58a13287a 100644 (file)
@@ -1,12 +1,13 @@
 #############################################################
 #
-# bridgeutils - User Space Program For Controling Bridging
+# bridgeutils - User Space Program For Controlling Bridging
 #
 #############################################################
 #
+BRIDGE_VERSION=1.0.6
 BRIDGE_SOURCE_URL=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/bridge/
-BRIDGE_SOURCE=bridge-utils-1.0.4.tar.gz
-BRIDGE_BUILD_DIR=$(BUILD_DIR)/bridge-utils-1.0.4
+BRIDGE_SOURCE=bridge-utils-$(BRIDGE_VERSION).tar.gz
+BRIDGE_BUILD_DIR=$(BUILD_DIR)/bridge-utils-$(BRIDGE_VERSION)
 BRIDGE_TARGET_BINARY:=usr/sbin/brctl
 
 $(DL_DIR)/$(BRIDGE_SOURCE):
@@ -36,7 +37,7 @@ $(BRIDGE_BUILD_DIR)/.configured: $(BRIDGE_BUILD_DIR)/.unpacked
                --mandir=/usr/man \
                --infodir=/usr/info \
                $(DISABLE_NLS) \
-               --with-linux-headers=$(LINUX_DIR) \
+               --with-linux-headers=$(LINUX_HEADERS_DIR) \
        );
        touch  $(BRIDGE_BUILD_DIR)/.configured
 
@@ -49,7 +50,7 @@ $(TARGET_DIR)/$(BRIDGE_TARGET_BINARY): $(BRIDGE_BUILD_DIR)/brctl/brctl
        #cp -af $(BRIDGE_BUILD_DIR)/brctl/brctld $(TARGET_DIR)/usr/sbin/
        #$(STRIP) $(TARGET_DIR)/usr/sbin/brctld
 
-bridge: linux $(TARGET_DIR)/$(BRIDGE_TARGET_BINARY)
+bridge: $(TARGET_DIR)/$(BRIDGE_TARGET_BINARY)
 
 bridge-source: $(DL_DIR)/$(BRIDGE_SOURCE)