From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id A804E8E60 for ; Fri, 8 Jul 2016 16:42:30 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id n127so14310578wme.1 for ; Fri, 08 Jul 2016 07:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+g4bkQyx2rm9pqk9QfFk2dd6eYlLoA2xm2rr+blORNg=; b=huBpegDugD3SPcYCZjQ0197PHehziBCtrZFAI4e2gitrapGtmuyIwPgce1QIR0IkxH ZWUEIgNuO5TuJolvMhT1gSNyo+f8lhJjkqQgcgcXzLDDhfJd2Xd+59sHPyXHGCpme0nc +ic3hcB3DyXz0S/rDjnu9x+oIzZEIPknkRMAVf1EXgZyJDJEA1MQsA/38qj3r6rEIems pMgefKiVMc9CVFQeM6GJM/p/gzB2BEBjW4CrMEPNlAa6oDDTTjP6injV6u53XGXVCZ84 fmS+xFIs18Cgy2Pzlr2uIHt88dsThv7kpL5AgVh1971LKo4Nju87/Etyu5WrYzWR8E+m aobg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+g4bkQyx2rm9pqk9QfFk2dd6eYlLoA2xm2rr+blORNg=; b=ZtIRpQHBg+tG700E2fXEhLU6OoUBdOpKGafFi/ZFCrrgp3BupsoGE2ApHZTGYjC+Wh NeUSWj8gkJyAjM3VKY1Q3QVRupOzyczcP5jXJnsXWcxynNJNvQt8Dul4bUWH7LGpQfrL 0E7AFrRRj6yO/bLr7/0b/EZIUVK+TSIuceasnmkG5nE8FmpZhTL3tFVqQm5Qn/Ld4J6j EWsadlz0kRr4hfFtB/pZgqwcub88tLltzgxOuGqu59clVPnGZ7m9t1P+fouG30h5Kikj VSM7aqMsr+kdd+j2hvW3AmyHFYq4vcgUI3QK8KlAQ+y3tTPuZYWbxCQkL0iIl5HbAwr8 kXZQ== X-Gm-Message-State: ALyK8tI1ZIfWCe6vykvAMzCR7q3+0yrR2CT8ohubGme/E0X6l4sS3PE7sQJQgqlzWg1dvq2q X-Received: by 10.28.137.68 with SMTP id l65mr3653751wmd.64.1467988950371; Fri, 08 Jul 2016 07:42:30 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id qf7sm1713958wjc.41.2016.07.08.07.42.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jul 2016 07:42:29 -0700 (PDT) From: Thomas Monjalon To: Neil Horman Cc: dev@dpdk.org Date: Fri, 8 Jul 2016 16:42:16 +0200 Message-Id: <1467988944-25004-3-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1467988944-25004-1-git-send-email-thomas.monjalon@6wind.com> References: <1467972855-21873-1-git-send-email-thomas.monjalon@6wind.com> <1467988944-25004-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH v3 02/10] mk: fix build dependency of drivers on pmdinfogen 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, 08 Jul 2016 14:42:30 -0000 When compiling the drivers, some code is generated with pmdinfogen. A fresh parallel build can fail if a driver is compiled before pmdinfogen: build/buildtools/dpdk-pmdinfogen: Permission denied There was a dependency declared in drivers/Makefile but it cannot work because this file is based on mk/rte.subdir.mk which do not handle dependencies. It is fixed by declaring the whole buildtools as (order only) prerequisite of drivers. Fixes: cb6696d22023 ("drivers: update registration macro usage") Signed-off-by: Thomas Monjalon Acked-by: Neil Horman --- drivers/Makefile | 2 -- mk/rte.sdkbuild.mk | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/Makefile b/drivers/Makefile index 75a3168..81c03a8 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -34,6 +34,4 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-y += net DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto -DEPDIRS-y += buildtools/pmdinfo - include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk index fb68af2..354f006 100644 --- a/mk/rte.sdkbuild.mk +++ b/mk/rte.sdkbuild.mk @@ -49,6 +49,7 @@ $(1): $(sort $(LOCAL_DEPDIRS-$(1))) endef $(foreach d,$(ROOTDIRS-y),$(eval $(call depdirs_rule,$(d)))) +drivers: | buildtools # # build and clean targets -- 2.7.0