Commit Graph

10 Commits

Author SHA1 Message Date
Matteo Cypriani 9d18c1b598 Makefile: adapt targets to the OS
The Listener is built only on Linux, the Positioner is not built on
OpenBSD. Some other changes might be required.

In common.mk, the OS is forced to Linux if we build for OpenWrt, which
should allow to cross-compile from BSD systems.
2013-05-01 11:13:49 -04:00
Matteo Cypriani 64c2ac9a58 Makefiles: move OS detection in common.mk
This fixes compilation on BSD.
2013-04-30 16:50:14 -04:00
Matteo Cypriani f9fffd4a9e Improve compilation process for OpenWrt
- common.mk has been tweaked so that the OpenWrt compilation process is
  more flexible: one can now choose an OPENWRT_TARGET and the
  OPENWRT_ROOT instead of just the OPENWRT_VERSION.
- The OPENWRT_VERSION's default value trunk" has been removed.
- Makefile_atheros_openwrt has been deleted, since with recent OpenWrt
  versions (12.09) everything should compile just fine, and we are not
  specific to the atheros target any more.
- INSTALL.t2t has been updated to reflect these changes, and a new
  section was added to explain how to compile your own toolchain.
2013-04-24 13:51:58 -04:00
Matteo Cypriani 317c9918b7 common.mk: fix OpenWrt SDK commands 2012-11-06 01:22:17 +01:00
Matteo Cypriani d21dcc7b9a common.mk: protect $HOME 2012-06-28 14:58:57 +02:00
Matteo Cypriani 573b62f3ba common.mk: -O2 only (instead of -O2 -O) 2012-06-01 17:17:58 +02:00
Matteo Cypriani 316db76861 Makefiles: add common-rules.mk, drop openwrt files
This is the sequel of the work on the Makefiles' unification.
2012-05-24 14:19:04 +02:00
Matteo Cypriani 24a07f9e01 Use clang as the default C compiler
Clang compiles faster than GCC and is supposed to give more meaningful
error messages, so let's use it at least for development.

OwlPS Positioner does not compile with clang++, so we are stuck with g++
(or colorgcc).
2012-05-23 18:44:42 +02:00
Matteo Cypriani 9ec71b800e [lib*] Merge Makefile and Makefile_atheros_openwrt
In libowlps and libowlps-client (libowlps-resultreader does not have an
Atheros Makefile).
2012-05-09 17:38:37 +02:00
Matteo Cypriani 92485f3f67 Add common.mk
Adapt all the Makefiles to use it.
Rename all the Makefile_atheros_openwrt-10.03 to
Makefile_atheros_openwrt.
2012-05-09 15:55:17 +02:00