[Sound-open-firmware] [PATCH v2] Makefile: fix the make clean issue at the top-level directory
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@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
On 4/11/2018 13:28, Keqiao.Zhang wrote:
make clean done at the top-level does not clean the topology/test directory, use clean-local instead of clean
Tested-by: Xiuli Pan xiuli.pan@linux.intel.com
Signed-off-by: Keqiao.Zhang keqiao.zhang@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
This will allow topology subdir recursively clean each folder.
Thanks Xiuli
On Wed, 2018-04-11 at 13:28 +0800, Keqiao.Zhang wrote:
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@linux.intel.com
topology/Makefile.am | 2 +- topology/test/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied.
Thanks
Liam
participants (3)
-
Keqiao.Zhang
-
Liam Girdwood
-
Pan, Xiuli