summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-28 07:56:08 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-28 07:56:08 +0000
commit024b4c8e1abee4dd628e0f8b9ea175b16739e5e8 (patch)
tree90ce2b580e4833fcec6a8ba78d78392010f8aa6e /toolchain
parent5a3f689e1f698180a3e984fa0d7b17012de9e89c (diff)
downloadbuildroot-novena-024b4c8e1abee4dd628e0f8b9ea175b16739e5e8.tar.gz
buildroot-novena-024b4c8e1abee4dd628e0f8b9ea175b16739e5e8.zip
jdupre writes in Bug 390: trying to use buildroot failed telling me to install bison ... turns out i was missing which, not bison
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/binutils.mk4
1 files changed, 4 insertions, 0 deletions
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; \