Changeset 62340ef in buchla-68k
- Timestamp:
- 07/16/2017 04:00:00 PM (7 years ago)
- Branches:
- master
- Children:
- f38d645
- Parents:
- 4cfe69a
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r4cfe69a r62340ef 166 166 $(CROSS_GCC) $(FLAGS_ASM) -c -o $@ $< 167 167 168 bios.abs: $(ROM_OBJ) \ 168 bios.abs: bios.img 169 cp bios.img bios.abs 170 171 bios.img: bios.elf 172 $(CROSS_OBJC) --output-target binary bios.elf bios.img 173 174 bios.elf: $(ROM_OBJ) \ 169 175 prolog.a libcio.a vlib.a iolib.a libsm.a lib700.a 170 176 $(CROSS_GCC) $(FLAGS_LNK) -Wl,--script,misc/rom.ld,--entry,0x100000 \ 171 -o bios. abs$(ROM_OBJ) \177 -o bios.elf $(ROM_OBJ) \ 172 178 prolog.a libcio.a vlib.a iolib.a libsm.a lib700.a -lgcc 173 179 … … 205 211 $(CROSS_GCC) $(FLAGS_ASM) -c -o $@ $< 206 212 207 midas.abs: $(LOWRAM_OBJ) prolog.a $(RAM_OBJ) \ 213 midas.abs: midas.img 214 cp midas.img midas.abs 215 216 midas.img: midas.elf 217 $(CROSS_OBJC) --output-target binary midas.elf midas.img 218 219 midas.elf: $(LOWRAM_OBJ) prolog.a $(RAM_OBJ) \ 208 220 libcio.a vlib.a iolib.a libsm.a lib700.a 209 221 $(CROSS_GCC) $(FLAGS_LNK) -Wl,--script,misc/ram.ld,--entry,0x10000 \ 210 -o midas. abs$(LOWRAM_OBJ) prolog.a $(RAM_OBJ) \222 -o midas.elf $(LOWRAM_OBJ) prolog.a $(RAM_OBJ) \ 211 223 libcio.a vlib.a iolib.a libsm.a lib700.a -lgcc 212 224 … … 238 250 rm -rf build 239 251 rm -f prolog.a iolib.a libcio.a libsm.a lib700.a vlib.a 240 rm -f bios.abs midas.abs 252 rm -f bios.elf bios.img bios.abs 253 rm -f midas.elf midas.img midas.abs 241 254 rm -f hatari/c.img 242 255 rm -f hatari/d/out/* -
misc/ram.ld
r4cfe69a r62340ef 1 OUTPUT_FORMAT(" binary")1 OUTPUT_FORMAT("elf32-m68k") 2 2 ENTRY(start) 3 3 SECTIONS … … 5 5 .text (0x10000) : 6 6 { 7 *(.text )8 *(.rodata )7 *(.text .text.*) 8 *(.rodata .rodata.*) 9 9 _etext = .; 10 10 } … … 12 12 .data : ALIGN(0x10) 13 13 { 14 *(.data )14 *(.data .data.*) 15 15 _edata = .; 16 16 } … … 18 18 .bss : ALIGN(0x10) 19 19 { 20 *(.bss )20 *(.bss .bss.*) 21 21 } 22 22 -
misc/rom.ld
r4cfe69a r62340ef 1 OUTPUT_FORMAT(" binary")1 OUTPUT_FORMAT("elf32-m68k") 2 2 ENTRY(start) 3 3 SECTIONS … … 5 5 .text (0x100000) : 6 6 { 7 *(.text )8 *(.rodata )7 *(.text .text.*) 8 *(.rodata .rodata.*) 9 9 _etext = .; 10 10 } … … 12 12 .data : ALIGN(0x10) 13 13 { 14 *(.data )14 *(.data .data.*) 15 15 _edata = .; 16 16 } … … 18 18 .bss (0x400) : 19 19 { 20 *(.bss )20 *(.bss .bss.*) 21 21 } 22 22
Note:
See TracChangeset
for help on using the changeset viewer.