From patchwork Wed Jun 18 07:34:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 32111 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E3B6D206A0 for ; Wed, 18 Jun 2014 07:34:23 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id j17sf3376678oag.8 for ; Wed, 18 Jun 2014 00:34:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:in-reply-to:references :date:message-id:from:to:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list:content-type; bh=eDMGF93XRgV1j/q24tImpEa5xT1dWFpfE8Dx1ViSOfU=; b=XfRfypahrTnd8pysVVh+hDEzNtW6MOs6R3MSd3FJN21HPd0i1lHXojm7767LbM5ua4 QbHVFvGJ7a/s6BVxTEjNTfZ6qWpWA+zr7L0pXd/OxvKVoBfvp/2fHf+i5LSE9H1a0Jfd lOROWqduKXUuvhzlHp4PhiyxX3Ilt3tq37/uOypb9+c6pFNnSh6MDK3cLjWtyhS+se42 uLoUKG90NraPRyaKR886B0Ea+Nk/o2feDr5KUSteni00lQy8R/4VLfP7r1yS67fqZxZc daofW1wG3CPGlWL81hPch4UtSLN5kflr7i0AavhMjXp0+tPDlOVp2VDMIOBLgrQp8iiT gcmg== X-Gm-Message-State: ALoCoQnotlgLdxz4YmIdGQUFyE6OCj/p9MnEmwY6rgazL7ZjjsVYnJxfxCXDbWJSxCgMTZ3SOtxe X-Received: by 10.182.29.1 with SMTP id f1mr85209obh.23.1403076863505; Wed, 18 Jun 2014 00:34:23 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.33.202 with SMTP id j68ls186482qgj.28.gmail; Wed, 18 Jun 2014 00:34:23 -0700 (PDT) X-Received: by 10.220.94.8 with SMTP id x8mr78064vcm.67.1403076863358; Wed, 18 Jun 2014 00:34:23 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id pa17si494953veb.51.2014.06.18.00.34.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Jun 2014 00:34:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hy10so403261vcb.31 for ; Wed, 18 Jun 2014 00:34:23 -0700 (PDT) X-Received: by 10.58.195.234 with SMTP id ih10mr101236vec.41.1403076863260; Wed, 18 Jun 2014 00:34:23 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp263580vcb; Wed, 18 Jun 2014 00:34:22 -0700 (PDT) X-Received: by 10.220.94.8 with SMTP id x8mr78031vcm.67.1403076862709; Wed, 18 Jun 2014 00:34:22 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id ls1si488313vcb.99.2014.06.18.00.34.21 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 18 Jun 2014 00:34:22 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WxAMH-0003jl-Rk; Wed, 18 Jun 2014 07:32:37 +0000 Received: from mail-lb0-f176.google.com ([209.85.217.176]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WxAMD-0003jg-1k for lng-odp@lists.linaro.org; Wed, 18 Jun 2014 07:32:33 +0000 Received: by mail-lb0-f176.google.com with SMTP id w7so253223lbi.35 for ; Wed, 18 Jun 2014 00:34:10 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.27.134 with SMTP id t6mr138142lag.41.1403076850652; Wed, 18 Jun 2014 00:34:10 -0700 (PDT) Received: by 10.112.21.38 with HTTP; Wed, 18 Jun 2014 00:34:10 -0700 (PDT) In-Reply-To: References: <539B20C9.6080000@linaro.org> <539B22CB.2040804@linaro.org> Date: Wed, 18 Jun 2014 10:34:10 +0300 Message-ID: From: Fathi Boudra To: Maxim Uvarov Cc: Koen Kooi , lng-odp-forward Subject: Re: [lng-odp] ODP fails to build X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fathi.boudra@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 patch attached. On 18 June 2014 09:25, Fathi Boudra wrote: > The issue is triggered with make 3.82 (as found on Fedora 20). > If you built on Ubuntu with make 3.81, you won't observe the issue. > > On 13 June 2014 19:11, Maxim Uvarov wrote: >> CC right ODP list. >> >> >> >> On 06/13/2014 09:10 AM, Ciprian Barbu wrote: >>> >>> Hi, >>> >>> >>> >>> >>> On Fri, Jun 13, 2014 at 9:06 AM, Maxim Uvarov >> > wrote: >>> >>> >>> >>> >>> On 13 June 2014 09:05, Fathi Boudra >> > wrote: >>> >>> On 13 June 2014 19:03, Maxim Uvarov >> > wrote: >>> > Hi Koen, >>> > >>> > are you unable to build it on OE? Is OE doesn't works with >>> wildcards? >>> >>> It's a Makefile, using make. Nothing specific to OE. >>> Does it work in a native build? i.e. not in a cross build >>> environment. >>> >>> for me it works for both native and arm. >>> >>> >>> Works for me too, in Ubuntu 13.10 64-bit, native build. >>> >>> >>> >>> Maxim. >>> >>> > Thanks, >>> > Maxim. >>> > >>> > >>> > On 06/13/2014 03:28 AM, Koen Kooi wrote: >>> >> >>> >> >>> >> Hi, >>> >> >>> >> >>> >> ODP failed to build: >>> >> >>> >> >>> >> | make: Entering an unknown directory >>> >> >>> >> | make: *** Makefile/: Not a directory. Stop. >>> >> >>> >> | make: Leaving an unknown directory >>> >> >>> >> >>> >> This fixes it: >>> >> >>> >> >>> >> [koen@thinkpad git]$ git diff >>> >> >>> >> diff --git a/test/Makefile b/test/Makefile >>> >> >>> >> index 500fd13..b46e280 100644 >>> >> >>> >> --- a/test/Makefile >>> >> >>> >> +++ b/test/Makefile >>> >> >>> >> @@ -3,7 +3,7 @@ >>> >> >>> >> # >>> >> >>> >> # SPDX-License-Identifier: BSD-3-Clause >>> >> >>> >> -TESTS=$(filter %, $(wildcard */)) >>> >> >>> >> +TESTS=api_test example generator l2fwd packet >>> packet_netmap timer >>> >> >>> >> .PHONY: all clean install >>> >>> >>> -- You received this message because you are subscribed to the >>> Google >>> Groups "[Frozen] LNG ODP Sub-team - lng-odp@linaro.org >>> " group. >>> >>> To unsubscribe from this group and stop receiving emails from it, >>> send an email to lng-odp+unsubscribe@linaro.org >>> . >>> >>> Visit this group at >>> http://groups.google.com/a/linaro.org/group/lng-odp/. >>> >>> Tested-by: Anders Roxell >From 4f85cf81226c2cbcc6f73199ef7b719dd08b381e Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Wed, 18 Jun 2014 10:26:42 +0300 Subject: [PATCH 1/1] Fix tests build failure with make 3.82 to generate the tests list: 1. use wildcard to find list the files and directories 2. filter out the files (only Makefile files) 3. sort the list to always build in the same order Signed-off-by: Fathi Boudra --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 879d775..0b4d3ee 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,7 +3,7 @@ # # SPDX-License-Identifier: BSD-3-Clause -TESTS=$(filter %, $(wildcard */)) +TESTS := $(sort $(filter-out Makefile%, $(wildcard *))) .PHONY: all clean install -- 2.0.0