X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=scripts%2FMakefile.modpost;h=df4174405feb331a772abe871046d9260c43c690;hb=15c47ccdc31c6327d745eee1d8597f9886441430;hp=756d14f0d76384274f9dd04ac1045a0d00f87e2c;hpb=c209101fc1c91a318422733a3721ff6a9ff7899f;p=mirror_ubuntu-bionic-kernel.git diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index 756d14f0d763..df4174405feb 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # =========================================================================== # Module versions # =========================================================================== @@ -142,8 +143,7 @@ FORCE: # optimization, we don't need to read them if the target does not # exist, we will rebuild anyway in that case. -targets := $(wildcard $(sort $(targets))) -cmd_files := $(wildcard $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd)) +cmd_files := $(wildcard $(foreach f,$(sort $(targets)),$(dir $(f)).$(notdir $(f)).cmd)) ifneq ($(cmd_files),) include $(cmd_files)