From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH] dpdk1.7.1 rte.app.mk add options not not build targerts Date: Tue, 09 Jun 2015 14:05:35 +0200 Message-ID: <5576D68F.7040804@6wind.com> References: <1433844953-29887-1-git-send-email-maxim.uvarov@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: Maxim Uvarov , dev@dpdk.org Return-path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id 865755A54 for ; Tue, 9 Jun 2015 14:05:41 +0200 (CEST) Received: by wigg3 with SMTP id g3so14577402wig.1 for ; Tue, 09 Jun 2015 05:05:41 -0700 (PDT) In-Reply-To: <1433844953-29887-1-git-send-email-maxim.uvarov@linaro.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello Maxim, On 06/09/2015 12:15 PM, Maxim Uvarov wrote: > Inherit build varibles only so that this file can be included > from other projects. > > Signed-off-by: Maxim Uvarov Can you detail a bit more what you want to do? Why do you need to include rte.app.mk? This file is internal to the dpdk framework. By the way, the title is not understandable: - why dpdk1.7.1 ? - targerts -> targets - not not ? Regards, Olivier > --- > mk/rte.app.mk | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > index 34dff2a..b75925d 100644 > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -222,6 +222,7 @@ endif # ifeq ($(NO_AUTOLIBS),) > > LDLIBS += $(CPU_LDLIBS) > > +ifneq ($(DPRK_APP_MK_SKIP_BUILD_TARGETS),1) > .PHONY: all > all: install > > @@ -232,6 +233,7 @@ _postinstall: build > > .PHONY: build > build: _postbuild > +endif > > exe2cmd = $(strip $(call dotfile,$(patsubst %,%.cmd,$(1)))) > > @@ -306,6 +308,7 @@ $(RTE_OUTPUT)/app/$(APP).map: $(APP) > @[ -d $(RTE_OUTPUT)/app ] || mkdir -p $(RTE_OUTPUT)/app > $(Q)cp -f $(APP).map $(RTE_OUTPUT)/app > > +ifneq ($(DPRK_APP_MK_SKIP_BUILD_TARGETS), 1) > # > # Clean all generated files > # > @@ -317,7 +320,7 @@ clean: _postclean > doclean: > $(Q)rm -rf $(APP) $(OBJS-all) $(DEPS-all) $(DEPSTMP-all) \ > $(CMDS-all) $(INSTALL-FILES-all) .$(APP).cmd > - > +endif > > include $(RTE_SDK)/mk/internal/rte.compile-post.mk > include $(RTE_SDK)/mk/internal/rte.install-post.mk >