Skip to content
Snippets Groups Projects
Commit 395d5893 authored by Bob Mottram's avatar Bob Mottram
Browse files

More bmx7 dependencies

parent 77d429f3
No related branches found
No related tags found
No related merge requests found
......@@ -829,7 +829,7 @@ EOF
install_bmx7() {
# shellcheck disable=SC2086
chroot "$rootdir" $INSTALL_PACKAGES libjson-c-dev zlib1g-dev libiw-dev wget cmake pkg-config
chroot "$rootdir" $INSTALL_PACKAGES libjson-c-dev zlib1g-dev libiw-dev wget cmake pkg-config lua5.1 liblua5.1-0-dev dh-autoreconf
git clone "$BMX7_REPO" "$rootdir/etc/bmx7"
......@@ -847,14 +847,31 @@ if ! make; then
fi
make install
cd /etc
git clone https://github.com/json-c/json-c.git
cd json-c
sh ./autogen.sh
./configure
if ! make; then
exit 2
fi
make install
cd /etc
git clone https://git.openwrt.org/project/libubox.git
cd libubox
cmake .
if ! make; then
exit 3
fi
make install
cd /etc
git clone https://git.openwrt.org/project/uci.git
cd uci
git checkout 5d2bf09ec594d97eb9284b8c721dbfe10b81a6f6 -b 5d2bf09ec594d97eb9284b8c721dbfe10b81a6f6
mkdir build
cd build
if ! cmake ..; then
exit 2
if ! cmake .; then
exit 4
fi
make clean all install WOPTS="-pedantic -Wall"
make install
......@@ -862,7 +879,7 @@ make install
cd /etc/bmx7
git checkout $BMX7_COMMIT -b $BMX7_COMMIT
if ! make build_all EXTRA_CFLAGS="-DTRAFFIC_DUMP -DCRYPTLIB=MBEDTLS_${MBEDTLS_VERSION}"; then
exit 3
exit 5
fi
make install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment