Hi Matti, 2017-02-06 15:57 GMT+09:00 Matti Aaltonen <matti.aaltonen@xxxxxxxxxx>: > Make sure that the Makefile.gcc-plugins is found also when > the build is not started from the kernel root directory. > > Signed-off-by: Matti Aaltonen <matti.aaltonen@xxxxxxxxxxxxx> > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 96b27a8..d085504 100644 > --- a/Makefile > +++ b/Makefile > @@ -651,7 +651,7 @@ KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \ > # Tell gcc to never replace conditional load with a non-conditional one > KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0) > > -include scripts/Makefile.gcc-plugins > +include $(srctree)/scripts/Makefile.gcc-plugins > > ifdef CONFIG_READABLE_ASM > # Disable optimizations that make assembler listings hard to read. > -- Kbuild does not require $(srctree) for include directives. Please see the following line in the top-level Makefile. # o Look for make include files relative to root of kernel src MAKEFLAGS += -rR --include-dir=$(CURDIR) Or, do you have any problem without this patch? -- Best Regards Masahiro Yamada -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html