[Sound-open-firmware] [PATCH] configure: reset build count every time autogen.sh is run.

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Nov 30 17:39:32 CET 2017


On 11/30/17 5:29 AM, Liam Girdwood wrote:
> autogen.sh rebuilds the build system so also reset any build count to 0.

what happens if you run

./configure --with-platform=baytrail
make
./configure --with-platform=cherrytrail
make

Looks to me like the build count will be misleading?

> 
> Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
> ---
>   autogen.sh   | 1 +
>   configure.ac | 3 +--
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/autogen.sh b/autogen.sh
> index 3b379b6..e0ce846 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -1,4 +1,5 @@
>   #!/bin/bash
> +rm -f .build
>   libtoolize -c --force
>   aclocal -I m4 --install
>   autoconf -Wall
> diff --git a/configure.ac b/configure.ac
> index e8c8edf..f51849b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1,6 +1,5 @@
> -
>   AC_PREREQ([2.69])
> -AC_INIT([Reef],[m4_esyscmd(./git-version.sh), m4_esyscmd(rm -f .build)],[sound-open-firmware at alsa-project.org])
> +AC_INIT([Reef],[m4_esyscmd(./git-version.sh)],[sound-open-firmware at alsa-project.org])
>   AC_CONFIG_SRCDIR([src/init/init.c])
>   AC_CONFIG_HEADERS([src/include/config.h])
>   AC_CONFIG_MACRO_DIRS([m4])
> 



More information about the Sound-open-firmware mailing list