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

Added 'RELEASE' option for building a RELEASE version [v1.1.1-testing]

Formerly this was done by editing the related files, which is kinda
annoying when using versioning. With this new method it is more easy
to test release builds while developing.

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/include/makefile.mif

    r184 r188  
    117117
    118118#
     119# Clear the ASM and CC definitions
     120#
     121%JWASM_DEFINES=
     122%CC_DEFINES=
     123
     124#
     125# Force a RELEASE build if specified
     126#
     127!if     "$(%RELEASE)"=="y"
     128%JWASM_DEFINES += -DRELEASE
     129%CC_DEFINES += -dRELEASE
     130!endif
     131
     132#
    119133# Compose JWasm defines to pass on command-line
    120134#
    121 %JWASM_DEFINES=
    122135%JWASM_DEFINES += -DBLDLVL_VENDOR="'$(%BLDLVL_VENDOR)'"
    123136%JWASM_DEFINES += -DBLDLVL_MACHINE="'$(%BLDLVL_MACHINE)'"
     
    133146# Compose C-Compiler defines to pass on command-line
    134147#
    135 %CC_DEFINES=
    136148!ifdef  __LINUX__
    137149%CC_DEFINES += -dBLDLVL_VENDOR='"$(%BLDLVL_VENDOR)"'
Note: See TracChangeset for help on using the changeset viewer.