From a4241797fb80022307cc69c9df116b26dd333ae6 Mon Sep 17 00:00:00 2001 From: Artem Savkov Date: Thu, 19 Apr 2018 10:08:05 +0200 Subject: [PATCH] ppc64le: fix gcc-plugin installation Because $PLUGIN variable is a part of $TARGETS we are trying to install gcc-plugins twice which is treated as an error by install command: /usr/bin/install create-diff-object create-klp-module create-kpatch-module gcc-plugins/ppc64le-plugin.so kpatch-gcc gcc-plugins/ppc64le-plugin.so /usr/local/libexec/kpatch /usr/bin/install: will not overwrite just-created '/usr/local/libexec/kpatch/ppc64le-plugin.so' with 'gcc-plugins/ppc64le-plugin.so' Signed-off-by: Artem Savkov --- kpatch-build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpatch-build/Makefile b/kpatch-build/Makefile index b02831a..232b336 100644 --- a/kpatch-build/Makefile +++ b/kpatch-build/Makefile @@ -35,7 +35,7 @@ $(PLUGIN): gcc-plugins/ppc64le-plugin.c install: all $(INSTALL) -d $(LIBEXECDIR) - $(INSTALL) $(TARGETS) kpatch-gcc $(PLUGIN) $(LIBEXECDIR) + $(INSTALL) $(TARGETS) kpatch-gcc $(LIBEXECDIR) $(INSTALL) -d $(BINDIR) $(INSTALL) kpatch-build $(BINDIR)