summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorMike Frysinger2005-08-28 09:56:08 +0200
committerMike Frysinger2005-08-28 09:56:08 +0200
commit024b4c8e1abee4dd628e0f8b9ea175b16739e5e8 (patch)
tree90ce2b580e4833fcec6a8ba78d78392010f8aa6e /toolchain
parentmarcusbrutus writes in Bug 393: version 3.0.2 no longer exists, upstream has ... (diff)
downloadbuildroot-024b4c8e1abee4dd628e0f8b9ea175b16739e5e8.tar.gz
buildroot-024b4c8e1abee4dd628e0f8b9ea175b16739e5e8.tar.xz
buildroot-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; \