Files
openNDS/docs/source/compile.rst
Horodchuk Anton 236f6834fd Fixing text errors (#194)
Just made it a bit readable :)
2017-07-11 22:49:40 +02:00

44 lines
996 B
ReStructuredText

How to compile Nodogsplash
##########################
Linux/Unix
**********
Install libmicrohttpd including the header files (often call -dev package).
.. code::
git clone https://github.com/nodogsplash/nodogsplash.git
cd nodogsplash
make
If you installed the libmicrohttpd to another location (e.g. /tmp/libmicrohttpd_install/)
replace path in the make call with
.. code::
make CFLAGS="-I/tmp/libmicrohttpd_install/include" LDFLAGS="-L/tmp/libmicrohttpd_install/lib"
After compiling you can call ``make install`` to install nodogsplash to /usr/
OpenWrt
*******
To compile nodogsplash please use the package definiton from the feeds package.
.. code::
git clone git://git.openwrt.org/trunk/openwrt.git
cd openwrt
./scripts/feeds update
./scripts/feeds install
./scripts/feeds install nodogsplash
Select the appropiate "Target System" and "Target Profile" in the menuconfig menu and build the image.
.. code::
make defconfig
make menuconfig
make