From a39b7e2c504e37fda145c54f48b0eec2cee9c257 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Mar 2017 13:23:58 +0000 Subject: [PATCH] quilt: Don't add hardcoded links to utilities This triggers warnings about absolute symlink paths with the PATH changes. In reality we simply don't need/care about these so just remove/disable them. (From OE-Core rev: b319e43b9fee62f30c11d266a23cea4ff30addcd) Signed-off-by: Richard Purdie --- meta/recipes-devtools/quilt/quilt.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc index 9cf7bac5ee..85aaf8d3a8 100644 --- a/meta/recipes-devtools/quilt/quilt.inc +++ b/meta/recipes-devtools/quilt/quilt.inc @@ -35,6 +35,11 @@ EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}" CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash" +# Don't setup symlinks to host utilities, we don't need them +do_configure_append () { + sed -e 's,^COMPAT_SYMLINKS.*:=.*,COMPAT_SYMLINKS :=,' -i ${S}/Makefile +} + # quilt ignores DESTDIR do_install () { oe_runmake ${EXTRA_OE_MAKE_ARGS} install