Ignore:
Timestamp:
Feb 18, 2016, 5:18:51 PM (9 years ago)
Author:
Ben Rietbroek
Message:

Fixed building on Linux [v1.1.1-testing]

Of course the lowercasing broke building on Linux.
This commit fixes that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/internal/fixcode.c

    r57 r60  
    1919/*
    2020// FIXCODE.C -- Fix the AiR-BOOT image; include the code-size and MBR prot-img.
    21 //  This reads AIR-BOOT.COM, merges MBR-PROT.BIN and writes AIRBOOT.BIN.
     21//  This reads 'air-boot.com', merges 'mbr-prot.bin' and writes 'airboot.bin'.
    2222//  It is a quick-and-dirty translation of the original DOS-only ASM file.
    2323//  Of course it's not as small but it's much easier to maintain across
    2424//  multiple platforms. A small change with regard to the old ASM version is
    25 //  that it directly writes AIRBOOT.BIN instead of writing AIR-BOOT.COM.
     25//  that it directly writes 'airboot.bin' instead of writing 'air-boot.com'.
    2626//  This way the pre and post situations are kept valid.
    2727*/
    2828
    2929
    30 #include    "FIXCODE.H"
     30#include    "fixcode.h"
    3131
    3232
     
    4949
    5050/* File names */
    51 #define     IN_FILE     "AIR-BOOT.COM"              // Target from assembly.
     51#define     IN_FILE     "air-boot.com"              // Target from assembly.
    5252#ifdef      PLATFORM_LINUX
    53 #define     MERGE_FILE  "MBR-PROT/MBR-PROT.BIN"     // MBR Protection Image.
     53#define     MERGE_FILE  "mbr-prot/mbr-prot.bin"     // MBR Protection Image.
    5454#else
    55 #define     MERGE_FILE  "MBR-PROT\\MBR-PROT.BIN"    // MBR Protection Image.
    56 #endif
    57 #define     OUT_FILE    "AIRBOOT.BIN"               // Generated loader image.
     55#define     MERGE_FILE  "mbr-prot\\mbr-prot.bin"    // MBR Protection Image.
     56#endif
     57#define     OUT_FILE    "airboot.bin"               // Generated loader image.
    5858
    5959
     
    200200
    201201    /*
    202     // Write AIRBOOT.BIN
     202    // Write 'airboot.bin'
    203203    */
    204204    printf("%s", WriteCode);
Note: See TracChangeset for help on using the changeset viewer.