- add handling of lzma for the host (unconditionally for now)

- remove non-working attempt to install an lzma to the host via sudo
This commit is contained in:
Bernhard Reutner-Fischer
2007-08-21 15:33:33 +00:00
parent 1afb8226cb
commit e99518277a
5 changed files with 45 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/sh
ok=""
for bin in /usr/bin/lzma $LZMA
do
# TODO: add check for proper functionality here..
$bin --version > /dev/null 2>&1 && ok="$bin"
if test "x$ok" != "x" ; then
break
fi
done
echo "$ok"

View File

@@ -5,7 +5,7 @@
#
######################################################################
dependencies: host-sed
dependencies: host-sed host-lzma
@HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
HOST_SED_DIR="$(HOST_SED_DIR)" \
$(TOPDIR)/toolchain/dependencies/dependencies.sh