MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / is_pkg_special_config

Function is_pkg_special_config

tools/env_utility.py:252–258  ·  view source on GitHub ↗

judge if it's CONFIG_PKG_XX_PATH or CONFIG_PKG_XX_VER

(config_str)

Source from the content-addressed store, hash-verified

250
251
252def is_pkg_special_config(config_str):
253 '''judge if it's CONFIG_PKG_XX_PATH or CONFIG_PKG_XX_VER'''
254
255 if type(config_str) == type('a'):
256 if config_str.startswith("PKG_") and (config_str.endswith('_PATH') or config_str.endswith('_VER')):
257 return True
258 return False
259
260
261def mk_rtconfig(filename):

Callers 1

mk_rtconfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected