Changeset 261


Ignore:
Timestamp:
2005-02-19T08:36:55+01:00 (13 years ago)
Author:
wbx
Message:

sync with buildroot2 from uclibc, separate ptches in subdir

Location:
trunk/openwrt/package/bridge
Files:
2 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/bridge/bridge.mk

    r209 r261  
    88BRIDGE_SOURCE=bridge-utils-1.0.4.tar.gz 
    99BRIDGE_BUILD_DIR=$(BUILD_DIR)/bridge-utils-1.0.4 
     10BRIDGE_PATCHES=$(PACKAGE_DIR)/bridge/patches 
    1011BRIDGE_TARGET_BINARY:=usr/sbin/brctl 
    1112 
     
    1516$(BRIDGE_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BRIDGE_SOURCE) 
    1617        zcat $(DL_DIR)/$(BRIDGE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - 
    17         patch -p1 -d $(BRIDGE_BUILD_DIR) < package/bridge/bridge.patch 
    1818        touch $(BRIDGE_BUILD_DIR)/.unpacked 
    1919 
    20 $(BRIDGE_BUILD_DIR)/.configured: $(BRIDGE_BUILD_DIR)/.unpacked 
     20$(BRIDGE_BUILD_DIR)/.patched: $(BRIDGE_BUILD_DIR)/.unpacked 
     21        $(PATCH) $(BRIDGE_BUILD_DIR) $(BRIDGE_PATCHES) 
     22        touch $(BRIDGE_BUILD_DIR)/.patched 
     23 
     24$(BRIDGE_BUILD_DIR)/.configured: $(BRIDGE_BUILD_DIR)/.patched 
    2125        (cd $(BRIDGE_BUILD_DIR); rm -rf config.cache; \ 
    2226                $(TARGET_CONFIGURE_OPTS) \ 
     
    4549 
    4650$(TARGET_DIR)/$(BRIDGE_TARGET_BINARY): $(BRIDGE_BUILD_DIR)/brctl/brctl 
     51        mkdir -p $(TARGET_DIR)/usr/sbin 
    4752        cp -af $(BRIDGE_BUILD_DIR)/brctl/brctl $(TARGET_DIR)/$(BRIDGE_TARGET_BINARY) 
    4853        $(STRIP) $(TARGET_DIR)/$(BRIDGE_TARGET_BINARY) 
    49         #cp -af $(BRIDGE_BUILD_DIR)/brctl/brctld $(TARGET_DIR)/usr/sbin/ 
    50         #$(STRIP) $(TARGET_DIR)/usr/sbin/brctld 
    5154 
    52 bridge: linux $(TARGET_DIR)/$(BRIDGE_TARGET_BINARY) 
     55bridge: uclibc $(TARGET_DIR)/$(BRIDGE_TARGET_BINARY) 
    5356 
    5457bridge-source: $(DL_DIR)/$(BRIDGE_SOURCE) 
     
    6063bridge-dirclean: 
    6164        rm -rf $(BRIDGE_BUILD_DIR) 
     65 
     66############################################################# 
     67# 
     68# Toplevel Makefile options 
     69# 
     70############################################################# 
     71ifeq ($(strip $(BR2_PACKAGE_BRIDGE)),y) 
     72TARGETS+=bridge 
     73endif 
Note: See TracChangeset for help on using the changeset viewer.