X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/3ac1acb9ea70080aaaf49ae211835f057e60eefa..237a0a4fd1eacf8f222f4e0a9e011066b80264c4:/obsolete-buildroot/make/binutils-uclibc.mk diff --git a/obsolete-buildroot/make/binutils-uclibc.mk b/obsolete-buildroot/make/binutils-uclibc.mk index ae2e5284b..aec830c61 100644 --- a/obsolete-buildroot/make/binutils-uclibc.mk +++ b/obsolete-buildroot/make/binutils-uclibc.mk @@ -46,15 +46,15 @@ $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld: $(BINUTILS_DIR1)/binutils/objdump $(MAKE) $(JLEVEL) -C $(BINUTILS_DIR1) install binutils-dependancies: - @if [ ! -x /usr/bin/bison ] ; then \ + @if [ -z "`which bison`" ] ; then \ echo -e "\n\nYou must install 'bison' on your build machine\n"; \ exit 1; \ fi; - @if [ ! -x /usr/bin/flex ] ; then \ + @if [ -z "`which flex`" ] ; then \ echo -e "\n\nYou must install 'flex' on your build machine\n"; \ exit 1; \ fi; - @if [ ! -x /usr/bin/msgfmt ] ; then \ + @if [ -z "`which msgfmt`" ] ; then \ echo -e "\n\nYou must install 'gettext' on your build machine\n"; \ exit 1; \ fi;