Commit 007ab427 authored by Claes Sjofors's avatar Claes Sjofors

rpi build fix

parent d4494930
ifndef link_rule_mk ifndef link_rule_mk
link_rule_mk := 1 link_rule_mk := 1
ifeq ($(PWRE_CONF_LIBHDF5),1) ifndef pwre_cxx
ldsev = mpic++ ifeq ($(PWRE_CONF_LIBHDF5),1)
ldsev = mpic++
else
ldsev = $(ldxx)
endif
else else
ldsev = $(ldxx) ldsev = $(pwre_cxx)
endif endif
link = $(ldsev) $(elinkflags) $(domap) -o $(export_exe) \ link = $(ldsev) $(elinkflags) $(domap) -o $(export_exe) \
......
...@@ -62,7 +62,7 @@ then ...@@ -62,7 +62,7 @@ then
cinc="-I$pwr_inc -I$pwrp_rttbld" cinc="-I$pwr_inc -I$pwrp_rttbld"
cflags="-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall" cflags="-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${cc} -c -o $pwrp_obj/${name}.o $pwrp_rttbld/${name}.c ${cinc} ${cflags} ${cc} -c -o $pwrp_obj/${name}.o $pwrp_rttbld/${name}.c ${cinc} ${cflags}
ar rc ${ar_name_pict} $pwrp_obj/${name}.o ar rcU ${ar_name_pict} $pwrp_obj/${name}.o
else else
# echo "Is rttsys" # echo "Is rttsys"
ar_name_pict=${pwr_lib}/libpwr_dtt.a ar_name_pict=${pwr_lib}/libpwr_dtt.a
...@@ -78,7 +78,7 @@ then ...@@ -78,7 +78,7 @@ then
cflags="-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall" cflags="-DOS_LINUX -DOS=linux -DHW_ARM=1 -DPOSIX_SOURCE -DWall"
${cc} -c -o ${bld_dir}/${name}.o \ ${cc} -c -o ${bld_dir}/${name}.o \
${bld_dir}/${name}.c ${cinc} ${cflags} ${bld_dir}/${name}.c ${cinc} ${cflags}
ar rc ${ar_name_pict} ${bld_dir}/${name}.o ar rcU ${ar_name_pict} ${bld_dir}/${name}.o
fi fi
else else
echo "Opsys ($opsys) is not linux, not yet supported" echo "Opsys ($opsys) is not linux, not yet supported"
......
...@@ -1189,6 +1189,10 @@ sub copy () ...@@ -1189,6 +1189,10 @@ sub copy ()
my $flavour = $_[1]; my $flavour = $_[1];
if ( $flavour eq "") {
$flavour = "gtk";
}
my($cmd) = "make -f $bindir/import_files.mk" . " " . $_[0] . "_" . $flavour; my($cmd) = "make -f $bindir/import_files.mk" . " " . $_[0] . "_" . $flavour;
system("$cmd"); system("$cmd");
} }
......
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