returns contents of rte_build_config.h
(builddir, condition)
| 55 | |
| 56 | |
| 57 | def get_build_config(builddir, condition): |
| 58 | "returns contents of rte_build_config.h" |
| 59 | with open(join(builddir, 'rte_build_config.h')) as f: |
| 60 | return [ln for ln in f.readlines() if condition(ln)] |
| 61 | |
| 62 | |
| 63 | def uses_libbsd(builddir): |