forked from jarsy/bcm-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (27 loc) · 753 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: Makefile,v 1.16 Broadcom SDK $
# $Copyright: (c) 2016 Broadcom.
# Broadcom Proprietary and Confidential. All rights reserved.$
SDK = $(CURDIR)
export SDK
include ${SDK}/make/Make.config
subdirs=src include
ifdef BUILD_PHYMOD
subdirs += libs/phymod
endif
include ${SDK}/make/Make.subdirs
tree: ${BLDROOT}/.tree
#
# Provide TAGS rule to allow ctags/etags to be built at any level in the
# tree.
#
tags::
$(RM) tags
$(FOREACH) -find . ".*?\.[c|h]" "-pBuilding tags for: ##" \
"${CTAGS} -a -o ${SDK}/tags ##"
etags::
$(MAKE) CTAGS=${ETAGS} tags
$(FOREACH) -find . ".*?\.tcl" "-pBuilding tags for: ##" \
"${ETAGS} -a --lang=none --regex='/proc[ \t]+\([^ \t]+\)/\1/' -o ${SDK}/tags ##"
ifdef FAST
include ${SDK}/make/Make.fast
endif