[Sound-open-firmware] [PATCH v2] Makefile: fix the make clean issue at the top-level directory
Pan, Xiuli
xiuli.pan at linux.intel.com
Wed Apr 11 07:36:57 CEST 2018
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 at linux.intel.com>
> 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
>
This will allow topology subdir recursively clean each folder.
Thanks
Xiuli
More information about the Sound-open-firmware
mailing list