From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Alemayhu Subject: [PATCH RESEND] bpf: fix bad include in libbpf when srctree is set Date: Mon, 1 Jan 2018 13:36:54 +0100 Message-ID: <20180101123654.16014-1-alexander@alemayhu.com> Cc: alexei.starovoitov@gmail.com, daniel@iogearbox.net, Alexander Alemayhu To: netdev@vger.kernel.org Return-path: Received: from mail-lf0-f67.google.com ([209.85.215.67]:33318 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751212AbeAAMg7 (ORCPT ); Mon, 1 Jan 2018 07:36:59 -0500 Received: by mail-lf0-f67.google.com with SMTP id j143so8178177lfg.0 for ; Mon, 01 Jan 2018 04:36:58 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: The relative path can be wrong and prevents the build. Makefile:57: ../../scripts/Makefile.include: No such file or directory make: *** No rule to make target '../../scripts/Makefile.include'. Stop. Signed-off-by: Alexander Alemayhu --- tools/lib/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile index 4555304dc18e..0068829a56db 100644 --- a/tools/lib/bpf/Makefile +++ b/tools/lib/bpf/Makefile @@ -54,7 +54,7 @@ man_dir_SQ = '$(subst ','\'',$(man_dir))' export man_dir man_dir_SQ INSTALL export DESTDIR DESTDIR_SQ -include ../../scripts/Makefile.include +include $(srctree)/tools/scripts/Makefile.include # copy a bit from Linux kbuild -- 2.13.6