Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932842AbbFIKfS (ORCPT ); Tue, 9 Jun 2015 06:35:18 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:25229 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752118AbbFIKfK (ORCPT ); Tue, 9 Jun 2015 06:35:10 -0400 Message-ID: <5576C00F.6030809@huawei.com> Date: Tue, 9 Jun 2015 18:29:35 +0800 From: "Wangnan (F)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: , , , , , , , , , , CC: , , , , Subject: Re: [RFC PATCH v6 22/32] perf tools: Make perf depend on libbpf References: <1433829036-23687-1-git-send-email-wangnan0@huawei.com> <1433829036-23687-23-git-send-email-wangnan0@huawei.com> In-Reply-To: <1433829036-23687-23-git-send-email-wangnan0@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 729 Lines: 31 On 2015/6/9 13:50, Wang Nan wrote: [SNIP] > +LIBBPF = $(BPF_PATH)libbpf.a > + > # python extension build directories > PYTHON_EXTBUILD := $(OUTPUT)python_ext_build/ > PYTHON_EXTBUILD_LIB := $(PYTHON_EXTBUILD)lib/ > @@ -227,6 +232,9 @@ export PERL_PATH > LIB_FILE=$(OUTPUT)libperf.a > > PERFLIBS = $(LIB_FILE) $(LIBAPI) $(LIBTRACEEVENT) > +ifndef NO_LIBELF > + PERFLIBS += $(LIBBPF) > +endif > Here should be ifndef NO_LIBBPF PERFLIBS += $(LIBBPF) endif -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/