Skip to content
  • Michal Marek's avatar
    kbuild: Initialize exported variables · b36fad65
    Michal Marek authored
    The NOSTDINC_FLAGS variable is exported, so it needs to be cleared to
    avoid duplicating its content when running make from within make (e.g.
    in the packaging targets). This became an issue after commit
    9c8fa9bc
    
     ("kbuild: fix if_change and friends to consider argument
    order"), which no longer ignores the duplicate options. As Paulo Zanoni
    points out, the LDFLAGS_vmlinux variable has the same problem.
    
    Reported-by: default avatar"Zanoni, Paulo R" <paulo.r.zanoni@intel.com>
    Fixes: 9c8fa9bc
    
     ("kbuild: fix if_change and friends to consider argument order")
    Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
    b36fad65