aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhanghongbo <hongbo.zhang@stericsson.com>2012-05-10 17:38:54 +0800
committerhongbo.zhang <hongbo.zhang@linaro.com>2012-11-28 17:06:43 +0800
commit4416a528c3ac104f7bfb4e8df81ca8c3d097d2aa (patch)
treeee6a3103e5f2d631eda342113b2da9cb7bf5bca4
parent23b5694a35382d54bf0f925576b57f5560d4d62a (diff)
Add -pthread option for thermal test compiling.
Temporarily disabled thermal and suspend test from the top 'make check', but they can still be executed manually by 'make -C suspend check' and 'make -C thermal check'. Signed-off-by: hongbo.zhang <hongbo.zhang@linaro.com>
-rw-r--r--Makefile5
-rw-r--r--Test.mk2
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0b0153b..a09309e 100644
--- a/Makefile
+++ b/Makefile
@@ -32,14 +32,15 @@ check:
@(cd cpuhotplug; $(MAKE) check)
@(cd cpuidle; $(MAKE) check)
@(cd sched_mc; $(MAKE) check)
- @(cd suspend; $(MAKE) check)
- @(cd thermal; $(MAKE) check)
+# @(cd suspend; $(MAKE) check)
+# @(cd thermal; $(MAKE) check)
uncheck:
@(cd cpufreq; $(MAKE) uncheck)
@(cd cpuhotplug; $(MAKE) uncheck)
@(cd cpuidle; $(MAKE) uncheck)
@(cd sched_mc; $(MAKE) uncheck)
+ @(cd suspend; $(MAKE) uncheck)
@(cd thermal; $(MAKE) uncheck)
recheck: uncheck check
diff --git a/Test.mk b/Test.mk
index a48a18c..1d69d7a 100644
--- a/Test.mk
+++ b/Test.mk
@@ -24,7 +24,7 @@
TST=$(wildcard *.sh)
LOG=$(TST:.sh=.log)
-CFLAGS?=-g -Wall
+CFLAGS?=-g -Wall -pthread
CC?=gcc
SRC=$(wildcard *.c)
EXEC=$(SRC:%.c=%)