1Avoid hardcoded build time paths in the output binaries by replacing the compile 2definitions with the output locations. 3 4Upstream-Status: Inappropriate [would need reworking somehow to be acceptable upstream] 5Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 6 7Index: git/support/Makefile 8=================================================================== 9--- git.orig/support/Makefile 10+++ git/support/Makefile 11@@ -216,9 +216,9 @@ libsupport-inhibit-o += .o 12 endif 13 14 CFLAGS-support_paths.c = \ 15- -DSRCDIR_PATH=\"`cd .. ; pwd`\" \ 16- -DOBJDIR_PATH=\"`cd $(objpfx)/..; pwd`\" \ 17- -DOBJDIR_ELF_LDSO_PATH=\"`cd $(objpfx)/..; pwd`/elf/$(rtld-installed-name)\" \ 18+ -DSRCDIR_PATH=\"$(oe_srcdir)\" \ 19+ -DOBJDIR_PATH=\"$(libdir)/glibc-tests/ptest/tests/glibc-ptest\" \ 20+ -DOBJDIR_ELF_LDSO_PATH=\"$(slibdir)/$(rtld-installed-name)\" \ 21 -DINSTDIR_PATH=\"$(prefix)\" \ 22 -DLIBDIR_PATH=\"$(libdir)\" \ 23 -DBINDIR_PATH=\"$(bindir)\" \ 24