From 44f54e2625ebf8aa59febdfdcf5866a6d050eada Mon Sep 17 00:00:00 2001 From: Vu Pham Date: Fri, 11 Jul 2008 16:32:48 +0000 Subject: [PATCH] srpt: converting makefile back to compile in scst tree git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@457 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/Makefile | 3 +-- srpt/src/Makefile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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