Ver código fonte

dont output which

Mike Frysinger 20 anos atrás
pai
commit
74afafce2b
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      toolchain/binutils/binutils.mk

+ 3 - 3
toolchain/binutils/binutils.mk

@@ -58,15 +58,15 @@ $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld: $(BINUTILS_DIR1)/binutils/objdump
 	$(MAKE) -C $(BINUTILS_DIR1) install
 
 binutils-dependancies:
-	@if ! which bison ; then \
+	@if ! which bison > /dev/null ; then \
 		echo -e "\n\nYou must install 'bison' on your build machine\n"; \
 		exit 1; \
 	fi;
-	@if ! which flex ; then \
+	@if ! which flex > /dev/null ; then \
 		echo -e "\n\nYou must install 'flex' on your build machine\n"; \
 		exit 1; \
 	fi;
-	@if ! which msgfmt ; then \
+	@if ! which msgfmt > /dev/null ; then \
 		echo -e "\n\nYou must install 'gettext' on your build machine\n"; \
 		exit 1; \
 	fi;