Subversion Repositories DevTools

Rev

Rev 261 | Rev 279 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 261 Rev 275
Line 662... Line 662...
662
        #   Must have the makefile. We should have detected this error before now
662
        #   Must have the makefile. We should have detected this error before now
663
        #
663
        #
664
        Error ("Makefile not found - $target") unless ( -f "$dir/$target.mk" );
664
        Error ("Makefile not found - $target") unless ( -f "$dir/$target.mk" );
665
 
665
 
666
        #
666
        #
-
 
667
        #   Export data into the user environment
-
 
668
        #   Allows underlying tools to locate data files with little effort
-
 
669
        #
-
 
670
        $ENV{'GBE_MAKE_TYPE'} = $text;                  # P or D or C
-
 
671
        $ENV{'GBE_MAKE_TARGET'} = $target;              # Target platform
-
 
672
        $ENV{'GBE_MAKE_CFG'} = $Tags->{$dir}{config};   # Ref to config data
-
 
673
        $ENV{'GBE_MAKE_CMD'} = $cmd;                    # Make phase
-
 
674
 
-
 
675
        #
667
        #   Build up the make command line
676
        #   Build up the make command line
668
        #   Examine command specfic flags
677
        #   Examine command specfic flags
669
        #
678
        #
670
        my @args = @defs;
679
        my @args = @defs;
671
        push @args, "IFLAG=$commands{$cmd}{IFLAG}" if ( exists $commands{$cmd}{IFLAG} );
680
        push @args, "IFLAG=$commands{$cmd}{IFLAG}" if ( exists $commands{$cmd}{IFLAG} );