summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/common.mk
Commit message (Collapse)AuthorAgeFilesLines
* Support for building an hardened OpenWRTJohn Crispin2015-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* toolchain: uClibc: fix build with CONFIG_BUILD_NLS selectedFelix Fietkau2014-11-301-0/+1
| | | | | | | | | | | | | | | | | Without this patch, selecting "Compile with full language support" results in the following question during build: ... Locale Support (UCLIBC_HAS_LOCALE) [Y/n/?] y Locale data > 1. All locales (UCLIBC_BUILD_ALL_LOCALE) (NEW) 2. Only selected locales (UCLIBC_BUILD_MINIMAL_LOCALE) (NEW) 3. Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) (NEW) choice[1-3]: Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43445
* build: decouple the mips16 support flag from the toolchainFelix Fietkau2013-08-141-2/+0
| | | | | | | | | Add the flags from package.mk instead, and leave libc and gcc unaffected. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37770
* uClibc: build with debug symbols by default (without changing other compile ↵Felix Fietkau2013-07-241-1/+1
| | | | | | | | related flags) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37525
* toolchain/uClibc: handle different MIPS64 ABIsFlorian Fainelli2013-04-051-1/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36207
* toolchain/uClibc: Disable mips16 for uClibc for nowFlorian Fainelli2013-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | For now, build uclibc without -mips16. There's no mips16 syscall support AFAIK and uclibc uses inline assembly syscalls a lot. In addition, touching errno means touching a TLS model symbol, and that's not supported in gcc 4.6. The __set_errno macro can be put back to calling errno_location(). This allows much of the library to be built in mips16 mode. I don't understand the implications to the thread library of doing this. A list of "build as -mno-mips16" C source files can be placed in the mips architecture-dependent build files. Maintaining the list would be no fun. Signed-off-by: Jay Carlson <nop@nop.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36199
* toolchain: enable parallel build for uClibc, remove the obsolete ↵Felix Fietkau2012-10-171-1/+1
| | | | | | TOOLCHAIN_PARALLEL config symbol SVN-Revision: 33807
* uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning ↵Felix Fietkau2012-06-301-0/+1
| | | | | | logspam SVN-Revision: 32558
* uClibc: split the package into the main directory and the headers/ and ↵Felix Fietkau2012-06-301-0/+94
utils/ subdirectories to clean up build order and fix quilt support SVN-Revision: 32557