Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CEF8C433DF for ; Tue, 20 Oct 2020 09:42:08 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id D8C0F206DC for ; Tue, 20 Oct 2020 09:42:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8C0F206DC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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