blob: 6f4ab1af0efc74a2b7bd0c6e766bac3b06eb474e (
plain)
1 --- ./opt/cuda/samples/3_Imaging/bicubicTexture/findgllib.mk 2017-09-28 09:07:30.310563874 +0200
2 +++ findgllib.mk 2017-09-28 14:40:50.638930881 +0200
3 @@ -60,6 +60,7 @@
4 RHEL = $(shell echo $(DISTRO) | grep -i 'red\|rhel' >/dev/null 2>&1; echo $$?)
5 CENTOS = $(shell echo $(DISTRO) | grep -i centos >/dev/null 2>&1; echo $$?)
6 SUSE = $(shell echo $(DISTRO) | grep -i 'suse\|sles' >/dev/null 2>&1; echo $$?)
7 + CRUX = $(shell echo $(DISTRO) | grep -i crux >/dev/null 2>&1; echo $$?)
8 ifeq ("$(UBUNTU)","0")
9 ifeq ($(HOST_ARCH)-$(TARGET_ARCH),x86_64-armv7l)
10 GLPATH := /usr/arm-linux-gnueabihf/lib
11 @@ -100,6 +101,11 @@
12 GLPATH ?= /usr/lib64/nvidia
13 GLLINK ?= -L/usr/lib64/nvidia
14 DFLT_PATH ?= /usr/lib64
15 + endif
16 + ifeq ("$(CRUX)","0")
17 + GLPATH ?= /usr/lib/nvidia
18 + GLLINK ?= -L/usr/lib/nvidia
19 + DFLT_PATH ?= /usr/lib
20 endif
21
22 # find libGL, libGLU, libXi,
|