From: klueska Date: Wed, 4 Feb 2009 03:10:12 +0000 (+0000) Subject: Small modification to tosthreads extra files X-Git-Tag: rc_6_tinyos_2_1_1~510 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=26b1336ffbd00053e73b7abc9c5f4a6107b95db7 Small modification to tosthreads extra files --- diff --git a/support/make/cthreads.extra b/support/make/cthreads.extra index cb50e5f7..e8b978ac 100644 --- a/support/make/cthreads.extra +++ b/support/make/cthreads.extra @@ -3,6 +3,7 @@ #Get all the normal include directories for a threads build $(call TOSMake_include,threads.extra) +PFLAGS += -DCTHREADS #Include directories required specifically for cthreads builds THREADS_CSYSTEM_DIR = $(TOS_THREADS_DIR)/csystem diff --git a/support/make/dynthreads.extra b/support/make/dynthreads.extra index 2950cc26..02e3ee84 100644 --- a/support/make/dynthreads.extra +++ b/support/make/dynthreads.extra @@ -6,6 +6,7 @@ BUILD_DEPS = dynthreads_all #Get all the normal include directories for a cthreads build $(call TOSMake_include,cthreads.extra) +PFLAGS += -DDYNTHREADS #Stuff to build dynamically loadable binary DYNLOAD_CFILE = $(TOSTHREAD_MAIN_PATH)