diff --git a/srpt/Makefile b/srpt/Makefile index 8cd872276..edb71deb2 100644 --- a/srpt/Makefile +++ b/srpt/Makefile @@ -7,8 +7,7 @@ # # Note 2! The CFLAGS definitions are now in the main makefile. -#SCST_DIR := $(shell pwd)/../scst/src -SCST_DIR := /usr/local/include/scst +SCST_DIR := $(shell pwd)/../scst/src SUBDIRS := $(shell pwd) ifeq ($(KVER),) diff --git a/srpt/src/Makefile b/srpt/src/Makefile index 3a8ce50b8..c8f033170 100644 --- a/srpt/src/Makefile +++ b/srpt/src/Makefile @@ -1,4 +1,4 @@ -SCST_INC_DIR := /usr/local/include/scst +SCST_INC_DIR := $(SUBDIRS)/../../scst/include/ EXTRA_CFLAGS += -I$(SCST_INC_DIR) #EXTRA_CFLAGS += -DCONFIG_SCST_DEBUG -g