248 |
|
# Do a datestamp check so that make will build files that have changed |
249 |
|
# rather than just those which are older than their dependencies |
250 |
|
# The main build here |
251 |
+ |
|
252 |
|
$rv=system("gmake","--no-print-directory","-r","-k","-f","$ENV{DefaultMakefile}","-I$ENV{TOOL_HOME}",datestamp_config); |
253 |
|
|
254 |
+ |
# Be verbose: |
255 |
+ |
$self->verbose(">> Going to use ".$ENV{DefaultMakefile}." as the default makefile"); |
256 |
+ |
|
257 |
|
my $gmakejobsflag = "-j"; |
258 |
|
# Temporarily hard-code ncpu as 1: |
259 |
|
my $ncpu = 1; |
260 |
< |
|
260 |
> |
|
261 |
|
$rv=system("gmake","--no-print-directory","$gmakejobsflag","$ncpu","-r","-k","-f","$ENV{DefaultMakefile}","-I$ENV{TOOL_HOME}",datestamp, @Targets); |
262 |
|
|
263 |
|
return $rv/256; # return the exit status of gmake |