Changeset 397 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/makefile
- Timestamp:
- Apr 19, 2012, 11:11:41 AM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/makefile
r395 r397 91 91 ################################################################# 92 92 DEFINES_COMMON = MODULE_STRINGS_COMPRESSED MODULE_HOTKEYS MODULE_EBIOS 93 94 DEFINES_XT = ELIMINATE_CGA_SNOW MODULE_SERIAL MODULE_SERIAL_FLOPPY 95 DEFINES_XTPLUS = USE_186 ELIMINATE_CGA_SNOW MODULE_SERIAL MODULE_SERIAL_FLOPPY 96 DEFINES_AT = USE_AT USE_286 MODULE_SERIAL MODULE_SERIAL_FLOPPY MODULE_ADVANCED_ATA 97 98 DEFINES_XT_LARGE = $(DEFINES_XT) MODULE_BOOT_MENU MODULE_JRIDE MODULE_ADVANCED_ATA 99 DEFINES_XTPLUS_LARGE = $(DEFINES_XTPLUS) MODULE_BOOT_MENU MODULE_JRIDE MODULE_ADVANCED_ATA 100 DEFINES_AT_LARGE = $(DEFINES_AT) MODULE_BOOT_MENU MODULE_JRIDE MODULE_ADVANCED_ATA 101 102 DEFINES_JRIDE_8K = ELIMINATE_CGA_SNOW MODULE_JRIDE 103 DEFINES_386_8K = USE_AT USE_386 MODULE_ADVANCED_ATA 93 DEFINES_COMMON_LARGE = MODULE_BOOT_MENU MODULE_JRIDE MODULE_SERIAL MODULE_SERIAL_FLOPPY 94 95 DEFINES_XT = $(DEFINES_COMMON) ELIMINATE_CGA_SNOW MODULE_JRIDE MODULE_SERIAL MODULE_SERIAL_FLOPPY 96 DEFINES_XTPLUS = $(DEFINES_COMMON) $(DEFINES_XT) USE_186 97 DEFINES_AT = $(DEFINES_COMMON) USE_AT USE_286 MODULE_SERIAL MODULE_SERIAL_FLOPPY MODULE_ADVANCED_ATA 98 99 DEFINES_XT_LARGE = $(DEFINES_XT) $(DEFINES_COMMON_LARGE) 100 DEFINES_XTPLUS_LARGE = $(DEFINES_XTPLUS) $(DEFINES_COMMON_LARGE) 101 DEFINES_AT_LARGE = $(DEFINES_AT) $(DEFINES_COMMON_LARGE) 102 103 DEFINES_XT_TINY = MODULE_STRINGS_COMPRESSED 104 DEFINES_386_8K = $(DEFINES_AT) USE_386 104 105 105 106 … … 113 114 114 115 # Add -D in front of every preprocessor define declaration 115 DEFS = $(DEFINES_COMMON:%=-D%)116 116 DEFS_XT = $(DEFINES_XT:%=-D%) -DROMSIZE=$(ROMSIZE) 117 117 DEFS_XTPLUS = $(DEFINES_XTPLUS:%=-D%) -DROMSIZE=$(ROMSIZE) … … 120 120 DEFS_XTPLUS_LARGE = $(DEFINES_XTPLUS_LARGE:%=-D%) -DROMSIZE=$(ROMSIZE_LARGE) 121 121 DEFS_AT_LARGE = $(DEFINES_AT_LARGE:%=-D%) -DROMSIZE=$(ROMSIZE_LARGE) 122 DEFS_ JRIDE_8K = $(DEFINES_JRIDE_8K:%=-D%) -DROMSIZE=$(ROMSIZE)122 DEFS_XT_TINY = $(DEFINES_XT_TINY:%=-D%) -DROMSIZE=$(ROMSIZE) 123 123 DEFS_386_8K = $(DEFINES_386_8K:%=-D%) -DROMSIZE=$(ROMSIZE) 124 124 … … 149 149 # Assembly compiler flags 150 150 ASFLAGS = -f bin # Produce binary object files 151 ASFLAGS += $(DEFS) # Preprocessor defines152 151 ASFLAGS += $(IHEADERS) # Set header file directory paths 153 152 ASFLAGS += -Worphan-labels # Warn about labels without colon … … 162 161 @echo All done! 163 162 164 small: at xtplus xt jride_8k386_8k163 small: xt_tiny xt xtplus at 386_8k 165 164 @echo All 8 kiB binaries built! 166 165 167 large: at_large xtplus_large xt_large166 large: xt_large xtplus_large at_large 168 167 @echo All 15 kiB binaries built! 169 168 … … 192 191 @echo *15k XT version "$(TARGET)_xtl.bin" built. 193 192 194 jride_8k:195 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_ JRIDE_8K) -l"$(TARGET)_jr8k.lst" -o"$(TARGET)_jr8k.bin"196 @echo * 8k JR-IDE/ISA version "$(TARGET)_jr8k.bin" built.193 xt_tiny: 194 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_TINY) -l"$(TARGET)_tiny.lst" -o"$(TARGET)_tiny.bin" 195 @echo * Tiny XT version "$(TARGET)_tiny.bin" built. 197 196 198 197 386_8k: … … 210 209 211 210 checksum: all 211 @perl ..\tools\checksum.pl $(TARGET)_tiny.bin $(ROMSIZE) 212 @perl ..\tools\checksum.pl $(TARGET)_xt.bin $(ROMSIZE) 213 @perl ..\tools\checksum.pl $(TARGET)_xtp.bin $(ROMSIZE) 214 @perl ..\tools\checksum.pl $(TARGET)_at.bin $(ROMSIZE) 215 @perl ..\tools\checksum.pl $(TARGET)_xtl.bin $(ROMSIZE_LARGE) 216 @perl ..\tools\checksum.pl $(TARGET)_xtpl.bin $(ROMSIZE_LARGE) 212 217 @perl ..\tools\checksum.pl $(TARGET)_atl.bin $(ROMSIZE_LARGE) 213 @perl ..\tools\checksum.pl $(TARGET)_xtpl.bin $(ROMSIZE_LARGE)214 @perl ..\tools\checksum.pl $(TARGET)_xtl.bin $(ROMSIZE_LARGE)215 @perl ..\tools\checksum.pl $(TARGET)_at.bin $(ROMSIZE)216 @perl ..\tools\checksum.pl $(TARGET)_xtp.bin $(ROMSIZE)217 @perl ..\tools\checksum.pl $(TARGET)_xt.bin $(ROMSIZE)218 @perl ..\tools\checksum.pl $(TARGET)_jr8k.bin $(ROMSIZE)219 218 @perl ..\tools\checksum.pl $(TARGET)_386.bin $(ROMSIZE) 220 219
Note:
See TracChangeset
for help on using the changeset viewer.