From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934108AbcLMPM4 (ORCPT ); Tue, 13 Dec 2016 10:12:56 -0500 Received: from merlin.infradead.org ([205.233.59.134]:38400 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933335AbcLMPJ7 (ORCPT ); Tue, 13 Dec 2016 10:09:59 -0500 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Joe Stringer , Alexei Starovoitov , Daniel Borkmann , Arnaldo Carvalho de Melo Subject: [PATCH 22/22] samples/bpf: Drop unnecessary build targets. Date: Tue, 13 Dec 2016 12:09:28 -0300 Message-Id: <20161213150928.13144-23-acme@kernel.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161213150928.13144-1-acme@kernel.org> References: <20161213150928.13144-1-acme@kernel.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by merlin.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joe Stringer Commit f72179ef11db ("samples/bpf: Switch over to libbpf") added these two makefile changes that were unnecessary for switching samples to use libbpf. The extra make is already handled by the build dependency, and libbpf target doesn't build because it lacks main(). Remove these. Reported-by: Wang Nan Signed-off-by: Joe Stringer Cc: Alexei Starovoitov Cc: Daniel Borkmann Link: http://lkml.kernel.org/r/20161209175109.6779-1-joe@ovn.org Signed-off-by: Arnaldo Carvalho de Melo --- samples/bpf/Makefile | 1 - tools/lib/bpf/Makefile | 2 -- 2 files changed, 3 deletions(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 9ffa6a2c061d..60ffc8115b67 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -127,7 +127,6 @@ CLANG ?= clang # Trick to allow make to be run from this directory all: - $(MAKE) -C ../../ tools/lib/bpf/ $(MAKE) -C ../../ $$PWD/ clean: diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile index 616bd55f3be8..62d89d50fcbd 100644 --- a/tools/lib/bpf/Makefile +++ b/tools/lib/bpf/Makefile @@ -149,8 +149,6 @@ CMD_TARGETS = $(LIB_FILE) TARGETS = $(CMD_TARGETS) -libbpf: all - all: fixdep $(VERSION_FILES) all_cmd all_cmd: $(CMD_TARGETS) -- 2.9.3