Changeset 68


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

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r63 r68  
    6363 bootcode$(DS)mbr-prot&
    6464 tools$(DS)internal&
    65  bootcode&
    6665 install$(DS)c&
    6766 tools$(DS)os2$(DS)setaboot&
     67 bootcode&
    6868
    6969
     
    7373# and the OS/2 setboot replacement (setaboot).
    7474COMPONENTS2DIST=&
    75  bootcode&
    7675 install$(DS)c&
    7776 tools$(DS)os2$(DS)setaboot&
     77 bootcode&
    7878
    7979
  • 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__
  • trunk/bootcode/version.inc

    r65 r68  
    6868
    6969; The Year, Month and Day in BCD so we can easily extract nibbles.
    70 AB_YEAR             EQU     2016h
    71 AB_MONTH            EQU     10h
    72 AB_DAY              EQU     10h
     70AB_YEAR             EQU     2017h
     71AB_MONTH            EQU     03h
     72AB_DAY              EQU     15h
    7373
    7474; The Hours, Minutes and Seconds, again in BCD for easy manipulation.
     
    7676;~ AB_MINUTES          EQU     01h
    7777;~ AB_SECONDS          EQU     01h
    78 AB_HOURS            EQU     99h
    79 AB_MINUTES          EQU     99h
    80 AB_SECONDS          EQU     99h
     78AB_HOURS            EQU     23h
     79AB_MINUTES          EQU     59h
     80AB_SECONDS          EQU     59h
    8181
    8282; The AiR-BOOT signature uses big-endian so we shuffle some bits around.
  • trunk/include/makefile.mif

    r60 r68  
    180180BS              = _build.bash
    181181SHELL   = $(LINSHELL)
     182%TEMP   = /var/tmp
    182183!endif
    183184
  • trunk/install/c/install.h

    r64 r68  
    3030#define     BLDLVL_MINOR_VERSION    "1"
    3131// Build date
    32 #define     BLDLVL_YEAR             "2016"
    33 #define     BLDLVL_MONTH            "10"
    34 #define     BLDLVL_DAY              "10"
     32#define     BLDLVL_YEAR             "2017"
     33#define     BLDLVL_MONTH            "03"
     34#define     BLDLVL_DAY              "15"
    3535// Build time
    3636//~ #define     BLDLVL_HOURS            "01"
    3737//~ #define     BLDLVL_MINUTES          "01"
    3838//~ #define     BLDLVL_SECONDS          "00"
    39 #define     BLDLVL_HOURS            "99"
    40 #define     BLDLVL_MINUTES          "99"
    41 #define     BLDLVL_SECONDS          "99"
     39#define     BLDLVL_HOURS            "23"
     40#define     BLDLVL_MINUTES          "59"
     41#define     BLDLVL_SECONDS          "59"
    4242// Build machine
    4343//~ #define     BLDLVL_MACHINE          "OS2BLDBOX"
  • trunk/tools/internal/fixcode.h

    r64 r68  
    1414#define     BLDLVL_MINOR_VERSION    "1"
    1515// Build date
    16 #define     BLDLVL_YEAR             "2016"
    17 #define     BLDLVL_MONTH            "10"
    18 #define     BLDLVL_DAY              "10"
     16#define     BLDLVL_YEAR             "2017"
     17#define     BLDLVL_MONTH            "03"
     18#define     BLDLVL_DAY              "15"
    1919// Build time
    2020//~ #define     BLDLVL_HOURS            "01"
    2121//~ #define     BLDLVL_MINUTES          "01"
    2222//~ #define     BLDLVL_SECONDS          "00"
    23 #define     BLDLVL_HOURS            "99"
    24 #define     BLDLVL_MINUTES          "99"
    25 #define     BLDLVL_SECONDS          "99"
     23#define     BLDLVL_HOURS            "23"
     24#define     BLDLVL_MINUTES          "59"
     25#define     BLDLVL_SECONDS          "59"
    2626// Build machine
    2727//~ #define     BLDLVL_MACHINE          "OS2BLDBOX"
  • trunk/tools/os2/setaboot/setaboot.h

    r64 r68  
    1616#define     BLDLVL_MINOR_VERSION    "1"
    1717// Build date
    18 #define     BLDLVL_YEAR             "2016"
    19 #define     BLDLVL_MONTH            "10"
    20 #define     BLDLVL_DAY              "10"
     18#define     BLDLVL_YEAR             "2017"
     19#define     BLDLVL_MONTH            "03"
     20#define     BLDLVL_DAY              "15"
    2121// Build time
    2222//~ #define     BLDLVL_HOURS            "01"
    2323//~ #define     BLDLVL_MINUTES          "01"
    2424//~ #define     BLDLVL_SECONDS          "00"
    25 #define     BLDLVL_HOURS            "99"
    26 #define     BLDLVL_MINUTES          "99"
    27 #define     BLDLVL_SECONDS          "99"
     25#define     BLDLVL_HOURS            "23"
     26#define     BLDLVL_MINUTES          "59"
     27#define     BLDLVL_SECONDS          "59"
    2828// Build machine
    2929//~ #define     BLDLVL_MACHINE          "OS2BLDBOX"
Note: See TracChangeset for help on using the changeset viewer.