openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

Makefile.unix-netbsd (729B)


      1 # 
      2 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      3 # 
      4 # Copyright 2007-2019 Broadcom Inc. All rights reserved.
      5 #
      6 # Build rules for NetBSD/x86 (Little Endian) with PLI support
      7 
      8 include ${SDK}/make/Makefile.unix-common
      9 
     10 # Configuration Flags
     11 
     12 CFGFLAGS += -Dnetbsd
     13 
     14 ENDIAN_DEF = -DLE_HOST=1
     15 
     16 CC	= ${HCC}
     17 CXX	= g++
     18 LD	= ld
     19 AR	= ar
     20 ARFLAGS	= -rc
     21 STRIP	= strip
     22 RANLIB  = ranlib
     23 
     24 # Filter out features that cannot or should not be supported in Linux
     25 ifdef ESW_CHIPS
     26 _FEATURE_EXCLUDE_LIST += OOB_RCPU
     27 endif
     28 FEATURE_EXCLUDE_LIST = $(sort $(_FEATURE_EXCLUDE_LIST))
     29 
     30 # NetBSD
     31 LIBS= -lpthread -lm -lsem
     32 
     33 CFGFLAGS += -DBCM_PLATFORM_STRING=\"unix-netbsd\"
     34