summaryrefslogtreecommitdiff
path: root/kernel/testcases/lsm303dlh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/testcases/lsm303dlh/Makefile')
-rw-r--r--kernel/testcases/lsm303dlh/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/testcases/lsm303dlh/Makefile b/kernel/testcases/lsm303dlh/Makefile
index 6e128bc..244c1fc 100644
--- a/kernel/testcases/lsm303dlh/Makefile
+++ b/kernel/testcases/lsm303dlh/Makefile
@@ -1,9 +1,11 @@
ifeq ($(KERNELRELEASE),)
LTP_DIR = $(abspath ../../../)
-LTP_FULL = $(LTP_DIR)/tempdir/ltp-full
+LTP_FRAMEWORK = $(LTP_DIR)/ltp_framework
-CFLAGS+= -I$(LTP_FULL)/include -I./include
-LOADLIBES+= -L$(LTP_FULL)/lib -lltp
+SCRIPTS=$(wildcard *.sh)
+
+CFLAGS+= -I$(LTP_FRAMEWORK)/include -I$(abspath ./include)
+LOADLIBES+= -L$(LTP_FRAMEWORK)/lib -lltp
SRCS=$(wildcard *.c)
TARGETS=$(patsubst %.c,%,$(SRCS))