Commit 85128c5b authored by Michael Ellerman's avatar Michael Ellerman Committed by Shuah Khan

selftests/gpio: Add to CLEAN rule rather than overriding

Rather than overriding the CLEAN rule we can just append to it.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent b68c1c65
...@@ -20,10 +20,7 @@ GPIODIR := $(realpath ../../../gpio) ...@@ -20,10 +20,7 @@ GPIODIR := $(realpath ../../../gpio)
GPIOOUT := $(OUTPUT)/tools-gpio/ GPIOOUT := $(OUTPUT)/tools-gpio/
GPIOOBJ := $(GPIOOUT)/gpio-utils.o GPIOOBJ := $(GPIOOUT)/gpio-utils.o
override define CLEAN CLEAN += ; $(RM) -rf $(GPIOOUT)
$(RM) $(TEST_GEN_PROGS_EXTENDED)
$(RM) -rf $(GPIOOUT)
endef
$(TEST_GEN_PROGS_EXTENDED): $(GPIOOBJ) $(TEST_GEN_PROGS_EXTENDED): $(GPIOOBJ)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment