From mboxrd@z Thu Jan 1 00:00:00 1970 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 7958E9223 for ; Fri, 30 Oct 2015 15:27:47 +0100 (CET) Received: by wicll6 with SMTP id ll6so11841874wic.1 for ; Fri, 30 Oct 2015 07:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=jj1Q3t3toK4hYzhirKaixjWPoI3A9QleGfrOc3/JkeU=; b=woXHlUdCET0CEJlXXEgZyh7IJD/bZQokNyidIXlVNp0q263E88VBZI7roT33QhFaFI B1O+SKlNaUAoY98BeCDB69D2QJTKZGVnGXgOnLKWdl7z0MvdfJp59p9rnfaWv+XGwJvI QVbnClSQtDnVQlZq+zkR1skA+RhlFz/Q39V6eNHq6ZV3CsT1tfvMZqOc2ILIJFLScEsO xPM7zoq3khsBTZoJsjgZX5FVkpHHMmDzrIrp3G3hOxXo5IIAAAgfW+sOBezpO6T2eWwb jrEsGJ2XDWQiqaUxnaGYKeW8HNhqarTwSddxmHapWQrcooLSP9NflOsjLj0BbKCIQtdQ dNvw== X-Received: by 10.194.113.165 with SMTP id iz5mr8694987wjb.77.1446215267353; Fri, 30 Oct 2015 07:27:47 -0700 (PDT) Received: from mod-l-fmontorsi.empirix.com ([83.216.166.201]) by smtp.gmail.com with ESMTPSA id bk2sm7363560wjc.3.2015.10.30.07.27.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Oct 2015 07:27:45 -0700 (PDT) From: Francesco Montorsi To: dev@dpdk.org Date: Fri, 30 Oct 2015 15:27:33 +0100 Message-Id: <1446215253-3188-1-git-send-email-francesco.montorsi@gmail.com> X-Mailer: git-send-email 2.5.3.windows.1 Cc: Francesco Montorsi Subject: [dpdk-dev] [PATCH] Add build switches for all DPDK applications. This makes it possible to skip building applications (and build only libraries or kernel drivers). X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 14:27:47 -0000 --- app/Makefile | 8 ++++---- config/common_linuxapp | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/app/Makefile b/app/Makefile index 88c0bad..0b266b5 100644 --- a/app/Makefile +++ b/app/Makefile @@ -32,10 +32,10 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-$(CONFIG_RTE_APP_TEST) += test -DIRS-$(CONFIG_RTE_LIBRTE_ACL) += test-acl -DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test-pipeline +DIRS-$(CONFIG_RTE_APP_ACL_TEST) += test-acl +DIRS-$(CONFIG_RTE_APP_PIPELINE_TEST) += test-pipeline DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd -DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += cmdline_test -DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += proc_info +DIRS-$(CONFIG_RTE_APP_CMDLINE_TEST) += cmdline_test +DIRS-$(CONFIG_RTE_APP_PROC_INFO) += proc_info include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/config/common_linuxapp b/config/common_linuxapp index 0de43d5..b6703b1 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -466,3 +466,24 @@ CONFIG_RTE_APP_TEST=y CONFIG_RTE_TEST_PMD=y CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n + +# +# Compile the ACL test application +# +CONFIG_RTE_APP_ACL_TEST=y + +# +# Compile the pipeline test application +# +CONFIG_RTE_APP_PIPELINE_TEST=y + +# +# Compile the ACL test application +# +CONFIG_RTE_APP_CMDLINE_TEST=y + +# +# Compile the proc_info test application +# +CONFIG_RTE_APP_PROC_INFO=y + -- 2.5.3.windows.1