Subversion Repositories DevTools

Rev

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

Rev 355 Rev 357
Line 53... Line 53...
53
                                                '$(WCEROOT)/atlmfc/include',
53
                                                '$(WCEROOT)/atlmfc/include',
54
                                           ],
54
                                           ],
55
                           'libs'       => [    '$(WCEROOT)/lib/$(WCE_TARGETCPU)',
55
                           'libs'       => [    '$(WCEROOT)/lib/$(WCE_TARGETCPU)',
56
                                                '$(WCEROOT)/atlmfc/lib/$(WCE_TARGETCPU)',
56
                                                '$(WCEROOT)/atlmfc/lib/$(WCE_TARGETCPU)',
57
                                           ],
57
                                           ],
-
 
58
                           'hex_WCEVersion' => 1,
58
                           },
59
                           },
59
 
60
 
60
    );
61
    );
61
 
62
 
62
 
63
 
Line 64... Line 65...
64
#   ToolsetInit()
65
#   ToolsetInit()
65
#       Runtime initialisation
66
#       Runtime initialisation
66
#
67
#
67
##############################################################################
68
##############################################################################
68
 
69
 
69
my( $WCEVersion )               = "";
70
my( $WCEVersion,$WCEVersionTool ) = "";
70
my( $WCESubsystem )             = "";
71
my( $WCESubsystem )             = "";
71
my( $WCEPlatform )              = "";
72
my( $WCEPlatform )              = "";
72
my( $WCEPlatformDefine )        = "";
73
my( $WCEPlatformDefine )        = "";
73
my( $WCEPlatformClean )         = "";
74
my( $WCEPlatformClean )         = "";
74
my( $WCETargetCPU )             = "";
75
my( $WCETargetCPU )             = "";
Line 408... Line 409...
408
    #   Currently these are within ProgramFiles
409
    #   Currently these are within ProgramFiles
409
    #
410
    #
410
    $wceroot = $toolchain_info->{'wceroot'};
411
    $wceroot = $toolchain_info->{'wceroot'};
411
 
412
 
412
    #
413
    #
-
 
414
    #   The VS2005 toolchain uses a hex value for WCEVersion
-
 
415
    #
-
 
416
    $WCEVersionTool = $WCEVersion;
-
 
417
    $WCEVersionTool = '0X' . $WCEVersion if ( $toolchain_info->{'hex_WCEVersion'} );
-
 
418
 
-
 
419
 
-
 
420
    #
413
    #   Determine SDK root
421
    #   Determine SDK root
414
    #   Currently these are well known
422
    #   Currently these are well known
415
    #
423
    #
416
    $sdkroot = 'Windows CE Tools/wce'.$WCEVersion.'/'.$WCEPlatform;
424
    $sdkroot = 'Windows CE Tools/wce'.$WCEVersion.'/'.$WCEPlatform;
417
    
425
    
Line 443... Line 451...
443
SDKROOT		:= \$(PROGRAMFILES)/" . $sdkroot ."
451
SDKROOT		:= \$(PROGRAMFILES)/" . $sdkroot ."
444
export SDKROOT
452
export SDKROOT
445
endif
453
endif
446
 
454
 
447
WCE_VSTOOL           := $vstool
455
WCE_VSTOOL           := $vstool
448
WCE_VERSION          := 0x$WCEVersion
456
WCE_VERSION          := $WCEVersionTool
449
WCE_SUBSYSTEM        := $WCESubsystem
457
WCE_SUBSYSTEM        := $WCESubsystem
450
WCE_PLATFORM         := $WCEPlatform
458
WCE_PLATFORM         := $WCEPlatform
451
WCE_PLATFORM_SDK_DEF := $WCEPlatformDefine
459
WCE_PLATFORM_SDK_DEF := $WCEPlatformDefine
452
WCE_PLATFORM2        := $WCEPlatformClean
460
WCE_PLATFORM2        := $WCEPlatformClean
453
WCE_TARGETCPU        := $WCETargetCPU
461
WCE_TARGETCPU        := $WCETargetCPU