You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/toolchain
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
10 years ago
..
binutils binutils: run install twice instead of overwriting the final toolchain with the initial one 10 years ago
eglibc eglibc: enforce use of autoconf-2.69 10 years ago
gcc gcc: don't clobber stamp-bits with a symlink to itself 10 years ago
gdb build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS to package-defaults.mk 10 years ago
insight build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS to package-defaults.mk 10 years ago
kernel-headers toolchain-headers: also copy asm-eva.h for mips(el) for 3.15+ 10 years ago
llvm gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close) 15 years ago
musl musl: update to version 1.1.6 10 years ago
uClibc Support for building an hardened OpenWRT 10 years ago
wrapper buildroot: allow specifying libc personality for external toolchains 11 years ago
Config.in aarch64: add initial support 10 years ago
Makefile build: ensure tools are built before building the toolchain 10 years ago
info.mk uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) 15 years ago