mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
use which to locate apps (useful for non-Linux systems like OS X)
This commit is contained in:
parent
c71b9520a6
commit
f336cfc9db
@ -58,15 +58,15 @@ $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld: $(BINUTILS_DIR1)/binutils/objdump
|
|||||||
$(MAKE) -C $(BINUTILS_DIR1) install
|
$(MAKE) -C $(BINUTILS_DIR1) install
|
||||||
|
|
||||||
binutils-dependancies:
|
binutils-dependancies:
|
||||||
@if [ ! -x /usr/bin/bison ] ; then \
|
@if ! which bison ; then \
|
||||||
echo -e "\n\nYou must install 'bison' on your build machine\n"; \
|
echo -e "\n\nYou must install 'bison' on your build machine\n"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi;
|
fi;
|
||||||
@if [ ! -x /usr/bin/flex ] ; then \
|
@if ! which flex ; then \
|
||||||
echo -e "\n\nYou must install 'flex' on your build machine\n"; \
|
echo -e "\n\nYou must install 'flex' on your build machine\n"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi;
|
fi;
|
||||||
@if [ ! -x /usr/bin/msgfmt ] ; then \
|
@if ! which msgfmt ; then \
|
||||||
echo -e "\n\nYou must install 'gettext' on your build machine\n"; \
|
echo -e "\n\nYou must install 'gettext' on your build machine\n"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi;
|
fi;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user