]> git.droids-corp.org - dpdk.git/commitdiff
config: fix kni build
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 20 Oct 2020 09:17:43 +0000 (10:17 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 20 Oct 2020 10:37:05 +0000 (12:37 +0200)
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 <bruce.richardson@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
config/rte_config.h

index f64b4d6341547c661f5289bbdd99093907e309d4..8aa46a1aaf3c92022ae450461892919db581f92a 100644 (file)
@@ -13,7 +13,7 @@
 #define _RTE_CONFIG_H_
 
 #include <rte_build_config.h>
-#include <rte_compatibility_defines.h>
+#include "rte_compatibility_defines.h"
 
 /* legacy defines */
 #ifdef RTE_EXEC_ENV_LINUX