diff options
| author | Ilias Apalodimas <[email protected]> | 2025-05-20 08:21:19 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-29 18:42:37 -0600 |
| commit | a73c41c398a1cbbe9aa7ffb644729e6cf7595845 (patch) | |
| tree | 6b1bab4e2f05e6703593a49b20ffdc43da33971e /scripts/Kbuild.include | |
| parent | 39160c5fbf7b724b4113a8918b9fa3790d080a5c (diff) | |
kbuild: add real-prereqs shorthand for $(filter-out FORCE, $^)
Backport from kernel
commit afa974b77128 ("kbuild: add real-prereqs shorthand for $(filter-out FORCE,$^)")
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts/Kbuild.include')
| -rw-r--r-- | scripts/Kbuild.include | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 7468223d323..2ef687ea895 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -28,6 +28,10 @@ basetarget = $(basename $(notdir $@)) baseprereq = $(basename $(notdir $<)) ### +# real prerequisites without phony targets +real-prereqs = $(filter-out $(PHONY), $^) + +### # Escape single quote for use in echo statements escsq = $(subst $(squote),'\$(squote)',$1) |
