VirtualBox

Changeset 3181 in kBuild for trunk/src/kmk/variable.c


Ignore:
Timestamp:
Mar 23, 2018 12:39:44 AM (7 years ago)
Author:
bird
Message:

variable.c: Added KBUILD_HOST_UNAME_SYSNAME, KBUILD_HOST_UNAME_RELEASE, KBUILD_HOST_UNAME_VERSION, KBUILD_HOST_UNAME_MACHINE and KBUILD_HOST_UNAME_NODENAME variables on non-windows systems. That's help avoid needing to $(shell uname) to figure stuff out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/variable.c

    r3140 r3181  
    17061706  ulPatch = parse_release_number (&val);
    17071707  ul4th   = parse_release_number (&val);
     1708
     1709  define_variable_cname ("KBUILD_HOST_UNAME_SYSNAME", uts.sysname, o_default, 0);
     1710  define_variable_cname ("KBUILD_HOST_UNAME_RELEASE", uts.release, o_default, 0);
     1711  define_variable_cname ("KBUILD_HOST_UNAME_VERSION", uts.version, o_default, 0);
     1712  define_variable_cname ("KBUILD_HOST_UNAME_MACHINE", uts.machine, o_default, 0);
     1713  define_variable_cname ("KBUILD_HOST_UNAME_NODENAME", uts.nodename, o_default, 0);
    17081714#endif
    17091715
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette