set up core/extra.mk to hold flags and plugin paths
()
| 261 | |
| 262 | |
| 263 | def generate_extra_mk(): |
| 264 | "set up core/extra.mk to hold flags and plugin paths" |
| 265 | with open('core/extra.mk', 'w') as fp: |
| 266 | fp.write('CXXFLAGS += %s\n' % ' '.join(cxx_flags)) |
| 267 | fp.write('LDFLAGS += %s\n' % ' '.join(ld_flags)) |
| 268 | for path in plugins: |
| 269 | fp.write('PLUGINS += {}\n'.format(path)) |
| 270 | |
| 271 | |
| 272 | def download_dpdk(quiet=False): |