mirror of
git://git.yoctoproject.org/meta-dpdk.git
synced 2025-07-19 12:59:03 +02:00

xdp-tools - Library and utilities for use with XDP. It also provides libxdp library. https://github.com/xdp-project/xdp-tools Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
47 lines
1.4 KiB
Diff
47 lines
1.4 KiB
Diff
From 53f8a8dffa571de99b50f1a7b757cfd7d8c24d21 Mon Sep 17 00:00:00 2001
|
|
From: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
Date: Mon, 17 Oct 2022 15:44:16 +0800
|
|
Subject: [PATCH 1/4] configure: skip toolchain checks
|
|
|
|
Current logic fetch full command line along with the tool. i.e
|
|
gcc -m64 -march=skylake -mtune=generic ...
|
|
|
|
Which throws ERROR: Cannot find tool -m64
|
|
|
|
So need to re-write for loop, so it can work in cross-compilation
|
|
environment too.
|
|
|
|
Upstream-Status: Inappropriate
|
|
|
|
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
---
|
|
configure | 12 ++++++------
|
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index 70fdfdf..48d1ea5 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -38,12 +38,12 @@ check_toolchain()
|
|
: ${EMACS=emacs}
|
|
: ${ARCH_INCLUDES=}
|
|
|
|
- for TOOL in $PKG_CONFIG $CC $LD $OBJCOPY $CLANG $LLC $M4; do
|
|
- if [ ! $(command -v ${TOOL} 2>/dev/null) ]; then
|
|
- echo "*** ERROR: Cannot find tool ${TOOL}" ;
|
|
- exit 1;
|
|
- fi;
|
|
- done
|
|
+ #for TOOL in $PKG_CONFIG $CC $LD $OBJCOPY $CLANG $LLC $M4; do
|
|
+ # if [ ! $(command -v ${TOOL} 2>/dev/null) ]; then
|
|
+ # echo "*** ERROR: Cannot find tool ${TOOL}" ;
|
|
+ # exit 1;
|
|
+ # fi;
|
|
+ #done
|
|
|
|
clang_version=$($CLANG --version | grep -Po '(?<=clang version )[[:digit:]]+')
|
|
echo "Found clang binary '$CLANG' with version $clang_version (from '$($CLANG --version | head -n 1)')"
|
|
--
|
|
2.25.1
|
|
|