14
packages/rt_vsnprintf_full-latest/SConscript
Normal file
14
packages/rt_vsnprintf_full-latest/SConscript
Normal file
@@ -0,0 +1,14 @@
|
||||
from building import *
|
||||
|
||||
src = ['rt_vsnprintf.c']
|
||||
CPPDEFINES = []
|
||||
|
||||
if GetDepend('RT_VSNPRINTF_FULL_REPLACING_SPRINTF'):
|
||||
CPPDEFINES += ['sprintf=rt_sprintf']
|
||||
if GetDepend('RT_VSNPRINTF_FULL_REPLACING_SNPRINTF'):
|
||||
CPPDEFINES += ['snprintf=rt_snprintf']
|
||||
if GetDepend('RT_VSNPRINTF_FULL_REPLACING_PRINTF'):
|
||||
CPPDEFINES += ['printf=rt_kprintf']
|
||||
|
||||
group = DefineGroup('rt_kprintf', src, depend = ['PKG_USING_RT_VSNPRINTF_FULL'], CPPDEFINES = CPPDEFINES)
|
||||
Return('group')
|
Reference in New Issue
Block a user