aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen.cfg
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2019-01-04 08:45:36 +0530
committerAnup Patel <anup@brainfault.org>2019-01-05 16:40:22 +0530
commit2e5ede82796960435fff80b27b21dfb399d2e2fb (patch)
tree7d5fa74aa42a6b13fc519cdae180cbc66e8a3529 /docs/doxygen.cfg
parent45c9e14a2f329950645fa7eb30306913650642d8 (diff)
Makefile: Use '=' instead of '?=' for make variables
The '?=' will not assign value if the target make variable is overriden via command-line or is set in environment variable. On other hand, '=' will not assign value only if variable is overriden via command-line parameter. It is quite common to have CC, AS, CPP, LD, etc to be set as environment variables pointing to native compiler and binutils. If '-rR' option is not set in MAKEFLAGS then this results in compile error because '?=' will use the native compiler and binutils. If '-rR' option is set in MAKEFLAGS then this again results in compile error because CC, AS, CPP, etc are set to empty strings which causes '?=' to use empty string as compiler and binutils. To handle this, we use '?=' only when CROSS_COMPILE is not defined and we use '=' when CROSS_COMPILE is defined. Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'docs/doxygen.cfg')
0 files changed, 0 insertions, 0 deletions