Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/gpio: Add to CLEAN rule rather than overriding

Rather than overriding the CLEAN rule we can just append to it.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Michael Ellerman and committed by
Shuah Khan
85128c5b b68c1c65

+1 -4
+1 -4
tools/testing/selftests/gpio/Makefile
··· 20 20 GPIOOUT := $(OUTPUT)/tools-gpio/ 21 21 GPIOOBJ := $(GPIOOUT)/gpio-utils.o 22 22 23 - override define CLEAN 24 - $(RM) $(TEST_GEN_PROGS_EXTENDED) 25 - $(RM) -rf $(GPIOOUT) 26 - endef 23 + CLEAN += ; $(RM) -rf $(GPIOOUT) 27 24 28 25 $(TEST_GEN_PROGS_EXTENDED): $(GPIOOBJ) 29 26