Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kbuild: Initialize exported variables
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 9c8fa9b ("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: "Zanoni, Paulo R" <[email protected]> Fixes: 9c8fa9b ("kbuild: fix if_change and friends to consider argument order") Signed-off-by: Michal Marek <[email protected]>
- Loading branch information