1. Jan 16, 2019
  2. Jan 05, 2019
    • Anup Patel's avatar
      Makefile: Use '=' instead of '?=' for make variables · 2e5ede82
      Anup Patel authored
      
      
      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: default avatarAnup Patel <anup.patel@wdc.com>
      2e5ede82
  3. Jan 04, 2019
  4. Jan 03, 2019
  5. Jan 02, 2019
  6. Dec 31, 2018
  7. Dec 27, 2018
  8. Dec 26, 2018