xref: /utopia/UTPA2-700.0.x/projects/build/parallel.mk (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1
2################################################################################
3#
4# Copyright (c) 2008-2009 MStar Semiconductor, Inc.
5# All rights reserved.
6#
7# Unless otherwise stipulated in writing, any and all information contained
8# herein regardless in any format shall remain the sole proprietary of
9# MStar Semiconductor Inc. and be kept in strict confidence
10# ("MStar Confidential Information") by the recipient.
11# Any unauthorized act including without limitation unauthorized disclosure,
12# copying, use, reproduction, sale, distribution, modification, disassembling,
13# reverse engineering and compiling of the contents of MStar Confidential
14# Information is unlawful and strictly prohibited. MStar hereby reserves the
15# rights to any and all damages, losses, costs and expenses resulting therefrom.
16#
17#
18# Makefile used for building application.
19#
20#
21################################################################################
22
23# **********************************************
24# Environment
25# **********************************************
26PROJ        = $(PWD)
27ROOT        = $(PROJ)/../..
28ROOTLIB     = $(ROOT)/mxlib
29CONFIG      = $(PROJ)/.config
30
31-include $(CONFIG)
32.NOTPARALLEL :
33
34all:
35	@$(MAKE) -s -f Makefile check_build_toolver
36	@$(MAKE) -s -f Makefile setup
37	@if [ -n "$(MXLIB-y)" ]; then                   \
38        $(MAKE) -s -f Makefile $(MXLIB-y);          \
39     fi
40	@if [ -n "$(MXLIB-m)" ]; then                   \
41        $(MAKE) -s -f Makefile $(MXLIB-m);          \
42     fi
43ifeq ($(CONFIG_MSOS),y)
44	@$(MAKE) -s -f Makefile msos
45endif
46	@$(MAKE) -s -f Makefile syslib
47
48include $(ROOTLIB)/mxlib.mk
49include $(ROOTLIB)/ddi.mk
50
51