From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759301AbbJ3JNq (ORCPT ); Fri, 30 Oct 2015 05:13:46 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44421 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759286AbbJ3JNo (ORCPT ); Fri, 30 Oct 2015 05:13:44 -0400 Date: Fri, 30 Oct 2015 02:13:31 -0700 From: tip-bot for Jiri Olsa Message-ID: Cc: mingo@kernel.org, acme@redhat.com, jolsa@redhat.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, wangnan0@huawei.com, hpa@zytor.com Reply-To: linux-kernel@vger.kernel.org, jolsa@redhat.com, acme@redhat.com, mingo@kernel.org, hpa@zytor.com, wangnan0@huawei.com, tglx@linutronix.de In-Reply-To: <20151028204450.GA25553@krava.redhat.com> References: <20151028204450.GA25553@krava.redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Make sure fixdep is built before libbpf Git-Commit-ID: 50f1e6d0431d3343cb506037c43ce623bd15581f X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 50f1e6d0431d3343cb506037c43ce623bd15581f Gitweb: http://git.kernel.org/tip/50f1e6d0431d3343cb506037c43ce623bd15581f Author: Jiri Olsa AuthorDate: Wed, 28 Oct 2015 21:44:50 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 17:16:21 -0300 perf tools: Make sure fixdep is built before libbpf While doing 'make -C tools/perf build-test': LD fixdep-in.o LINK fixdep /bin/sh: /home/acme/git/linux/tools/build/fixdep: Permission denied make[6]: *** [bpf.o] Error 1 make[5]: *** [libbpf-in.o] Error 2 make[4]: *** [/home/acme/git/linux/tools/lib/bpf/libbpf.a] Error 2 make[4]: *** Waiting for unfinished jobs.... The fixdep tool needs to be built as the first binary. Libraries are built in paralel, so each of them needs to depend on fixdep target. Reported-by: Arnaldo Carvalho de Melo Signed-off-by: Jiri Olsa Cc: Wang Nan Link: http://lkml.kernel.org/r/20151028204450.GA25553@krava.redhat.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 1e2e2d1..0d19d54 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -430,7 +430,7 @@ $(LIBAPI)-clean: $(call QUIET_CLEAN, libapi) $(Q)$(MAKE) -C $(LIB_DIR) O=$(OUTPUT) clean >/dev/null -$(LIBBPF): FORCE +$(LIBBPF): fixdep FORCE $(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) $(OUTPUT)libbpf.a $(LIBBPF)-clean: