mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 21:53:12 +00:00
2f0307a08d
Updated gateway operation to support mesh potato again.
7 lines
341 B
Bash
Executable File
7 lines
341 B
Bash
Executable File
#!/bin/sh
|
|
|
|
toolchain=$HOME/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2
|
|
|
|
$toolchain/bin/mips-linux-gcc -DHAVE_SYS_MMAN_H -DHAVE_STDINT_H -DHAVE_SYS_STAT_H -DHAVE_POLL_H -DHAVE_ARPA_INET_H -DHAVE_BZERO -o dna.meshpotato `ls -1 *.c | egrep -v "asterisk_app.c|serval.c"`
|
|
$toolchain/bin/mips-linux-strip dna.meshpotato
|