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 (2206B)


      1 #
      2 # 
      3 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4 # 
      5 # Copyright 2007-2019 Broadcom Inc. All rights reserved.
      6 #
      7 # Makefile for esw subdirectory
      8 #
      9 
     10 LOCALDIR = src/soc/esw/tdm
     11 
     12 include ${SDK}/make/Make.config
     13 
     14 ifdef BCM_56850_A0
     15 SUBDIR_TDM_CORE = core
     16 SUBDIR_TDM_TRIDENT2P = trident2p
     17 endif
     18 
     19 ifdef BCM_56860_A0
     20 SUBDIR_TDM_CORE = core
     21 SUBDIR_TDM_TRIDENT2P = trident2p
     22 endif
     23 
     24 ifdef BCM_56560_A0
     25 SUBDIR_TDM_CORE = core
     26 SUBDIR_TDM_APACHE = apache
     27 SUBDIR_TDM_TRIDENT2P = trident2p
     28 endif
     29 
     30 ifdef BCM_56960_A0
     31 SUBDIR_TDM_CORE = core
     32 SUBDIR_TDM_TRIDENT2P = trident2p
     33 SUBDIR_TDM_TOMAHAWK = tomahawk
     34 endif
     35 ifdef BCM_56670_A0
     36 SUBDIR_TDM_CORE = core
     37 SUBDIR_TDM_MONTEREY = monterey
     38 SUBDIR_TDM_APACHE = apache
     39 SUBDIR_TDM_TRIDENT2P = trident2p
     40 endif
     41 
     42 ifdef BCM_56870_A0
     43 SUBDIR_TDM_CORE = core
     44 SUBDIR_TDM_TRIDENT3 = trident3
     45 SUBDIR_TDM_TRIDENT2P = trident2p
     46 SUBDIR_TDM_TOMAHAWK = tomahawk
     47 endif
     48 
     49 ifdef BCM_56370_A0
     50 SUBDIR_TDM_CORE = core
     51 SUBDIR_TDM_HELIX5 = helix5
     52 SUBDIR_TDM_TRIDENT3 = trident3
     53 SUBDIR_TDM_TRIDENT2P = trident2p
     54 SUBDIR_TDM_TOMAHAWK = tomahawk
     55 endif
     56 
     57 ifdef BCM_56965_A0
     58 SUBDIR_TDM_CORE = core
     59 SUBDIR_TDM_TRIDENT2P = trident2p
     60 SUBDIR_TDM_TOMAHAWK = tomahawk
     61 endif
     62 
     63 ifdef BCM_56970_A0
     64 SUBDIR_TDM_CORE = core
     65 SUBDIR_TDM_TRIDENT2P = trident2p
     66 SUBDIR_TDM_TOMAHAWK = tomahawk
     67 SUBDIR_TDM_TOMAHAWK2 = tomahawk2
     68 endif
     69 
     70 ifdef BCM_56770_A0
     71 SUBDIR_TDM_CORE = core
     72 SUBDIR_TDM_MAVERICK2 = maverick2
     73 SUBDIR_TDM_TRIDENT3 = trident3
     74 SUBDIR_TDM_TRIDENT2P = trident2p
     75 SUBDIR_TDM_TOMAHAWK = tomahawk
     76 endif
     77 
     78 ifdef BCM_53570_A0
     79 SUBDIR_TDM_CORE = core
     80 SUBDIR_TDM_GREYHOUND2 = greyhound2
     81 endif
     82 
     83 ifdef BCM_56980_A0
     84 #TH2 dependencies in TH3
     85 SUBDIR_TDM_CORE = core
     86 SUBDIR_TDM_TRIDENT2P = trident2p
     87 SUBDIR_TDM_TOMAHAWK = tomahawk
     88 SUBDIR_TDM_TOMAHAWK2 = tomahawk2
     89 endif
     90 
     91 subdirs := $(SUBDIR_TDM_CORE) $(SUBDIR_TDM_TRIDENT2P) $(SUBDIR_TDM_TRIDENT2) $(SUBDIR_TDM_TOMAHAWK) $(SUBDIR_TDM_APACHE) $(SUBDIR_TDM_TOMAHAWK2) $(SUBDIR_TDM_TRIDENT3)  $(SUBDIR_TDM_HELIX5) $(SUBDIR_TDM_MAVERICK2) $(SUBDIR_TDM_GREYHOUND2) $(SUBDIR_TDM_MONTEREY)
     92 
     93 include ${SDK}/make/Make.subdirs
     94 
     95 lib = libsoc_tdm
     96 include ${SDK}/make/Make.lib
     97 
     98 include ${SDK}/make/Make.depend
     99 
    100