Subversion Repositories DevTools

Rev

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

Rev 241 Rev 243
Line 832... Line 832...
832
    #   Locate the optional PLATFORM configuration file
832
    #   Locate the optional PLATFORM configuration file
833
    #   If it does exist then it can extend build-time information
833
    #   If it does exist then it can extend build-time information
834
    #
834
    #
835
    my $target = $pInfo->{TARGET};
835
    my $target = $pInfo->{TARGET};
836
 
836
 
-
 
837
################################################################################
-
 
838
#
-
 
839
#   Temp remove: 08-Apr-08
-
 
840
#   Does not play well with LMOS stuff, as LMOS platforms are defined within
-
 
841
#   the LMOS package. This is uggly, but its what we have.
-
 
842
#
-
 
843
#   Solutions:
-
 
844
#       1) Move LMOS magic out of the LMOS package
-
 
845
#       2) Have a config file of known targets
-
 
846
#          This will limit the auto-expandability of LMOS
-
 
847
#       3) Process later
-
 
848
#          Change the way the build.pl parser works to do two phases
-
 
849
#           a) Collect information from directives
-
 
850
#           b) Process the information
-
 
851
#          This will solve a number of problems, not only here but elsewhere.
-
 
852
#          It will:
-
 
853
#               Simplify the handling of clobber
-
 
854
#               Remove the need to order the directives
-
 
855
#               Simplify processing as all the information
-
 
856
#               will be present when the
-
 
857
#
837
    #
858
#    #
838
    #   Ensure target is known to JATS
859
#    #   Ensure target is known to JATS
839
    #   Remove unknown targets from the build. Create a list of unknown
860
#    #   Remove unknown targets from the build. Create a list of unknown
840
    #   targets and report them later.
861
#    #   targets and report them later.
841
    #
862
#    #
842
    unless ( Exists( "$::GBE_CONFIG/PLATFORM", $target  ) )
863
#    unless ( Exists( "$::GBE_CONFIG/PLATFORM", $target  ) )
843
    {
864
#    {
844
        $pInfo->{NOT_AVAILABLE} = 1;
865
#        $pInfo->{NOT_AVAILABLE} = 1;
845
        UniquePush (\@BUILD_BADNAME, $target );
866
#        UniquePush (\@BUILD_BADNAME, $target );
846
    }
867
#    }
-
 
868
################################################################################
847
 
869
 
848
    unless ($pInfo->{NOT_AVAILABLE} )
870
    unless ($pInfo->{NOT_AVAILABLE} )
849
    {
871
    {
850
        if ( my $build_cfg = Require( "$::GBE_CONFIG/PLATFORM", "${target}.cfg"  ) )
872
        if ( my $build_cfg = Require( "$::GBE_CONFIG/PLATFORM", "${target}.cfg"  ) )
851
        {
873
        {