Commit eebed11a authored by Shuah Khan's avatar Shuah Khan

selftests: x86: override clean in lib.mk to fix warnings

Add override with EXTRA_CLEAN for lib.mk clean to fix the following
warnings from clean target run.

Makefile:44: warning: overriding recipe for target 'clean'
../lib.mk:55: warning: ignoring old recipe for target 'clean'
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 8ab02e09
...@@ -40,8 +40,7 @@ all_32: $(BINARIES_32) ...@@ -40,8 +40,7 @@ all_32: $(BINARIES_32)
all_64: $(BINARIES_64) all_64: $(BINARIES_64)
clean: EXTRA_CLEAN := $(BINARIES_32) $(BINARIES_64)
$(RM) $(BINARIES_32) $(BINARIES_64)
$(BINARIES_32): $(OUTPUT)/%_32: %.c $(BINARIES_32): $(OUTPUT)/%_32: %.c
$(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm
......
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