forked from sysml/minicache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.mk
77 lines (68 loc) · 2.3 KB
/
Config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
######################################
## General
######################################
CONFIG_MINICACHE_HIDE_BANNER ?= n
CONFIG_MINICACHE_AUTOMOUNT ?= y
CONFIG_MINICACHE_MINDER_PRINT ?= n
CONFIG_MINICACHE_TRACE_BOOTTIME ?= y
######################################
## µSh
######################################
CONFIG_SHELL ?= y
CONFIG_SHELL_COLORPROMPT ?= y
######################################
## SHFS
######################################
CONFIG_SHFS_OPENBYNAME ?= y
CONFIG_SHFS_CACHEINFO ?= y
# Enable statistic capabilities of SHFS
# If this option is disabled, STATS_HTTP is disabled as well
CONFIG_SHFS_STATS ?= y
# Advanced statistics from HTTP
# This enables counting the number of successful downloads
# (including range requests) and download progress
# counters (see: DPCR)
CONFIG_SHFS_STATS_HTTP ?= y
# Download progress counters resolution (DPCR)
# e.g., DPCR=6 means 6 counter values:
# VAL1: HTTP request counts that downloaded >= 0% of file
# VAL2: HTTP request counts that downloaded >= 20% of file
# VAL3: HTTP request counts that downloaded >= 40% of file
# VAL4: HTTP request counts that downloaded >= 60% of file
# VAL5: HTTP request counts that downloaded >= 80% of file
# VAL6: HTTP request counts that downloaded = 100% of file
#
# Note: DPCR has to be at least 2 for a 0% and 100% counter
# otherwise this feature is disabled
CONFIG_SHFS_STATS_HTTP_DPCR ?= 6
######################################
## HTTP
######################################
# Enable http-info cmd in shell
CONFIG_HTTP_INFO ?= y
# Consider
CONFIG_HTTP_URL_CUTARGS ?= y
# Provide a performance test file on hash digest 0x0
CONFIG_HTTP_TESTFILE ?= n
######################################
## ctldir (only available on Mini-OS)
######################################
CONFIG_CTLDIR ?= y
CONFIG_CTLDIR_NOCHMOD ?= y
######################################
## Misc
######################################
CONFIG_TESTSUITE ?= n
######################################
## Debugging options
######################################
CONFIG_HTABLE_DEBUG ?= n
CONFIG_MEMPOOL_DEBUG ?= n
CONFIG_SHFS_DEBUG ?= n
CONFIG_SHFS_CACHE_DEBUG ?= n
CONFIG_SHFS_CACHE_DISABLE ?= n
CONFIG_SHFS_CACHE_STATS ?= y
CONFIG_HTTP_DEBUG ?= n
CONFIG_HTTP_DEBUG_SESSIONSTATES ?= n
CONFIG_HTTP_DEBUG_PRINTACCESS ?= n
CONFIG_CTLDIR_DEBUG ?= n