openwrt/toolchain/uClibc
John Crispin 491f3fc048 Support for building an hardened OpenWRT
Introduce configuration options to build an "hardened" OpenWRT.

Options to enable Stack-Smashing Protection, FORTIFY_SOURCE and RELRO
have been introduced.

uClibc makefile now automatically detects if SSP support is necessary.

hostapd makefile has been fixed to use "^" as sed separator since
using a comma was problematic when using "-Wl,-z,now" and the like in
TARGET_CFLAGS.

Currently enabling SSP on user space depends on enabling SSP kernel
side, this is due to the fact that TARGET_CFLAGS are used to build
kernel modules (at least). Suggestions on how to avoid this are welcome.
Using "select" instead of "depends on" doesn't seem to work with choice
entries.

Tested with a lantiq (WBMR) router, GCC 4.8, uClibc and a subset of
the available packages.
Needs to be tested with GCC 4.9 and the remaining packages.
PIE not currently included.

Signed-off-by: Alessandro Di Federico <ale+owrt@clearmind.me>

SVN-Revision: 44005
2015-01-17 14:31:30 +00:00
..
config-0.9.33.2 toolchain: uClibc: fix build with CONFIG_BUILD_NLS selected 2014-11-30 22:22:14 +00:00
headers uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support 2012-06-30 21:44:05 +00:00
patches-0.9.33.2 uClibc: fix ptrace header files for powerpc 2014-12-11 14:38:50 +00:00
utils build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek) 2012-11-08 15:08:31 +00:00
common.mk Support for building an hardened OpenWRT 2015-01-17 14:31:30 +00:00
Config.in toolchain: get rid of uclibc version kconfig symbol overloading 2013-04-18 12:04:48 +00:00
Config.version toolchain: get rid of uclibc version kconfig symbol overloading 2013-04-18 12:04:48 +00:00
Makefile build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek) 2012-11-08 15:08:31 +00:00