judge if it's CONFIG_PKG_XX_PATH or CONFIG_PKG_XX_VER
(config_str)
| 250 | |
| 251 | |
| 252 | def 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 | |
| 261 | def mk_rtconfig(filename): |