Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752273AbdK1Ju2 (ORCPT ); Tue, 28 Nov 2017 04:50:28 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:38855 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752233AbdK1JuX (ORCPT ); Tue, 28 Nov 2017 04:50:23 -0500 X-Google-Smtp-Source: AGs4zMY9yN1cKIIGQJZdyNXTkMquwiDEb6BdzQm9rmxZdggxjouIaiPJIRIkSdlx1pbT3Z4uoVsNeQ== From: Alexander Alemayhu To: linux-kernel@vger.kernel.org Cc: acme@kernel.org, Alexander Alemayhu Subject: [PATCH] bpf: fix bad include in libbpf when srctree is set Date: Tue, 28 Nov 2017 10:50:19 +0100 Message-Id: <20171128095019.13112-1-alexander@alemayhu.com> X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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