Ver Fonte

Merge pull request #10 from misonyo/master

[change]add producer consumer macro
yqiu há 7 anos atrás
pai
commit
606562df40
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      SConscript

+ 3 - 0
SConscript

@@ -50,6 +50,9 @@ if GetDepend('KERNEL_SAMPLES_USING_TIME_SLICE'):
 if GetDepend('KERNEL_SAMPLES_USING_SCHEDULER_HOOK'):
 if GetDepend('KERNEL_SAMPLES_USING_SCHEDULER_HOOK'):
     src += ['scheduler_hook.c']
     src += ['scheduler_hook.c']
 
 
+if GetDepend('KERNEL_SAMPLES_USING_PRODUCER_CONSUMER'):
+    src += ['producer_consumer.c']
+
 group = DefineGroup('kernel-samples', src, depend = ['PKG_USING_KERNEL_SAMPLES'], CPPPATH = include_path)
 group = DefineGroup('kernel-samples', src, depend = ['PKG_USING_KERNEL_SAMPLES'], CPPPATH = include_path)
 
 
 Return('group')
 Return('group')