aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/src/reltool_mod_win.erl
diff options
context:
space:
mode:
authorHåkan Mattsson <[email protected]>2010-04-01 10:37:29 +0200
committerHåkan Mattsson <[email protected]>2010-04-19 13:17:33 +0200
commit21db0d0e7e7112d7c257ed19fc8e3c0a90d4698b (patch)
tree602a79bd3db23d792a621e7c5d063c51788ca5bb /lib/reltool/src/reltool_mod_win.erl
parentbc5807db3a4bb72395da7d32f4bee4a4678e8bfe (diff)
downloadotp-21db0d0e7e7112d7c257ed19fc8e3c0a90d4698b.tar.gz
otp-21db0d0e7e7112d7c257ed19fc8e3c0a90d4698b.tar.bz2
otp-21db0d0e7e7112d7c257ed19fc8e3c0a90d4698b.zip
Introduced a new embedded_app_type option
It is for embedded systems where all included applications must be loaded from the boot script. If embedded_app_type is set to something else than undefined all included applications will be included in both the "rel" as well as in the "script".
Diffstat (limited to 'lib/reltool/src/reltool_mod_win.erl')
-rw-r--r--lib/reltool/src/reltool_mod_win.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/reltool/src/reltool_mod_win.erl b/lib/reltool/src/reltool_mod_win.erl
index c2544cc2d8..f68c61fd6f 100644
--- a/lib/reltool/src/reltool_mod_win.erl
+++ b/lib/reltool/src/reltool_mod_win.erl
@@ -514,7 +514,7 @@ select_image(Xref, ModName) ->
{ok, M} = reltool_server:get_mod(Xref, ModName),
Image =
case M#mod.is_included of
- _ when M#mod.app_name =:= ?MISSING_APP -> ?ERR_IMAGE;
+ _ when M#mod.app_name =:= ?MISSING_APP_NAME -> ?ERR_IMAGE;
true -> ?TICK_IMAGE;
false -> ?WARN_IMAGE;
undefined -> ?ERR_IMAGE
@@ -674,7 +674,7 @@ do_goto_function(#state{active_page = P} = S, [FunName]) ->
find_regexp_forward(S, "^" ++ FunName ++ "(");
do_goto_function(S, [ModStr, FunStr]) ->
case reltool_server:get_mod(S#state.xref_pid, list_to_atom(ModStr)) of
- {ok, Mod} when Mod#mod.app_name =/= ?MISSING_APP ->
+ {ok, Mod} when Mod#mod.app_name =/= ?MISSING_APP_NAME ->
S2 = create_code_page(S#state{mod = Mod}, ModStr),
find_regexp_forward(S2, "^" ++ FunStr ++ "(");
{ok, _} ->