From mboxrd@z Thu Jan 1 00:00:00 1970 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 A2FCA5A38 for ; Fri, 8 Jul 2016 12:14:20 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id z126so10199797wme.0 for ; Fri, 08 Jul 2016 03:14:20 -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=odNmUPjsLyUw4SVSOSVrMv8rdDdIrigy5ZNJMM8xp1KChWGl/gAVEV1uRnaZNEYXeC L/ZynEurzOcw0rNTx01US+d+2M6lzY4loycgQHQLDGZ24gMAkhr5iEEOTLFPFTSLA/ks umpWCK9C1G81n61tMn5KhdhbZQNc8sk23iKubr0vq8q5PGyOR7zKnG053fp0J5l1t1tU GDS0Wrw4HK3D9h8jPL9QUDwp6qpqdPFCxY0wJtlz1V6g7LokQFHA10QGSCfrAj1xfyt6 3R1p7d/5GEzgunWdVe91XhlWSCH517ISgpAA0Yidack/8MakSJNn+msbtYn/EWneykKs UMLw== 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=K/wJgvfUvaYiV67z8fL4X97g3iOjEV2HwD/OfVatWtso/9qdqeyRHe5zqsfx86Gyi5 OKIF0pMqQfFxMq212hstgOxnxfCa2E0qpFqEVb6rTgJbXKwanOlonmIAmxgXDQoKXEve 9UZnHcEitI93DtstRHxtUhe+5mATFAkCS1DnqtDonmlOqO6nqW8KIdqwYHzg1nEuZqhb dHd9w70eN6SPARBl/qpMgba6zc50XkI/tIgvMZ8SUmtDliUiDJ3c6KFprPUlyAjkhqaG KcjxmtU7htkpnazZl9GNmo9O1hQOv/E54rQ6mYDF5uqFNgkfYyjOktHCYjpZ70SeAzIr nPgA== X-Gm-Message-State: ALyK8tLIpGYWAgfYA8GPpQ8gRGMdOGVankjG/i3asKZ/n1L3Xcp55nki7nPSNllldldQWXH4 X-Received: by 10.28.168.86 with SMTP id r83mr2488557wme.44.1467972860495; Fri, 08 Jul 2016 03:14:20 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id d4sm8146wjb.47.2016.07.08.03.14.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jul 2016 03:14:19 -0700 (PDT) From: Thomas Monjalon To: Neil Horman Cc: dev@dpdk.org Date: Fri, 8 Jul 2016 12:14:07 +0200 Message-Id: <1467972855-21873-3-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1467972855-21873-1-git-send-email-thomas.monjalon@6wind.com> References: <1467905790-10597-1-git-send-email-thomas.monjalon@6wind.com> <1467972855-21873-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH v2 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 10:14:21 -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