Commit 1e2bc4b6 authored by claes's avatar claes

*** empty log message ***

parent 6a0df769
ifndef link_rule_mk
link_rule_mk := 1
link = $(ld) $(elinkflags) $(domap) -o $(export_exe) \
ifeq ($(export_type),exp)
link = $(ld) $(explinkflags) $(domap) -o $(export_exe) \
$(export_obj) $(objects) $(rt_msg_objs) $(rs_msg_objs)\
$(pwr_obj)/rt_io_user.o \
-lpwr_rt -lpwr_co -lpwr_msg_dummy -lpthread -lm
else
link = $(ld) $(elinkflags) $(domap) -o $(export_exe) \
$(export_obj) $(objects) $(rt_msg_objs) $(rs_msg_objs)\
$(pwr_obj)/rt_io_user.o \
-lpwr_rt -lpwr_co -lpwr_msg_dummy -lpthread -lm
endif
endif
......@@ -136,7 +136,7 @@ realclean : clean $(clean_h_includes) $(clean_hpp_includes) clean_dirs
$(export_exe) : $(link_rule) $(export_obj) $(objects)
@ $(log_link_exe)
@ $(link)
$(link)
# This is for Lynx 2.5 map files, it doesn't work for Linux. ML
......
......@@ -10,6 +10,7 @@ variables_mk := 1
release_root := $(pwre_broot)/$(os_name)/$(hw_name)
module_root := $(release_root)/$(pwre_bmodule)
export_type := $(export_type)
exe_dir := $(module_root)/exe
lib_dir := $(module_root)/lib
......@@ -118,7 +119,8 @@ ifeq ($(pwre_btype),rls)
cflags := -c -O3 -D_GNU_SOURCE -DPWR_NDEBUG -D_REENTRANT
cxxflags := $(cflags)
linkflags := -O3 -L/usr/local/lib -L$(lib_dir) -lm -lrt
elinkflags := -O3 -L/usr/local/lib -L$(libdir) -L$(elib_dir) -lm -lrt
elinkflags := -O3 -L/usr/local/lib -L$(lib_dir) -L$(elib_dir) -lm -lrt
explinkflags := -g -L/usr/local/lib -L$(elib_dir) -lrt
clis = /lis=$(list)
dolist = /lis=$(list)
domap = -Xlinker -Map -Xlinker $(map)
......@@ -128,6 +130,7 @@ else
mmflags := -Wno-deprecated
linkflags := -g -L/usr/local/lib -L$(lib_dir) -lrt
elinkflags := -g -L/usr/local/lib -L$(lib_dir) -L$(elib_dir) -lrt
explinkflags := -g -L/usr/local/lib -L$(elib_dir) -lrt
dolist = /lis=$(list)
clis :=
domap = -Xlinker -Map -Xlinker $(map)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment