From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E13B6A04DD; Tue, 20 Oct 2020 11:42:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8864B37B4; Tue, 20 Oct 2020 11:19:01 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B3B79160 for ; Tue, 20 Oct 2020 11:18:58 +0200 (CEST) IronPort-SDR: T8tA+FTuD14oNtR/gZfrYmwv3DMRHdqxLmuJA4vVR82Rvvr83ur793ay2mj8CoYaOzDLO4fdD/ Ad0Xk+UeSFmQ== X-IronPort-AV: E=McAfee;i="6000,8403,9779"; a="164570259" X-IronPort-AV: E=Sophos;i="5.77,396,1596524400"; d="scan'208";a="164570259" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2020 02:18:57 -0700 IronPort-SDR: C2YIXewxv6DFIK/V2szGFF3I9J+nUgdYqNOjTYYgh9vucyNJ/fUXzJEmzlHTbip/kU737+AFFr q5MP4TzraOwA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,396,1596524400"; d="scan'208";a="320584514" Received: from silpixa00399126.ir.intel.com ([10.237.222.4]) by orsmga006.jf.intel.com with ESMTP; 20 Oct 2020 02:18:56 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson Date: Tue, 20 Oct 2020 10:17:43 +0100 Message-Id: <20201020091743.192709-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] config: fix kni build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" When building kernel modules such as kni, the "config" directory is not passed as a standard path in the EXTRA_CFLAGS value, meaning that the rte_compatibility_defines.h is not found from rte_config.h. However, since both headers are in the same directory, we can just use quotes rather than angle-brackets to ensure the second header is always found if the first is. Fixes: b0b672aeadaa ("build: add defines for compatibility with make build") Signed-off-by: Bruce Richardson --- config/rte_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rte_config.h b/config/rte_config.h index f64b4d634..8aa46a1aa 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -13,7 +13,7 @@ #define _RTE_CONFIG_H_ #include -#include +#include "rte_compatibility_defines.h" /* legacy defines */ #ifdef RTE_EXEC_ENV_LINUX -- 2.25.1