From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] mk: fix default rule of test subdirectory Date: Tue, 12 Jul 2016 12:22:24 +0200 Message-ID: <1468318944-19477-1-git-send-email-thomas.monjalon@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 1CA0CDE3 for ; Tue, 12 Jul 2016 12:22:30 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id i5so19157847wmg.0 for ; Tue, 12 Jul 2016 03:22:30 -0700 (PDT) Received: from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id c142sm4562281wme.18.2016.07.12.03.22.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jul 2016 03:22:29 -0700 (PDT) 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" When using "make -C app/test" (with RTE_SDK/RTE_TARGET adjusted) without specifying the rule (all), the build is not done. Indeed the default rule is not "all" anymore since there are some rules added for external resources link. It is fixed by adding a reference to "all" at the top of the file which makes it the default rule. Note that make app/test_sub (without environment variable) is preffered. Fixes: ab64f5df8004 ("app/test: support resources externally linked") Reported-by: Reshma Pattan Signed-off-by: Thomas Monjalon --- app/test/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test/Makefile b/app/test/Makefile index 2de8c7a..6015b19 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -33,6 +33,9 @@ include $(RTE_SDK)/mk/rte.vars.mk ifeq ($(CONFIG_RTE_APP_TEST),y) +# default rule +all: + # Define an externally linked resource. A linked resource is an arbitrary # file that is linked into the test binary. The application refers to this # resource by name. The linked generates identifiers beg_ and end_ -- 2.7.0