From 653bea6d3b478ad50b0c6576d8543cdc11dfc808 Mon Sep 17 00:00:00 2001 From: Ovidiu Panait Date: Tue, 3 Mar 2020 21:19:45 +0200 Subject: bcc: Remove cross-compilation cmake patch Commit ab686950af8d was integrated to fix this particular issue, so this patch is not needed anymore. Signed-off-by: Ovidiu Panait --- ...build-with-OE-LLVM-cross-compiled-package.patch | 33 ---------------------- recipes-devtools/bcc/bcc_0.13.0.bb | 1 - 2 files changed, 34 deletions(-) delete mode 100644 recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch diff --git a/recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch b/recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch deleted file mode 100644 index 7b09df6..0000000 --- a/recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch +++ /dev/null @@ -1,33 +0,0 @@ -From cb13627f25a7af1b54a395eb59e5d7f7786e609d Mon Sep 17 00:00:00 2001 -From: Sumit Garg -Date: Fri, 14 Feb 2020 07:40:11 +0000 -Subject: [PATCH] Allow to build with OE LLVM cross compiled package - -The default LLVM cmake package requires all libraries, headers and tools -to be present but in case of cross compilation, OE only provides -target specific libraries and headers and requires native llvm tools. - -So instead of looking for a complete llvm package, look for libraries and -headers which are installed in target sysroot-recipe path. - -Signed-off-by: Sumit Garg ---- - CMakeLists.txt | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f1916b55..f16d84c3 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -39,8 +39,6 @@ endif() - if(NOT PYTHON_ONLY AND ENABLE_CLANG_JIT) - find_package(BISON) - find_package(FLEX) --find_package(LLVM REQUIRED CONFIG) --message(STATUS "Found LLVM: ${LLVM_INCLUDE_DIRS} ${LLVM_PACKAGE_VERSION}") - find_package(LibElf REQUIRED) - - if(CLANG_DIR) --- -2.17.1 - diff --git a/recipes-devtools/bcc/bcc_0.13.0.bb b/recipes-devtools/bcc/bcc_0.13.0.bb index 6c92b17..c5aeb29 100644 --- a/recipes-devtools/bcc/bcc_0.13.0.bb +++ b/recipes-devtools/bcc/bcc_0.13.0.bb @@ -17,7 +17,6 @@ DEPENDS += "bison-native \ RDEPENDS_${PN} += "bash python3 python3-core" SRC_URI = "git://github.com/iovisor/bcc \ - file://0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch \ " SRCREV = "942227484d3207f6a42103674001ef01fb5335a0" -- cgit v1.2.3-54-g00ecf