Changeset 19606


Ignore:
Timestamp:
2010-02-12T16:25:49+01:00 (6 years ago)
Author:
thepeople
Message:

[tcpdump] fix parallel build thanks Raphael HUCK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/tcpdump/Makefile

    r18466 r19606  
    11# 
    2 # Copyright (C) 2007-2009 OpenWrt.org 
     2# Copyright (C) 2007-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=tcpdump 
    1111PKG_VERSION:=4.0.0 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    2020 
    2121PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) 
     22 
     23PKG_INSTALL:=1 
    2224 
    2325include $(INCLUDE_DIR)/package.mk 
     
    4951        td_cv_buggygetaddrinfo="no" 
    5052 
     53MAKE_FLAGS := \ 
     54        CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)" 
     55 
    5156ifeq ($(BUILD_VARIANT),mini) 
    5257  TARGET_CFLAGS += -DTCPDUMP_MINI 
    5358  CONFIGURE_ARGS += --disable-smb 
    54   MAKE_FLAGS := TCPDUMP_MINI=1 
    55 else 
    56   MAKE_FLAGS := 
     59  MAKE_FLAGS += TCPDUMP_MINI=1 
    5760endif 
    58  
    59 define Build/Compile 
    60         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    61                 CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)" \ 
    62                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    63                 $(MAKE_FLAGS) \ 
    64                 all install 
    65 endef 
    6661 
    6762define Package/tcpdump/install 
Note: See TracChangeset for help on using the changeset viewer.