Patch from "Kevin P. Fleming" <kpfleming@backtobasicsmgmt.com>.

Provides a script for yacc in terms of bison instead of a symlink.
This commit is contained in:
Manuel Novoa III 2004-03-11 08:03:44 +00:00
parent 7f9a4aa5fc
commit 5875ffa3fe
2 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@ $(TARGET_DIR)/$(BISON_TARGET_BINARY): $(BISON_DIR)/$(BISON_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BISON_DIR) install $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BISON_DIR) install
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
(cd $(TARGET_DIR)/usr/bin; ln -fs bison yacc) cp -a $(SOURCE_DIR)/yacc $(TARGET_DIR)/usr/bin/yacc
bison: uclibc $(TARGET_DIR)/$(BISON_TARGET_BINARY) bison: uclibc $(TARGET_DIR)/$(BISON_TARGET_BINARY)

2
sources/yacc Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/bison -y "$@"