Home | History | Annotate | Download | only in config

Lines Matching refs:configs

57         """Return the appropriate subdirectory in kernel/configs.
59 Returns the directory in kernel/configs corresponding to
63 string: a directory in kernel configs
103 def checkKernelArch(self, configs):
110 configs: dict containing device kernel configuration options
122 if CONFIG_ARM in configs and configs[CONFIG_ARM] == "y":
124 elif CONFIG_ARM64 in configs and configs[CONFIG_ARM64] == "y":
126 elif CONFIG_X86 in configs and configs[CONFIG_X86] == "y":
132 def parseConfigFileToDict(self, file, configs):
137 configs: dict to which config options in file will be added
158 configs[config_name] = config_state
160 return configs
163 """Ensures all kernel configs conform to Android requirements.
176 # Pull configs from the universal config file.
177 configs = dict()
183 configs = self.parseConfigFileToDict(config_file, configs)
185 # Pull configs from device.
195 # Check device architecture and pull arch-specific configs.
206 configs = self.parseConfigFileToDict(config_file, configs)
208 # Determine any deviations from the required configs.
212 for config_name, config_state in configs.iteritems():
239 ("The following kernel configs should be enabled: [%s]\n"
240 "The following kernel configs should not be set: [%s]\n"
241 "THe following kernel configs have incorrect state: [%s]") %