author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Mon, 15 Mar 2010 12:43:09 +0200 | |
branch | RCL_3 |
changeset 6 | dee5afe5301f |
parent 4 | 3b1da2848fc7 |
permissions | -rw-r--r-- |
0 | 1 |
# /**************************************************************************** |
2 |
# ** |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
3 |
# ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 4 |
# ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 |
# ** |
|
6 |
# ** This file is part of symbian-sbsv2 mkspec. |
|
7 |
# ** |
|
8 |
# ****************************************************************************/ |
|
9 |
||
10 |
||
11 |
POST_LINK_TARGET:=POST_LINK_$(PLATFORM_PATH)_$(CFG_PATH)_$(call sanitise,$(LINK_TARGET)) |
|
12 |
POST_LINK_DEP:=$(EPOCROOT)/epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/$(LINK_TARGET) |
|
13 |
||
14 |
# Passing $(PLATFORM_PATH) etc. variables in FLM options makes sbsv2 toolchain to double the dollar signs, |
|
15 |
# requiring evaluating them twice in order to get desired values, |
|
16 |
# so do an extra evaluation before using the command. |
|
17 |
define command_fixer |
|
18 |
THE_COMMAND:=$(POST_LINK_CMD) |
|
19 |
endef |
|
20 |
||
21 |
define qmake_post_link |
|
22 |
$(ALLTARGET):: $(POST_LINK_TARGET) |
|
23 |
||
24 |
$(POST_LINK_TARGET): $(POST_LINK_DEP) |
|
25 |
$(call startrule,qmake_post_link) \ |
|
26 |
$(THE_COMMAND) \ |
|
27 |
$(call endrule,qmake_post_link) |
|
28 |
endef |
|
29 |
||
30 |
$(eval $(command_fixer)) |
|
31 |
$(eval $(qmake_post_link)) |
|
32 |