Netdev List
 help / color / mirror / Atom feed
From: Alexander Alemayhu <alexander@alemayhu.com>
To: netdev@vger.kernel.org
Cc: alexei.starovoitov@gmail.com, daniel@iogearbox.net,
	Alexander Alemayhu <alexander@alemayhu.com>
Subject: [PATCH RESEND] bpf: fix bad include in libbpf when srctree is set
Date: Mon,  1 Jan 2018 13:36:54 +0100	[thread overview]
Message-ID: <20180101123654.16014-1-alexander@alemayhu.com> (raw)

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 <alexander@alemayhu.com>
---
 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

             reply	other threads:[~2018-01-01 12:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-01 12:36 Alexander Alemayhu [this message]
2018-01-04 22:47 ` [PATCH RESEND] bpf: fix bad include in libbpf when srctree is set Daniel Borkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180101123654.16014-1-alexander@alemayhu.com \
    --to=alexander@alemayhu.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox