From 00e245b59fa27df0d83c3c1916180c8f97b33726 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 2 May 2006 21:35:55 +0000 Subject: Add some finer grained dependancy checking. Check that make >= 3.80 is installed, check that at least gcc 2.95 is installed. Other dependancy will be added as needed. --- toolchain/binutils/binutils.mk | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index 7658ce0b3..89820fced 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -73,25 +73,7 @@ $(BINUTILS_DIR1)/binutils/objdump: $(BINUTILS_DIR1)/.configured $(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; \ - fi; - @if ! which flex > /dev/null ; then \ - echo -e "\n\nYou must install 'flex' on your build machine\n"; \ - exit 1; \ - fi; - @if ! which msgfmt > /dev/null ; then \ - echo -e "\n\nYou must install 'gettext' on your build machine\n"; \ - exit 1; \ - fi; - -binutils: binutils-dependancies $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld +binutils: dependancies $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld binutils-source: $(DL_DIR)/$(BINUTILS_SOURCE) -- cgit v1.2.3