mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
- 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:
13
toolchain/dependencies/check-host-lzma.sh
Executable file
13
toolchain/dependencies/check-host-lzma.sh
Executable 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"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user