135 Commits (3491d8c01799eedc6bb00405d306b206242abe40)

Author SHA1 Message Date
John Crispin cc5b3e683e Use build suffix on build_dir paths 13 years ago
Felix Fietkau 236dd9d9a2 kernel: keep more symbols in the kernel modules when doing profiling 13 years ago
Felix Fietkau edc3ad9100 build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via lazy evaluation. this allows adding c++ specific cflags 13 years ago
Felix Fietkau a8ec8ce1ac kernel: do not rename module symbols with kallsyms enabled 13 years ago
Felix Fietkau c2590fe930 strip kernel modules more aggressively: make all global symbols local, rename all symbols in the symbol table to make them compress better 13 years ago
Felix Fietkau 27bb12af0f build: add -Wno-error=unused-but-set-variable to cflags for gcc 4.6 and newer to avoid stupid -Werror related package breakage 13 years ago
Jo-Philipp Wich 1504738c02 rules.mk: filter "." and "./" entries from $PATH, prevents toolchain build issues and likely other problems 13 years ago
Jo-Philipp Wich 5b7668ca44 use ext-toolchain.sh to integrate external toolchains Use ext-toolchain.sh to wrap external toolchain commands, abort build if certain features such as CONFIG_SOFT_FLOAT or CONFIG_IPV6 are enabled but not supported by the toolchain. 13 years ago
John Crispin ccb6b0a063 tools: clean up Makefiles / make ccache work 13 years ago
Jo-Philipp Wich cbe164a295 rules.mk: provide a LIBGCC_A variable 13 years ago
Felix Fietkau 5820306407 only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains 14 years ago
John Crispin 4551f2bfcc add menuconfig option to enable log files during build process 14 years ago
Jo-Philipp Wich a66b496001 rules.mk: properly populate $(LIBGCC_S) for external toolchains 14 years ago
Felix Fietkau 21ff098352 set TOOLCHAIN_DIR var when using external toolchain 14 years ago
Felix Fietkau 6c7170b923 Revert "kernel: remove all local symbols from kernel modules at link time to reduce their size" Use -x when stripping kernel modules instead 14 years ago
Felix Fietkau 596d89b331 strip .gnu.attributes and .reginfo from kernel modules 14 years ago
Felix Fietkau 791641db07 strip .note.gnu.build-id from kernel modules 14 years ago
Felix Fietkau 73c1dd9473 build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup 14 years ago
Imre Kaloz b74308c433 only support EABI on ARM targets 14 years ago
Jo-Philipp Wich 260652bf8f add an abstract $(LIBRPC_DEPENDS) variable for feed packages to rely on 14 years ago
Imre Kaloz a3989e3dbd We use different toolchain directories for different ARM archs, so we should set the default arch of gcc to reflect this. 14 years ago
Felix Fietkau 85c44cafab add a variable LIBRPC to refer to the external librpc if used 14 years ago
Jo-Philipp Wich 3052dfbb85 remove support for disabling large file support, it is broken, breaks compatibility to anything and has no effect on most packages 14 years ago
Felix Fietkau 8740549c57 mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale powerpc cpus The SPE FPU is ABI-incompatible with the regular powerpc FPU, this needs to be reflected in the toolchain target name. Fixes floating point crashes in user space 14 years ago
Jo-Philipp Wich dbf8d9c516 - implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk 14 years ago
Felix Fietkau 97b3d9688c remove an obsolete comment for the flock template 14 years ago
Felix Fietkau b34a0b3282 fix usage of flock - use the command mode instead of locking a file descriptor to fix build issues on mac os x 14 years ago
Michael Büsch e396e33ad2 Add macro for locking of recipe commands. 14 years ago
Michael Büsch a46c332411 Add HOST_FPIC. It currently always is -fPIC, because that should work on all platforms, even if it may generate slightly inefficient code on some arches. 14 years ago
Jo-Philipp Wich 10f5101af3 Add two debug rules the examine the values of runtime make variables. Based on patch by Philip Prindeville <philipp@redfish-solutions.com> 14 years ago
Jo-Philipp Wich d3f412f4ec rename PATCH to KPATCH 14 years ago
Jo-Philipp Wich 19421b6732 drop the usr/ prefix when scanning for libgcc.a 14 years ago
Jo-Philipp Wich 064e7c8f00 Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis. This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace the target specific exceptions in package-defaults and Image Builder. 14 years ago
Florian Fainelli 3992d44428 ccache TARGET_CXX 14 years ago
Felix Fietkau b3c871375b fix compile errors by forcing bash to be used as a shell in all submake processes 14 years ago
Felix Fietkau 62c1740676 toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK 14 years ago
Felix Fietkau a9136c0892 speed up the build system by including include/shell.sh on shell commands only where necessary 14 years ago
Florian Fainelli 7fc192e9a5 fix for GREP_OPTIONS 14 years ago
Nicolas Thill 18035964c7 fix path to libgcc.a in LIBGCC_S 15 years ago
Felix Fietkau dd046f4759 use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to override TARGET_CC and TARGET_CXX 15 years ago
Felix Fietkau 80d6e3b245 add an arch suffix for handling different variants of arm/mips for the toolchain/target directories 15 years ago
Travis Kemen 137c26b7cb there are quite a lot of package using ln -sf in their Makefile, so this patch adds 15 years ago
Nicolas Thill 9899fbb148 use distinct build/staging dirs for EABI/OABI builds 15 years ago
Nicolas Thill c0f8b43b17 use a DIR_SUFFIX variable to hold libc/version and use it in build/staging dir names 15 years ago
Felix Fietkau 15fecc9e6c remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added 15 years ago
Lars-Peter Clausen 001736d848 Add include_mk template which makes it a bit more convienient to include package installed mk files. 15 years ago
Nicolas Thill 0f3c406bdb add a config item to specify arguments to strip 15 years ago
Felix Fietkau 6c57203836 oops, forgot one small change in the last commit 15 years ago
Felix Fietkau b647c168de remove the redundant subdirectory from the packages directory variable 15 years ago
Florian Fainelli ee8018ef11 output firmware files in bin/$(BOARD) instead of bin/ 15 years ago