Skip to content

Commit

Permalink
Ensure "scons vrouter" builds uvrouter and utils too (to avoid build …
Browse files Browse the repository at this point in the history
…breaks)

Fixes bug 1374188.

Change-Id: Ic1870a008c60d38d28fce4212c265b7dbab17630
  • Loading branch information
srajag committed Oct 6, 2014
1 parent 9c97927 commit cb097ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ if sys.platform != 'darwin':
make_cmd += ' SANDESH_HEADER_PATH=' + Dir(env['TOP'] + '/vrouter/').abspath
make_cmd += ' SANDESH_SRC_ROOT=' + '../build/kbuild/'
make_cmd += ' SANDESH_EXTRA_HEADER_PATH=' + Dir('#tools/').abspath
if 'vrouter' in COMMAND_LINE_TARGETS:
BUILD_TARGETS.append('vrouter/uvrouter')
BUILD_TARGETS.append('vrouter/utils')

kern = env.Command('vrouter.ko', makefile, make_cmd, chdir=dp_dir)
env.Default(kern)
Expand Down

0 comments on commit cb097ef

Please sign in to comment.