3
|
1 |
# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
# All rights reserved.
|
|
3 |
# This component and the accompanying materials are made available
|
|
4 |
# under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
# which accompanies this distribution, and is available
|
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
#
|
|
8 |
# Initial Contributors:
|
|
9 |
# Nokia Corporation - initial contribution.
|
|
10 |
#
|
|
11 |
# Contributors:
|
|
12 |
#
|
|
13 |
# Description:
|
|
14 |
#
|
|
15 |
|
|
16 |
# FLM to install CommDB databases created using CED.
|
|
17 |
|
|
18 |
# macro for all the rules
|
|
19 |
define installdefaultcommdb
|
|
20 |
|
|
21 |
FINAL:: $(CommDb_$(PLATFORM)_$(CFG)_done)
|
|
22 |
$(call startrule,installdefaultcommdb) \
|
|
23 |
$(PERL) $(EXTENSION_ROOT)/installdefaultcommdb.pl --command=build --platform=$(PLATFORM) --variant=$(CFG) --platsec \
|
|
24 |
$(call endrule,installdefaultcommdb)
|
|
25 |
|
|
26 |
CLEAN::
|
|
27 |
$(call startrule,clean) \
|
|
28 |
$(PERL) $(EXTENSION_ROOT)/installdefaultcommdb.pl --command=clean --platform=$(PLATFORM) --variant=$(CFG) --platsec \
|
|
29 |
$(call endrule,clean)
|
|
30 |
|
|
31 |
RELEASABLES::
|
|
32 |
@$(PERL) $(EXTENSION_ROOT)/installdefaultcommdb.pl --command=releasables --platform=$(PLATFORM) --variant=$(CFG) --platsec
|
|
33 |
|
|
34 |
ifeq ($(WHATLOG),TRUE)
|
|
35 |
FINAL::
|
|
36 |
@ { echo "<whatlog bldinf='$(COMPONENT_META)' mmp='' config='$(SBS_CONFIGURATION)'>" ; \
|
|
37 |
$(PERL) $(EXTENSION_ROOT)/installdefaultcommdb.pl --command=releasables --platform=$(PLATFORM) --variant=$(CFG) --platsec | \
|
|
38 |
(read -r LINE; while [ $$$$? -eq 0 ]; do \
|
|
39 |
echo "<build>$$$$LINE</build>"; \
|
|
40 |
read -r LINE; done; ); \
|
|
41 |
echo "</whatlog>"; } \
|
|
42 |
$(if $(DESCRAMBLE),2>&1 | $(DESCRAMBLE))
|
|
43 |
endif
|
|
44 |
|
|
45 |
endef
|
|
46 |
|
|
47 |
# expand
|
|
48 |
$(eval $(installdefaultcommdb))
|
|
49 |
|