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


      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 # Makefile for Switch on a Chip (SOC) driver and diagnostics
      7 #
      8 
      9 include ${SDK}/make/Make.config
     10 
     11 export TARGET
     12 export BLDDIR
     13 export LIBDIR
     14 
     15 
     16 subdirs = soc shared sal bcm appl
     17 
     18 ifdef COND_LIB_BCMX
     19 subdirs += bcmx
     20 endif
     21 
     22 ifdef COND_LIB_CUSTOMER
     23 subdirs += customer
     24 endif
     25 
     26 ifdef COND_LIB_EXAMPLES
     27 subdirs += examples
     28 endif
     29 
     30 ifdef COND_LIB_BOARD
     31 subdirs += board
     32 endif
     33 
     34 ifdef FLAT_TREE
     35 subdirs += flat
     36 endif
     37 
     38 override MAKEFLAGS += TARGET=$(TARGET)
     39 
     40 include ${SDK}/make/Make.subdirs