Commit ae073662 authored by claes's avatar claes

ARM build fix

parent eb5d738e
......@@ -54,7 +54,7 @@ then
then
ar_name_pict=${pwrp_lib}/ra_rtt_${pgmname}_pict.a
cc=arm-linux-gnueabi-gcc-4.3
cc=$pwre_cc
cinc="-I$pwr_inc -I$pwrp_rttbld"
cflags="-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${cc} -c -o $pwrp_obj/${name}.o $pwrp_rttbld/${name}.c ${cinc} ${cflags}
......@@ -65,7 +65,7 @@ then
bld_dir=$pwre_broot/$pwre_os/$pwre_hw/bld/lib/dtt
# echo $ar_name $ar_name_pict
cc=arm-linux-gnueabi-gcc-4.3
cc=$pwre_cc
cinc="-I$pwr_inc -I${bld_dir}"
cflags="-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${cc} -c -o ${bld_dir}/${name}.o \
......
......@@ -184,7 +184,7 @@ CompileRtNode()
ld_opt_tmp="`cat $pwrp_exe/$FileName.opt`"
ld_opt="`eval echo $ld_opt_tmp`"
else
ld_opt="`eval echo $pwrobj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy`"
ld_opt="`eval echo $pwrobj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy -lpwr_usb_dummy -lpwr_pnak_dummy -lpwr_cifx_dummy`"
fi
if $ldxx $link_debug -L/lib/thread -L$pwrp_lib -L$pwrp_cmn/arm_linux/lib -L$pwrlib \
......
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