This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via f05a0abd5386dc953b8a3eb30b6f6b8937be08cc (commit) from 2520efadae74322d9a61c7e306246518a8396b6f (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit f05a0abd5386dc953b8a3eb30b6f6b8937be08cc Author: Janne Kajovuori janne.kajovuori@nokia.com Date: Fri Apr 28 10:29:39 2017 +0300
linux-generic: makefile: fix staged install support
install-data-hook tries to create the symlink with incorrect paths when a staged install is performed with "make DESTDIR=<path> install". This issue can be fixed by prepending the paths with $(DESTDIR), which provides correct path to the staging area.
Signed-off-by: Janne Kajovuori janne.kajovuori@nokia.com Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 54529151..69fdf8b9 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -226,9 +226,9 @@ endif # Create symlink for ABI header files. Application does not need to use the arch # specific include path for installed files. install-data-hook: - if [ -h $(prefix)/include/odp/api/abi ]; then \ + if [ -h $(DESTDIR)$(prefix)/include/odp/api/abi ]; then \ : ; \ else \ - $(LN_S) -rf $(prefix)/include/odp/arch/@ARCH_ABI@/odp/api/abi \ - $(prefix)/include/odp/api/abi; \ + $(LN_S) -rf $(DESTDIR)$(prefix)/include/odp/arch/@ARCH_ABI@/odp/api/abi \ + $(DESTDIR)$(prefix)/include/odp/api/abi; \ fi
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive