Skip to contentSkip to conversation

tools bugs: make clean deletes files in the git tree

DISCUSSION Adrian Hunter 2 participants 2 messages Mar 26, 2019

lore
Share & tools
lore
#0 lore raw

Hi

Doing:

make -C tools clean

Results in:

	git diff --stat
	 tools/pci/pcitest.sh                                  |  72 ----------------
	 tools/testing/selftests/livepatch/test-callbacks.sh   | 587 ----------------------------------------------------------------------------------------------------------------------------
	 tools/testing/selftests/livepatch/test-livepatch.sh   | 168 ------------------------------------
	 tools/testing/selftests/livepatch/test-shadow-vars.sh |  60 -------------
	 4 files changed, 887 deletions(-)

i.e. 'make clean' seems to be deleting files that are in the git tree.

Regards
Adrian

#1 lore raw
Quoted 15 lines · Adrian Hunter

Hi

Doing:

make -C tools clean

Results in:

	git diff --stat
	 tools/pci/pcitest.sh                                  |  72 ----------------
	 tools/testing/selftests/livepatch/test-callbacks.sh   | 587 ----------------------------------------------------------------------------------------------------------------------------
	 tools/testing/selftests/livepatch/test-livepatch.sh   | 168 ------------------------------------
	 tools/testing/selftests/livepatch/test-shadow-vars.sh |  60 -------------
	 4 files changed, 887 deletions(-)
Quoted 5 lines

i.e. 'make clean' seems to be deleting files that are in the git tree.

Regards
Adrian

Hi Adrian -- thanks for the report. I will fixup the livepatch selftests Makefile and post a patch shortly.

-- Joe