mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: igpu and dgpu driver libs
Different build flags are used for iGPU and dGPU in safety build. In order to support dGPU in unit tests, a separate library is needed for the driver. Added makefiles to build: - libnvgpu-drv-igpu.so - libnvgpu-drv-dpgu.so Updated scripts and units makefiles to use libnvgpu-drv-igu by default. Jira NVGPU-5217 Change-Id: Ibcc56088723cec5cb2d0ac42725102ae0c886014 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2333499 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Alex Waterman
parent
80285be2da
commit
4f682bf107
@@ -42,7 +42,7 @@ if [ -d "./build" ]; then
|
||||
fi
|
||||
|
||||
#Extract the root path of the source code
|
||||
NVGPU_SRC_ROOT=$(readelf -p .debug_line $LIB_FOLDER/libnvgpu-drv.so | \
|
||||
NVGPU_SRC_ROOT=$(readelf -p .debug_line $LIB_FOLDER/libnvgpu-drv-igpu.so | \
|
||||
grep drivers/gpu/nvgpu/os/posix | sed 's/\s*\[.*\]\s*//g' | \
|
||||
sed 's/drivers\/gpu\/nvgpu\/os\/posix//g' | head -n 1)
|
||||
NVGPU_SRC_ROOT=$(realpath $NVGPU_SRC_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user