summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/testcases/l3g4200d/Makefile8
-rw-r--r--kernel/testcases/lps001wp_prs/Makefile8
-rw-r--r--kernel/testcases/lsm303dlh/Makefile8
-rw-r--r--kernel/testcases/proximity/Makefile8
4 files changed, 20 insertions, 12 deletions
diff --git a/kernel/testcases/l3g4200d/Makefile b/kernel/testcases/l3g4200d/Makefile
index 6e128bc..244c1fc 100644
--- a/kernel/testcases/l3g4200d/Makefile
+++ b/kernel/testcases/l3g4200d/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))
diff --git a/kernel/testcases/lps001wp_prs/Makefile b/kernel/testcases/lps001wp_prs/Makefile
index 6e128bc..244c1fc 100644
--- a/kernel/testcases/lps001wp_prs/Makefile
+++ b/kernel/testcases/lps001wp_prs/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))
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))
diff --git a/kernel/testcases/proximity/Makefile b/kernel/testcases/proximity/Makefile
index 6e128bc..244c1fc 100644
--- a/kernel/testcases/proximity/Makefile
+++ b/kernel/testcases/proximity/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))