Changeset 180


Ignore:
Timestamp:
Nov 7, 2017, 7:12:43 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Fixed 'echo' quirk when building under Linux [v1.1.1-testing]

When building on 64-bit Linux with 32-bit Open Watcom,
the '-e' flag to enable ANSI escape sequences for 'echo' is not
interpreted anymore by WMake. Instead, it is passed verbatim together
with the string to echo. Maybe WMake now uses an internal version of
'echo' which does not understand '-e'.
Anyway, feeding it all to 'bash' solves the issue.

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

    r160 r180  
    305305# by the $(BLD_LANGUAGES) target.
    306306!ifdef __LINUX__
    307         @echo -e "include text/$(%BLD_LANG)/mbr.asm\r">   text$(DS)txtmbr.asm
    308         @echo -e "include text/$(%BLD_LANG)/menus.asm\r"> text$(DS)txtmenus.asm
    309         @echo -e "include text/$(%BLD_LANG)/other.asm\r"> text$(DS)txtother.asm
     307        @bash -c 'echo -e "include text/$(%BLD_LANG)/mbr.asm\r">   text$(DS)txtmbr.asm'
     308        @bash -c 'echo -e "include text/$(%BLD_LANG)/menus.asm\r"> text$(DS)txtmenus.asm'
     309        @bash -c 'echo -e "include text/$(%BLD_LANG)/other.asm\r"> text$(DS)txtother.asm'
    310310!else
    311311        @echo include text/$(%BLD_LANG)/mbr.asm>   text$(DS)txtmbr.asm
Note: See TracChangeset for help on using the changeset viewer.