diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-16 11:48:29 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-16 11:48:29 +0100 |
| commit | 383b4ca16cfd6d99de7335facad9a9f8eaf43341 (patch) | |
| tree | d63519cf5b00c2b8f0d1b83a86bd618d98819e0c /scripts | |
| parent | 9dc8eb052e04ec2daec10df936f4b96bb25be498 (diff) | |
Fix cleaning dependency files in makefile.build
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/makefile.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/makefile.build b/scripts/makefile.build index 7049d19c..6467d2ad 100644 --- a/scripts/makefile.build +++ b/scripts/makefile.build @@ -90,8 +90,10 @@ endif PHONY += clean clean-% clean: $(addprefix clean-,$(subdirs)) +ifdef deps + $(Q)rm -f $(addprefix $(obj),$(deps)) +endif ifdef targets - $(info Cleaning targets: $(targets)) $(Q)rm -f $(addprefix $(obj),$(targets)) endif ifdef all-objects |
