| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | include ../scripts/Makefile.include |
|---|
| 2 | 3 | |
|---|
| 3 | 4 | bindir ?= /usr/bin |
|---|
| .. | .. |
|---|
| 50 | 51 | |
|---|
| 51 | 52 | clean: |
|---|
| 52 | 53 | rm -f $(ALL_PROGRAMS) |
|---|
| 53 | | - rm -f $(OUTPUT)include/linux/spi/spidev.h |
|---|
| 54 | | - find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete |
|---|
| 54 | + rm -rf $(OUTPUT)include/ |
|---|
| 55 | + find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete |
|---|
| 56 | + find $(if $(OUTPUT),$(OUTPUT),.) -name '\.*.o.d' -delete |
|---|
| 57 | + find $(if $(OUTPUT),$(OUTPUT),.) -name '\.*.o.cmd' -delete |
|---|
| 55 | 58 | |
|---|
| 56 | 59 | install: $(ALL_PROGRAMS) |
|---|
| 57 | 60 | install -d -m 755 $(DESTDIR)$(bindir); \ |
|---|