1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - libraries
4# File:     Makefile
5#
6# Copyright 2007-2008 Nintendo.  All rights reserved.
7#
8# These coded instructions, statements, and computer programs contain
9# proprietary information of Nintendo of America Inc. and/or Nintendo
10# Company Ltd., and are protected by Federal copyright law.  They may
11# not be disclosed to third parties or copied or duplicated in any form,
12# in whole or in part, without the prior written consent of Nintendo.
13#
14# $Date:: 2008-12-24#$
15# $Rev: 9725 $
16# $Author: yamazaki_takahiro $
17#----------------------------------------------------------------------------
18TARGET_PLATFORM	=	TWL NITRO
19
20include	$(TWLSDK_ROOT)/build/buildtools/commondefs
21
22export PARALLEL_BUILD=TRUE
23
24#----------------------------------------------------------------------------
25
26SUBDIRS_P	= 	fx		\
27				gx		\
28				os		\
29				mi		\
30				pxi		\
31				init	\
32				ext		\
33				pad		\
34				exi		\
35				fs		\
36				cp		\
37				spi		\
38				rtc		\
39				wm		\
40				wbt		\
41				wfs		\
42				prc		\
43				card	\
44				mb		\
45				math	\
46				wvr		\
47				snd		\
48				std		\
49				env		\
50				ctrdg	\
51				stubs	\
52
53
54ifeq	($(TWLSDK_PRIVATE),TRUE)
55SUBDIRS_P	+= cht
56endif
57
58ifeq	($(TWLSDK_HIDDEN),TRUE)
59SUBDIRS_P	+= crypto nvram
60endif
61
62ifeq	($(TWLSDK_SYSMENU_PRIVATE),TRUE)
63SUBDIRS_P	+= ssp
64endif	# ifeq	($(TWLSDK_SYSMENU_PRIVATE),TRUE)
65
66ifneq	($(filter TWL,$(TARGET_PLATFORM_LIST)),)
67SUBDIRS_P	+= cdc camera i2c scfg mcu dsp el
68
69ifeq	($(TWLSDK_HIDDEN),TRUE)
70SUBDIRS_P	+= fatfs aes ese na nam wpa reboot sea
71
72endif
73
74ifeq	($(TWLSDK_SECURE7_PRIVATE),TRUE)
75SUBDIRS_P	+= lcfg
76endif	# ifeq	($(TWLSDK_SECURE7_PRIVATE),TRUE)
77
78ifeq	($(TWLSDK_TCL_PRIVATE),TRUE)
79SUBDIRS_P	+= tcl
80endif	# ifeq	($(TWLSDK_TCL_PRIVATE),TRUE)
81
82ifeq	($(TWLSDK_BROWSER_PRIVATE),TRUE)
83SUBDIRS_P	+= browser
84endif	# ifeq	($(TWLSDK_BROWSER_PRIVATE),TRUE)
85
86endif
87
88#----------------------------------------------------------------------------
89export	NITRO_BLXCHECKED = yes
90
91#----------------------------------------------------------------------------
92
93include	$(TWLSDK_ROOT)/build/buildtools/modulerules
94
95
96#===== End of Makefile =====
97