Commit 65e7eefd authored by Claes Sjofors's avatar Claes Sjofors

Build script fix for powerlink

parent 6f3a2bbf
......@@ -634,10 +634,10 @@ sub build_all_modules ()
_module("ssabox");
build_all( $flavour);
merge();
_module("othermanu");
_module("otherio");
build_all( $flavour);
merge();
_module("otherio");
_module("othermanu");
build_all( $flavour);
merge();
_module("sev");
......@@ -729,6 +729,11 @@ sub build_all_wbl ()
system( "rm $load_dir/*.dbs");
_build("wbl", "bcomp", "src", "lib");
merge();
_module("otherio");
my($load_dir) = $ENV{"pwr_load"};
system( "rm $load_dir/*.dbs");
_build("wbl", "mcomp", "src", "lib");
merge();
_module("misc");
my($load_dir) = $ENV{"pwr_load"};
system( "rm $load_dir/*.dbs");
......@@ -764,11 +769,6 @@ sub build_all_wbl ()
system( "rm $load_dir/*.dbs");
_build("wbl", "mcomp", "src", "lib");
merge();
_module("otherio");
my($load_dir) = $ENV{"pwr_load"};
system( "rm $load_dir/*.dbs");
_build("wbl", "mcomp", "src", "lib");
merge();
_module("othermanu");
my($load_dir) = $ENV{"pwr_load"};
system( "rm $load_dir/*.dbs");
......@@ -934,6 +934,9 @@ sub build_all ()
my($einc) = $ENV{"pwr_einc"};
my($remoteclasses) = $einc . "/pwr_remoteclasses.h";
my($nmpsclasses) = $einc . "/pwr_nmpsclasses.h";
my($profibusclasses) = $einc . "/pwr_profibussclasses.h";
my($bcompclasses) = $einc . "/pwr_basecomponentsclasses.h";
my($otherioclasses) = $einc . "/pwr_otherioclasses.h";
printf("--\n");
printf("-- Build all\n");
......@@ -972,6 +975,21 @@ sub build_all ()
_build("wbl", "remote", "src", "init copy");
merge("inc/pwr_remoteclasses.h");
}
if ( ! -e $profibusclasses ) {
_module("profibus");
_build("wbl", "mcomp", "src", "init copy");
merge("inc/pwr_profibusclasses.h");
}
if ( ! -e $bcompclasses ) {
_module("bcomp");
_build("wbl", "bcomp", "src", "init copy");
merge("inc/pwr_basecomponentclasses.h");
}
if ( ! -e $otherioclasses ) {
_module("otherio");
_build("wbl", "mcomp", "src", "init copy");
merge("inc/pwr_otherioclasses.h");
}
_module("rt");
_build("lib", "rt", "src", "all");
_build("exp", "rt", "src", "all");
......
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