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

Get Vendor and BuildMachine from the environment [v1.1.1-testing]

If 'BLDLVL_VENDOR' and BLDLVL_MCHINE' are not in the environment,
their values will be set to '*UNKNOWN*'. Currently these *must* be
environment variables, passing them on the (w)make cli might not work.
Also, no spaces are allowed in the values.

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/version.h

    r179 r182  
    2121// OS/2 BLDLEVEL Information.
    2222*/
     23
    2324// Vendor
    24 //~ #define     BLDLVL_VENDOR           "KIEWITZ"
    25 //~ #define     BLDLVL_VENDOR           "RDPe"
     25#ifndef     BLDLVL_VENDOR
    2626#define     BLDLVL_VENDOR           "*UNKNOWN*"
     27#endif
     28
     29// Build machine
     30#ifndef     BLDLVL_MACHINE
     31#define     BLDLVL_MACHINE          "*UNKNOWN*"
     32#endif
     33
    2734// Version
    2835#define     BLDLVL_MAJOR_VERSION    "1"
    2936#define     BLDLVL_MIDDLE_VERSION   "1"
    3037#define     BLDLVL_MINOR_VERSION    "1"
     38
    3139// Build date
    3240#define     BLDLVL_YEAR             "2017"
    3341#define     BLDLVL_MONTH            "04"
    3442#define     BLDLVL_DAY              "13"
     43
    3544// Build time
    3645//~ #define     BLDLVL_HOURS            "01"
     
    4049#define     BLDLVL_MINUTES          "59"
    4150#define     BLDLVL_SECONDS          "59"
    42 // Build machine
    43 //~ #define     BLDLVL_MACHINE          "OS2BLDBOX"
    44 #define     BLDLVL_MACHINE          "*UNKNOWN*"
     51
    4552// Build language
    4653#define     BLDLVL_LANGUAGE         "EN"
    47 
Note: See TracChangeset for help on using the changeset viewer.