diff options
author | Le Chi Thu <thu2004@yahoo.se> | 2012-05-30 17:29:34 +0800 |
---|---|---|
committer | Le Chi Thu <thu2004@yahoo.se> | 2012-05-30 17:29:34 +0800 |
commit | 4954af7f582067d0d101c287f0532511c796bd9b (patch) | |
tree | 53454fd01bfd21b4d9f0e43716ba97b827990ff0 | |
parent | e85f43e8c2f164789bb1c0fcae384e4d40a3a0a2 (diff) |
-rw-r--r-- | kernel/testcases/l3g4200d/Makefile | 8 | ||||
-rw-r--r-- | kernel/testcases/lps001wp_prs/Makefile | 8 | ||||
-rw-r--r-- | kernel/testcases/lsm303dlh/Makefile | 8 | ||||
-rw-r--r-- | kernel/testcases/proximity/Makefile | 8 |
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)) |