diff options
| -rw-r--r-- | toolchain/binutils/binutils.mk | 4 | 
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; \  | 
