[Sound-open-firmware] [PATCH v2] Makefile: fix the make clean issue at the top-level directory

Keqiao.Zhang keqiao.zhang at linux.intel.com
Wed Apr 11 07:28:22 CEST 2018


make clean done at the top-level does not clean the topology/test
directory, use clean-local instead of clean

Signed-off-by: Keqiao.Zhang <keqiao.zhang at linux.intel.com>
---
 topology/Makefile.am      | 2 +-
 topology/test/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/topology/Makefile.am b/topology/Makefile.am
index a7e86fd..31d266e 100644
--- a/topology/Makefile.am
+++ b/topology/Makefile.am
@@ -42,7 +42,7 @@ MACHINES = \
 
 all: ${MACHINES}
 
-clean:
+clean-local:
 	rm -f *.conf
 	rm -f *.tplg
 
diff --git a/topology/test/Makefile.am b/topology/test/Makefile.am
index 49f2240..d4f1722 100644
--- a/topology/test/Makefile.am
+++ b/topology/test/Makefile.am
@@ -17,7 +17,7 @@ DEPS = \
 all : *.m4 ${DEPS}
 	./tplg-build.sh
 
-clean:
+clean-local:
 	rm -f *.conf
 	rm -f *.tplg
 
-- 
2.11.0



More information about the Sound-open-firmware mailing list