mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
update elmfat: add RT_DFS_ELM_CODE_PAGE define.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2285 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -152,7 +152,19 @@ if GetDepend('RT_USING_DFS_YAFFS2'):
|
||||
|
||||
if GetDepend('RT_USING_DFS_ELMFAT'):
|
||||
if GetDepend('RT_DFS_ELM_USE_LFN'):
|
||||
elmfat += ['filesystems/elmfat/option/cc936.c']
|
||||
if GetDepend('RT_DFS_ELM_CODE_PAGE_FILE'):
|
||||
elmfat += ['filesystems/elmfat/option/ccfile.c']
|
||||
else:
|
||||
if GetConfigValue('RT_DFS_ELM_CODE_PAGE') == 932:
|
||||
elmfat += ['filesystems/elmfat/option/cc932.c']
|
||||
elif GetConfigValue('RT_DFS_ELM_CODE_PAGE') == 936:
|
||||
elmfat += ['filesystems/elmfat/option/cc936.c']
|
||||
elif GetConfigValue('RT_DFS_ELM_CODE_PAGE') == 949:
|
||||
elmfat += ['filesystems/elmfat/option/cc949.c']
|
||||
elif GetConfigValue('RT_DFS_ELM_CODE_PAGE') == 950:
|
||||
elmfat += ['filesystems/elmfat/option/cc950.c']
|
||||
else:
|
||||
elmfat += ['filesystems/elmfat/option/ccsbcs.c']
|
||||
src_local = src_local + elmfat
|
||||
|
||||
if GetDepend(['RT_USING_DFS_NFS', 'RT_USING_LWIP']):
|
||||
|
||||
Reference in New Issue
Block a user