From 4416a528c3ac104f7bfb4e8df81ca8c3d097d2aa Mon Sep 17 00:00:00 2001 From: zhanghongbo Date: Thu, 10 May 2012 17:38:54 +0800 Subject: 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 --- Makefile | 5 +++-- Test.mk | 2 +- 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=%) -- cgit v1.2.3