From: arighi Date: Wed, 17 Mar 2010 11:53:10 +0000 (+0000) Subject: test: preempt.c and coop.c should be never explicitly included. X-Git-Tag: 2.4.0~42 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=inline;h=24eabd04c475344982213f43dd2f9cabec05d3ea;p=bertos.git test: preempt.c and coop.c should be never explicitly included. The inclusion of preempt.c and coop.c depends on the CONFIG_KERN_PREEMPT option, so they should never been directly included in Makefile. Instead we must always use mtask.c. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3222 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/test/get_source_list.sh b/test/get_source_list.sh index c17fe74a..93c2defd 100755 --- a/test/get_source_list.sh +++ b/test/get_source_list.sh @@ -51,7 +51,7 @@ if [ $# \< 2 ] ; then fi CPU_TARGET=$1 EXCLUDE_DIRS="$COPY_DIR $CPU_DIR $APP_DIR $OS_DIR $WIZARD_DIR $EMUL_DIR $FAT_DIR $NMEA_DIR" -EXCLUDE_CMD="\.svn -prune " +EXCLUDE_CMD="\.svn -or -name preempt.c -or -name coop.c -prune " for i in $EXCLUDE_DIRS; do EXCLUDE_CMD="$EXCLUDE_CMD -o -path $i -prune "; done