From b319e43b9fee62f30c11d266a23cea4ff30addcd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Mar 2017 13:23:58 +0000 Subject: 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. Signed-off-by: Richard Purdie --- meta/recipes-devtools/quilt/quilt.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-devtools') 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 -- cgit v1.2.3