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