MCPcopy Create free account
hub / github.com/NetSys/bess / generate_extra_mk

Function generate_extra_mk

build.py:263–269  ·  view source on GitHub ↗

set up core/extra.mk to hold flags and plugin paths

()

Source from the content-addressed store, hash-verified

261
262
263def 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
272def download_dpdk(quiet=False):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected