Changeset 2169 for trunk/kBuild/doc/QuickReference-kmk.txt
- Timestamp:
- Dec 30, 2008, 6:07:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/doc/QuickReference-kmk.txt
r2168 r2169 8 8 disputed. ;-) 9 9 10 Features that are 10 11 11 12 Directives … … 29 30 ifneq "a" "b" 30 31 ifneq 'a' 'b' 31 if1of (set-a,set-b) 32 ifn1of (set-a,set-b) 33 if expression 32 if1of (set-a,set-b) [1] 33 ifn1of (set-a,set-b) [1] 34 if expression [1] 34 35 else 35 36 endif … … 41 42 sinclude file 42 43 43 Include another dependency file ::44 Include another dependency file [1]_:: 44 45 45 46 includedep file … … 51 52 override variable := value 52 53 override variable += value 53 override variable <= value 54 override variable <= value [1] 54 55 override variable ?= value 55 56 override define variable … … 67 68 export variable := value 68 69 export variable += value 69 export variable <= value 70 export variable <= value [1] 70 71 export variable ?= value 71 72 unexport variable 72 73 73 Define a variable in the local context instead of the global one ::74 Define a variable in the local context instead of the global one [1]_:: 74 75 75 76 local variable = value … … 178 179 +--------------------------+--------------------------------------------------+ 179 180 | ``KBUILD_VERSION``, | The kBuild version string and the break down | 180 | ``KBUILD_VERSION_MAJOR``,| into individual components. 181 | ``KBUILD_VERSION_MAJOR``,| into individual components. [1]_ | 181 182 | ``KBUILD_VERSION_MINOR``,| | 182 183 | ``KBUILD_VERSION_PATCH``,| | 183 184 | ``KBUILD_KMK_REVISION`` | | 184 185 +--------------------------+--------------------------------------------------+ 185 | ``KBUILD_HOST`` 186 +--------------------------+--------------------------------------------------+ 187 | ``KBUILD_HOST_ARCH`` 188 +--------------------------+--------------------------------------------------+ 189 | ``KBUILD_HOST_CPU`` 186 | ``KBUILD_HOST`` [1]_ | The host operating system. | 187 +--------------------------+--------------------------------------------------+ 188 | ``KBUILD_HOST_ARCH`` [1]_| The host architecture. | 189 +--------------------------+--------------------------------------------------+ 190 | ``KBUILD_HOST_CPU`` [1]_ | The host CPU ``kmk`` is built for, set to | 190 191 | | ``blend`` if not any particular CPU. | 191 192 +--------------------------+--------------------------------------------------+ 192 | ``KBUILD_PATH`` 193 +--------------------------+--------------------------------------------------+ 194 | ``KBUILD_BIN_PATH`` 195 +--------------------------+--------------------------------------------------+ 196 | ``KMK`` ,| The name with which ``kmk`` was invoked. Using |193 | ``KBUILD_PATH`` [1]_ | Where the kBuild scripts are. | 194 +--------------------------+--------------------------------------------------+ 195 | ``KBUILD_BIN_PATH`` [1]_ | Where the host specific kBuild binaries are. | 196 +--------------------------+--------------------------------------------------+ 197 | ``KMK`` [1]_, | The name with which ``kmk`` was invoked. Using | 197 198 | ``MAKE`` | this variable in recipes has special meaning. | 198 199 +--------------------------+--------------------------------------------------+ 199 | ``KMK_BUILTIN`` 200 +--------------------------+--------------------------------------------------+ 201 | ``KMK_FEATURES`` 202 +--------------------------+--------------------------------------------------+ 203 | ``KMK_FLAGS`` 200 | ``KMK_BUILTIN`` [1]_ | List of built-in commands. | 201 +--------------------------+--------------------------------------------------+ 202 | ``KMK_FEATURES`` [1]_ | List of ``kmk`` specific features. | 203 +--------------------------+--------------------------------------------------+ 204 | ``KMK_FLAGS`` [1]_ | The flags given to ``kmk``. You can set this in | 204 205 | | the environment or a makefile to set flags. | 205 206 | | | … … 210 211 | | through the environment from its parent. | 211 212 +--------------------------+--------------------------------------------------+ 212 | ``KMK_LEVEL`` 213 +--------------------------+--------------------------------------------------+ 214 | ``KMK_VERSION`` 213 | ``KMK_LEVEL`` [1]_ | The number of levels of recursion (sub-makes). | 214 +--------------------------+--------------------------------------------------+ 215 | ``KMK_VERSION`` [1]_ | The GNU ``make`` version number. | 215 216 +--------------------------+--------------------------------------------------+ 216 217 | ``MAKECMDGOALS`` | The targets given to ``kmk`` on the command line.| … … 904 905 ----- 905 906 907 .. [1] ``kmk`` only feature. 908 909 ----- 910 906 911 :Status: $Id$ 907 912 :Copyright: Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
Note:
See TracChangeset
for help on using the changeset viewer.