diff mbox

platform/Makefile.inc: fix path to git_hash.sh

Message ID 1431350758-23406-1-git-send-email-anders.roxell@linaro.org
State Accepted
Commit b57c288a483ef94ef60fbabd6f2da55db8f897cc
Headers show

Commit Message

Anders Roxell May 11, 2015, 1:25 p.m. UTC
When building from a separate builddir:
parallel-tests: installing './test-driver'
+ autoconf
/bin/bash: ../../scripts/git_hash.sh: No such file or directory

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 platform/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Maxim Uvarov May 11, 2015, 4:43 p.m. UTC | #1
Merged,

thanks,
Maxim.

On 05/11/2015 16:25, Anders Roxell wrote:
> When building from a separate builddir:
> parallel-tests: installing './test-driver'
> + autoconf
> /bin/bash: ../../scripts/git_hash.sh: No such file or directory
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>   platform/Makefile.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/platform/Makefile.inc b/platform/Makefile.inc
> index 4000d64..f232daa 100644
> --- a/platform/Makefile.inc
> +++ b/platform/Makefile.inc
> @@ -12,6 +12,6 @@ lib_LTLIBRARIES = $(LIB)/libodp.la
>   
>   AM_LDFLAGS += -version-number '$(ODP_LIBSO_VERSION)'
>   
> -GIT_DESC !=$(top_builddir)/scripts/git_hash.sh
> +GIT_DESC !=$(top_srcdir)/scripts/git_hash.sh
>   AM_CFLAGS += "-DGIT_HASH=$(GIT_DESC)"
>   AM_CFLAGS += -DPLATFORM=${with_platform}
diff mbox

Patch

diff --git a/platform/Makefile.inc b/platform/Makefile.inc
index 4000d64..f232daa 100644
--- a/platform/Makefile.inc
+++ b/platform/Makefile.inc
@@ -12,6 +12,6 @@  lib_LTLIBRARIES = $(LIB)/libodp.la
 
 AM_LDFLAGS += -version-number '$(ODP_LIBSO_VERSION)'
 
-GIT_DESC !=$(top_builddir)/scripts/git_hash.sh
+GIT_DESC !=$(top_srcdir)/scripts/git_hash.sh
 AM_CFLAGS += "-DGIT_HASH=$(GIT_DESC)"
 AM_CFLAGS += -DPLATFORM=${with_platform}