This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Path to the extlinux.conf file | |
CONFIG_FILE="/boot/extlinux/extlinux.conf" | |
dtsFile="$1" | |
dtboFile=/boot/$(basename $dtsFile .dts).dtbo | |
dtb=$(ls /boot/dtb/*.dtb) | |
dtbFile=$(realpath $dtb) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 64abbfc..6af2fca 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -18,7 +18,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-value -fPIC") | |
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath-link=/usr/lib/aarch64-linux-gnu/tegra") | |
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath-link=/usr/local/cuda/lib64") | |
-find_library(LIB_NVBUF nvbuf_utils PATHS /usr/lib/aarch64-linux-gnu/tegra) | |
+#find_library(LIB_NVBUF nvbuf_utils PATHS /usr/lib/aarch64-linux-gnu/tegra) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure b/configure | |
index e06faa4..8087aee 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -353,6 +353,7 @@ External library support: | |
--disable-vaapi disable Video Acceleration API (mainly Unix/Intel) code [autodetect] | |
--disable-vdpau disable Nvidia Video Decode and Presentation API for Unix code [autodetect] | |
--disable-videotoolbox disable VideoToolbox code [autodetect] | |
+ --enable-nvmpi enable nvmpi code | |