comparison packages/pkgconf.tcl @ 14:01ce82f3e11a ecos-sw-1999-06-11

Merge from eCos master repository on 1999-06-11-17:05:41-BST
author jlarmour
date Fri, 11 Jun 1999 09:36:56 +0000
parents 4cc3eff958ab
children 41bd4f3a90de
comparison
equal deleted inserted replaced
13:acb4fa7cb179 14:01ce82f3e11a
2060 fatal_error "Invalid argument --platform=$pkgconf::platform_arg, this platform is not listed in $targets_file" 2060 fatal_error "Invalid argument --platform=$pkgconf::platform_arg, this platform is not listed in $targets_file"
2061 } 2061 }
2062 set pkgconf::config_data(platform) $platform 2062 set pkgconf::config_data(platform) $platform
2063 } 2063 }
2064 2064
2065 set pkgconf::config_data(base_platform) [get_base_platform $target $platform] 2065 if { ($target != "") && ($platform != "") } {
2066 set pkgconf::config_data(base_platform) [get_base_platform $target $platform]
2067 }
2066 2068
2067 if { ($target != "") && ($platform != "") && ($pkgconf::startup_arg != "" ) } { 2069 if { ($target != "") && ($platform != "") && ($pkgconf::startup_arg != "" ) } {
2068 2070
2069 if { [lsearch -exact $pkgconf::target_data($target,$platform,startup) $pkgconf::startup_arg] == -1 } { 2071 if { [lsearch -exact $pkgconf::target_data($target,$platform,startup) $pkgconf::startup_arg] == -1 } {
2070 fatal_error "Invalid argument --startup=$startup_arg, this startup is not listed in $targets_file" 2072 fatal_error "Invalid argument --startup=$startup_arg, this startup is not listed in $targets_file"
5605 } 5607 }
5606 } 5608 }
5607 5609
5608 # Additions for the MLT 5610 # Additions for the MLT
5609 puts $file "\n" 5611 puts $file "\n"
5610 puts $file "#define CYGHWR_MEMORY_LAYOUT_LDI <pkgconf/mlt_[set pkgconf::config_data(target)]_[set pkgconf::config_data(base_platform)]_[set pkgconf::config_data(startup)].ldi>" 5612 puts $file "#define CYGHWR_MEMORY_LAYOUT_LDI <pkgconf/mlt_[set pkgconf::config_data(target)]_[set pkgconf::config_data(platform)]_[set pkgconf::config_data(startup)].ldi>"
5611 puts $file "#define CYGHWR_MEMORY_LAYOUT_H <pkgconf/mlt_[set pkgconf::config_data(target)]_[set pkgconf::config_data(base_platform)]_[set pkgconf::config_data(startup)].h>" 5613 puts $file "#define CYGHWR_MEMORY_LAYOUT_H <pkgconf/mlt_[set pkgconf::config_data(target)]_[set pkgconf::config_data(platform)]_[set pkgconf::config_data(startup)].h>"
5612 5614
5613 # Also output details of the HAL header files that should be included 5615 # Also output details of the HAL header files that should be included
5614 puts $file "\n" 5616 puts $file "\n"
5615 puts $file "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_[set pkgconf::config_data(target)].h>" 5617 puts $file "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_[set pkgconf::config_data(target)].h>"
5616 puts $file "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_[set pkgconf::config_data(target)]_[set pkgconf::config_data(base_platform)].h>" 5618 puts $file "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_[set pkgconf::config_data(target)]_[set pkgconf::config_data(base_platform)].h>"