From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by dpdk.org (Postfix) with ESMTP id 35BD06A94 for ; Tue, 7 May 2013 17:17:20 +0200 (CEST) Received: by mail-ee0-f48.google.com with SMTP id d4so384069eek.7 for ; Tue, 07 May 2013 08:17:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:x-gm-message-state; bh=khMsfXz2s55u8AjOs62iBWMQzmx3FATQIssI9ISyKP0=; b=OG0B2BDTaqPJrzGLuzFtWtaobLDLBtP2JDMQKJpKL6O6lOnOJePMlFCCcyqjIsStvH W2UOdmVHRTdWTjqq9+0zwEk+q84X/IjdIoYkd737MvUiXlk5ob/wQG+RmryneuJfRnvM bLm9rVajchm1blIjW4LmN6qCx9rntkrDScTtlDlYsQwEYu+suNYTq6wgrHfcJUqdV5Bf 1wKsCSuOUVDXvLC5bqkrbbUwe00clVMvQF1v7p7xzGuTaJ4wJJn2L+WSK5/vAQWqLaLF nFQ+oB6fji/5WU+W10voynyD2lCTjTmb+T1ad11XThxESUQn+TIRIxd//LglEVP0jkjw x1dQ== X-Received: by 10.15.67.203 with SMTP id u51mr6385268eex.22.1367939840561; Tue, 07 May 2013 08:17:20 -0700 (PDT) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id n7sm40022114eeo.0.2013.05.07.08.17.18 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 07 May 2013 08:17:19 -0700 (PDT) Received: by 6wind.com (sSMTP sendmail emulation); Tue, 07 May 2013 17:17:19 +0200 From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 7 May 2013 17:17:13 +0200 Message-Id: <43533094849ffdacde83cad14c59364caa39d595.1367939814.git.thomas.monjalon@6wind.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQmpt5aE9cIbNkp1ochgEVAd07bdPMKQjBYiH35B47N1ECMh1y6ENl3ODnDE0/fG4VrPKPWU Subject: [dpdk-dev] [PATCH 1/3] mk: rule showconfigs for configs listing 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: Tue, 07 May 2013 15:17:20 -0000 Allow to list configs in config/ directory with a simple make rule. Signed-off-by: Thomas Monjalon --- mk/rte.sdkconfig.mk | 4 ++++ mk/rte.sdkroot.mk | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mk/rte.sdkconfig.mk b/mk/rte.sdkconfig.mk index ed81c47..179089e 100644 --- a/mk/rte.sdkconfig.mk +++ b/mk/rte.sdkconfig.mk @@ -36,6 +36,10 @@ INSTALL_CONFIGS := $(filter-out %~,\ $(wildcard $(RTE_SRCDIR)/config/defconfig_*))) INSTALL_TARGETS := $(addsuffix _install,$(INSTALL_CONFIGS)) +.PHONY: showconfigs +showconfigs: + @$(foreach CONFIG, $(INSTALL_CONFIGS), echo $(CONFIG);) + .PHONY: config ifeq ($(RTE_CONFIG_TEMPLATE),) config: diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk index f555e33..6bbbd54 100644 --- a/mk/rte.sdkroot.mk +++ b/mk/rte.sdkroot.mk @@ -87,8 +87,8 @@ export ROOTDIRS-y ROOTDIRS- ROOTDIRS-n .PHONY: default default: all -.PHONY: config -config: +.PHONY: config showconfigs +config showconfigs: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkconfig.mk $@ .PHONY: test fast_test ring_test mempool_test -- 1.7.10.4