libc: use flex explicitly for port preparation

This commit is contained in:
Christian Helmuth 2017-03-21 17:34:54 +01:00
parent b35df4578b
commit c60edb5636
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
95577a93137d4fda7e095374eacd5e20c4ea5e18
4a2b060f31752d9adcdc7ecb7e3c425a14cfd072

View File

@ -5,7 +5,7 @@ VERSION := 8.2.0
# Check for tools
#
$(call check_tool,svn)
$(call check_tool,lex)
$(call check_tool,flex)
$(call check_tool,bison)
$(call check_tool,rpcgen)
@ -203,7 +203,7 @@ src/lib/libc/lib/libc/net/nslexer.l : $(DOWNLOADS)
src/lib/libc/lib/libc/net/nslexer.c: src/lib/libc/lib/libc/net/nslexer.l
@$(MSG_GENERATE)$(notdir $@)
$(VERBOSE)$(LEX) -P_nsyy -t $< | sed -e '/YY_BUF_SIZE/s/16384/1024/' > $@
$(VERBOSE)flex -P_nsyy -t $< | sed -e '/YY_BUF_SIZE/s/16384/1024/' > $@
generated_files += src/lib/libc/lib/libc/net/nsparser.c