From 024b4c8e1abee4dd628e0f8b9ea175b16739e5e8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 28 Aug 2005 07:56:08 +0000 Subject: jdupre writes in Bug 390: trying to use buildroot failed telling me to install bison ... turns out i was missing which, not bison --- toolchain/binutils/binutils.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolchain') diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index be8fa0d34..284a1f722 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -68,6 +68,10 @@ $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld: $(BINUTILS_DIR1)/binutils/objdump $(MAKE) -C $(BINUTILS_DIR1) install binutils-dependancies: + @if ! which which > /dev/null ; then \ + echo -e "\n\nYou must install 'which' on your build machine\n"; \ + exit 1; \ + fi; @if ! which bison > /dev/null ; then \ echo -e "\n\nYou must install 'bison' on your build machine\n"; \ exit 1; \ -- cgit v1.2.3