]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - optee/ti-optee-client.git/commit
Update clean rules
authorJerome Forissier <jerome.forissier@linaro.org>
Mon, 28 Nov 2016 09:27:56 +0000 (10:27 +0100)
committerJerome Forissier <jerome.forissier@linaro.org>
Mon, 28 Nov 2016 14:14:55 +0000 (15:14 +0100)
commit6432f5194822d7da586d736e8733d7b78401bdec
tree12a4b80e4c9b0163f9d2448e609f4725871a9483
parent4dd96a6d8e1aba233a7e3fd59ef5f33611d0d9c6
Update clean rules

Do not use rm -rf, it's unsafe. Instead, remove only the files created
by the build and the output directories if they're empty. This allows
to specify the source directory as an output location:

  $ make O=.
  $ make O=. clean

Without this fix the clean step would remove the source files too.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
flags.mk
libsqlfs/Makefile
libsqlite3/Makefile
libteec/Makefile
tee-supplicant/Makefile