Changeset 68 for trunk/bootcode/Makefile


Ignore:
Timestamp:
Apr 8, 2017, 12:25:44 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Minor fixes for building on Linux [v1.1.1-testing]

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/Makefile

    r66 r68  
    166166# Generate the list-file on a local drive so JWasm doen't take forever.
    167167# This is done in the recipe.
    168 JWASM_LIST_FILE_LOC=$(%TEMP)\
     168JWASM_LIST_FILE_LOC=$(%TEMP)$(DS)
    169169JWASM_LIST_FILE=-Fl=$(JWASM_LIST_FILE_LOC)$^&.lst
    170170
     
    513513        $(ASM) $(ASM_FLAGS) $(BASENAME).asm
    514514!if "$(%AB_DEV)"=="TRUE"
    515         @copy ..\install\c\airboot2.exe .
     515        @$(CP) ..$(DS)install$(DS)c$(DS)airboot2.exe .
    516516!endif
    517517!if "$(ASM)"=="jwasm"
     
    519519# Command 'move' does not work across drives.
    520520# So we do a 'copy' then 'del' instead.
    521         @if not exist $^&.lst copy $(JWASM_LIST_FILE_LOC)$^&.lst .
    522         @if exist $(JWASM_LIST_FILE_LOC)$^&.lst del $(JWASM_LIST_FILE_LOC)$^&.lst
     521        @if not exist $^&.lst $(CP) $(JWASM_LIST_FILE_LOC)$^&.lst .
     522        @if exist $(JWASM_LIST_FILE_LOC)$^&.lst $(RM) $(JWASM_LIST_FILE_LOC)$^&.lst
    523523!endif
    524524!ifndef __MSDOS__
Note: See TracChangeset for help on using the changeset viewer.