mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
Replace yacc call with bison
We are using bison to generate certain files when preparing the libc. However the yacc(1) wrapper script is used instead of calling bison directly which does not work if bison is not installed but the original yacc(1). Fixes #225. Fixes #227.
This commit is contained in:
parent
de162831cb
commit
b6394495d3
@ -10,7 +10,7 @@ PORTS += $(LIBC)
|
||||
#
|
||||
$(call check_tool,svn)
|
||||
$(call check_tool,lex)
|
||||
$(call check_tool,yacc)
|
||||
$(call check_tool,bison)
|
||||
|
||||
#
|
||||
# Subdirectories to check out from FreeBSD's Subversion repository
|
||||
@ -403,7 +403,7 @@ libc_gen_nslexer: $(CONTRIB_DIR)/$(LIBC)/libc/net/nslexer.l
|
||||
> $(CONTRIB_DIR)/$(LIBC)/libc/net/nslexer.c
|
||||
|
||||
libc_gen_nsparser: $(CONTRIB_DIR)/$(LIBC)/libc/net/nsparser.y
|
||||
$(VERBOSE)$(YACC) -d -p_nsyy $< \
|
||||
$(VERBOSE)bison -d -p_nsyy $< \
|
||||
--defines=$(CONTRIB_DIR)/$(LIBC)/libc/net/nsparser.h \
|
||||
--output=$(CONTRIB_DIR)/$(LIBC)/libc/net/nsparser.c
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user