Changeset 272 in xtideuniversalbios


Ignore:
Timestamp:
Feb 27, 2012, 4:44:10 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Updated makefile to build only 8k or 15k builds.
  • Updated makefile to build 8k JR-IDE/ISA build.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/makefile

    r258 r272  
    33#                                                                             #
    44# Valid makefile targets are:                                                 #
    5 # all       Removes existing files and builds binary file in \Build           #
    6 # build     Builds binary file in \Build                                      #
     5# all       Removes existing files and builds binary files in \Build          #
     6# small     Builds 8 kiB binaries only (without checksum)                     #
     7# large     Builds 15 kiB binaries only (without checksum)                    #
    78# clean     Removes all files from \Build                                     #
    89# checksum* Builds all and then generates checksum byte to all binary files   #
     
    6667# Assembler preprocessor defines.                               #
    6768#################################################################
    68 DEFINES = INCLUDE_MENU_LIBRARY EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS MODULE_EBIOS MODULE_SERIAL MODULE_STRINGS_COMPRESSED MODULE_SERIAL_FLOPPY
    69 DEFINES_XT = ELIMINATE_CGA_SNOW
    70 DEFINES_XTPLUS = ELIMINATE_CGA_SNOW USE_186
    71 DEFINES_AT = USE_186 USE_286 USE_AT
     69DEFINES = INCLUDE_MENU_LIBRARY EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS MODULE_EBIOS MODULE_STRINGS_COMPRESSED
     70DEFINES_XT = ELIMINATE_CGA_SNOW MODULE_SERIAL MODULE_SERIAL_FLOPPY
     71DEFINES_XTPLUS = ELIMINATE_CGA_SNOW USE_186 MODULE_SERIAL MODULE_SERIAL_FLOPPY
     72DEFINES_AT = USE_186 USE_286 USE_AT MODULE_SERIAL MODULE_SERIAL_FLOPPY
    7273DEFINES_XT_LARGE = $(DEFINES_XT) MODULE_JRIDE
    7374DEFINES_XTPLUS_LARGE = $(DEFINES_XTPLUS) MODULE_JRIDE
    7475DEFINES_AT_LARGE = $(DEFINES_AT) MODULE_JRIDE
     76DEFINES_JRIDE_8K = ELIMINATE_CGA_SNOW MODULE_JRIDE
    7577
    7678
     
    9193DEFS_XTPLUS_LARGE = $(DEFINES_XTPLUS_LARGE:%=-D%) -DROMSIZE=$(ROMSIZE_LARGE)
    9294DEFS_AT_LARGE = $(DEFINES_AT_LARGE:%=-D%) -DROMSIZE=$(ROMSIZE_LARGE)
     95DEFS_JRIDE_8K = $(DEFINES_JRIDE_8K:%=-D%) -DROMSIZE=$(ROMSIZE)
    9396
    9497# Add -I in front of all header directories
     
    128131############################################
    129132
    130 .PHONY: all at at_large xtplus xtplus_large xt xt_large clean
     133# Make clean debug and release versions
     134all: clean small large
     135    @echo All done!
    131136
    132 # Make clean debug and release versions
    133 all: clean at at_large xtplus xtplus_large xt xt_large
    134     @echo All done!
     137small: at xtplus xt jride_8k
     138    @echo All  8 kiB binaries built!
     139
     140large: at_large xtplus_large xt_large
     141    @echo All 15 kiB binaries build!
    135142
    136143at:
    137144    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -l"$(TARGET)_at.lst" -o"$(TARGET)_at.bin"
    138     @echo AT version "$(TARGET)_at.bin" built.
     145    @echo * 8k AT version "$(TARGET)_at.bin" built.
    139146
    140147at_large:
    141148    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT_LARGE) -l"$(TARGET)_atl.lst" -o"$(TARGET)_atl.bin"
    142     @echo Large AT version "$(TARGET)_atl.bin" built.
     149    @echo *15k AT version "$(TARGET)_atl.bin" built.
    143150
    144151xtplus:
    145152    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS) -l"$(TARGET)_xtp.lst" -o"$(TARGET)_xtp.bin"
    146     @echo XT plus version "$(TARGET)_xtp.bin" built.
     153    @echo * 8k XT plus version "$(TARGET)_xtp.bin" built.
    147154
    148155xtplus_large:
    149156    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS_LARGE) -l"$(TARGET)_xtpl.lst" -o"$(TARGET)_xtpl.bin"
    150     @echo Large XT plus version "$(TARGET)_xtpl.bin" built.
     157    @echo *15k XT plus version "$(TARGET)_xtpl.bin" built.
    151158
    152159xt:
    153160    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -l"$(TARGET)_xt.lst" -o"$(TARGET)_xt.bin"
    154     @echo XT version "$(TARGET)_xt.bin" built.
     161    @echo * 8k XT version "$(TARGET)_xt.bin" built.
    155162
    156163xt_large:
    157164    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_LARGE) -l"$(TARGET)_xtl.lst" -o"$(TARGET)_xtl.bin"
    158     @echo Large XT version "$(TARGET)_xtl.bin" built.
     165    @echo *15k XT version "$(TARGET)_xtl.bin" built.
     166   
     167jride_8k:
     168    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_JRIDE_8K) -l"$(TARGET)_jr8k.lst" -o"$(TARGET)_jr8k.bin"
     169    @echo * 8k JR-IDE/ISA version "$(TARGET)_jr8k.bin" built.
    159170
    160171strings: src\StringsCompressed.asm
     
    171182    @perl ..\tools\checksum.pl $(TARGET)_xtp.bin $(ROMSIZE)
    172183    @perl ..\tools\checksum.pl $(TARGET)_xt.bin $(ROMSIZE)
     184    @perl ..\tools\checksum.pl $(TARGET)_jr8k.bin $(ROMSIZE)
    173185
    174186src\StringsCompressed.asm: src\Strings.asm
Note: See TracChangeset for help on using the changeset viewer.