configure: docbook2x for future ctng

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-09-28 00:00:00 +00:00
parent d024dae98e
commit e56901c040

55
configure vendored
View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -eu set -eux
all=false all=false
apt_get=true apt_get=true
baremetal=false baremetal=false
@@ -76,31 +76,36 @@ fi
if "$apt_get"; then if "$apt_get"; then
pkgs="\ pkgs="\
automake \ automake \
bc \ bc \
build-essential \ build-essential \
coreutils \ coreutils \
cpio \ cpio \
expect \ expect \
git \ git \
moreutils \ moreutils \
rsync \ rsync \
tmux \ tmux \
unzip \ unzip \
vinagre \ vinagre \
wget \ wget \
" "
if "$gem5"; then if "$gem5"; then
pkgs="$pkgs \ pkgs="${pkgs} \
ccache \ ccache \
gcc-aarch64-linux-gnu \ gcc-aarch64-linux-gnu \
gcc-arm-linux-gnueabi \ gcc-arm-linux-gnueabi \
libgoogle-perftools-dev \ libgoogle-perftools-dev \
protobuf-compiler \ protobuf-compiler \
python-dev \ python-dev \
python-pip \ python-pip \
scons \ scons \
" "
fi
if "$baremetal"; then
pkgs="${pkgs} \
docbook2x \
"
fi fi
command -v apt-get >/dev/null 2>&1 || { command -v apt-get >/dev/null 2>&1 || {
cat <<EOF cat <<EOF