]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: fix parallel build file with lex/yacc
authorMike Frysinger <vapier@gentoo.org>
Tue, 18 Oct 2011 21:38:08 +0000 (17:38 -0400)
committerStephen Hemminger <shemminger@vyatta.com>
Tue, 18 Oct 2011 22:02:21 +0000 (15:02 -0700)
commitaa48b5931a069b8f8faf41c2efc769f3127b28d6
treee696b501558f8097d082993ab2cc2b85e50ad1a5
parent7397944de6c11519a5951fc1bcff20225e71c4bd
tc: fix parallel build file with lex/yacc

Building iproute2 in parallel might hit the race failure:
emp_ematch.l:2:30: fatal error: emp_ematch.yacc.h:
No such file or directory
make[1]: *** [emp_ematch.lex.o] Error 1

This is because we currently allow the yacc/lex files to generate and
compile in parallel.  So add a simple dependency to make sure yacc has
finished before we attempt to compile the lex output.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
tc/Makefile