summaryrefslogtreecommitdiff
path: root/rules.mk
Commit message (Collapse)AuthorAgeFilesLines
* fix up scons vs ccacheJohn Crispin2012-07-281-6/+7
| | | | SVN-Revision: 32902
* add and export HOSTCC_NOCACHEJohn Crispin2012-06-201-0/+2
| | | | SVN-Revision: 32466
* make librpc compatible with eglibc, unconditionally enable it for packages ↵Felix Fietkau2012-06-081-3/+1
| | | | | | that need rpc support SVN-Revision: 32129
* add ccache wrapperJohn Crispin2012-06-061-2/+6
| | | | SVN-Revision: 32075
* Use build suffix on build_dir pathsJohn Crispin2012-04-101-2/+2
| | | | | | | | Adds BUILD_SUFFIX to STAGING_DIR Signed-off-by: Tathagata Das <tathagata@alumnux.com> SVN-Revision: 31233
* kernel: keep more symbols in the kernel modules when doing profilingFelix Fietkau2012-03-011-1/+3
| | | | SVN-Revision: 30762
* build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via ↵Felix Fietkau2012-03-011-0/+1
| | | | | | lazy evaluation. this allows adding c++ specific cflags SVN-Revision: 30760
* kernel: do not rename module symbols with kallsyms enabledFelix Fietkau2012-03-011-1/+1
| | | | SVN-Revision: 30759
* strip kernel modules more aggressively: make all global symbols local, ↵Felix Fietkau2012-02-201-1/+2
| | | | | | rename all symbols in the symbol table to make them compress better SVN-Revision: 30662
* build: add -Wno-error=unused-but-set-variable to cflags for gcc 4.6 and ↵Felix Fietkau2012-02-151-1/+1
| | | | | | newer to avoid stupid -Werror related package breakage SVN-Revision: 30556
* rules.mk: filter "." and "./" entries from $PATH, prevents toolchain build ↵Jo-Philipp Wich2012-01-291-1/+1
| | | | | | issues and likely other problems SVN-Revision: 29951
* use ext-toolchain.sh to integrate external toolchains Use ext-toolchain.sh ↵Jo-Philipp Wich2012-01-181-1/+1
| | | | | | 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. SVN-Revision: 29766
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-0/+2
| | | | SVN-Revision: 29754
* rules.mk: provide a LIBGCC_A variableJo-Philipp Wich2011-09-051-1/+3
| | | | SVN-Revision: 28175
* only export GCC_HONOUR_COPTS for the built-in toolchain, fixes ↵Felix Fietkau2011-07-251-1/+1
| | | | | | missing-fhonour-copts warnings with external toolchains SVN-Revision: 27771
* add menuconfig option to enable log files during build processJohn Crispin2011-07-031-0/+4
| | | | SVN-Revision: 27403
* rules.mk: properly populate $(LIBGCC_S) for external toolchainsJo-Philipp Wich2011-04-111-0/+5
| | | | SVN-Revision: 26593
* set TOOLCHAIN_DIR var when using external toolchainFelix Fietkau2011-04-021-0/+1
| | | | | | | | | This patch allows to use the openwrt toolchain as external toolchain for the same project. See bug #9131 for details. Signed-off-by: Sven Bachmann <dev@mcbachmann.de> SVN-Revision: 26405
* Revert "kernel: remove all local symbols from kernel modules at link time to ↵Felix Fietkau2011-03-261-1/+1
| | | | | | reduce their size" Use -x when stripping kernel modules instead SVN-Revision: 26305
* strip .gnu.attributes and .reginfo from kernel modulesFelix Fietkau2011-03-261-1/+1
| | | | SVN-Revision: 26304
* strip .note.gnu.build-id from kernel modulesFelix Fietkau2011-03-181-1/+1
| | | | SVN-Revision: 26217
* build: move the CCACHE_DIR to the build targets so that it doesn't interfere ↵Felix Fietkau2011-03-151-2/+0
| | | | | | with a host ccache setup SVN-Revision: 26181
* only support EABI on ARM targetsImre Kaloz2011-03-071-1/+1
| | | | SVN-Revision: 25928
* add an abstract $(LIBRPC_DEPENDS) variable for feed packages to rely onJo-Philipp Wich2011-03-031-0/+1
| | | | SVN-Revision: 25841
* We use different toolchain directories for different ARM archs, so we should ↵Imre Kaloz2011-02-251-12/+6
| | | | | | | | | | set the default arch of gcc to reflect this. This enables EABI support for armv4 CPUs. Signed-off-by: Jochen Friedrich <jochen@scram.de> SVN-Revision: 25705
* add a variable LIBRPC to refer to the external librpc if usedFelix Fietkau2011-02-131-0/+3
| | | | SVN-Revision: 25497
* remove support for disabling large file support, it is broken, breaks ↵Jo-Philipp Wich2011-01-281-6/+0
| | | | | | compatibility to anything and has no effect on most packages SVN-Revision: 25208
* mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale ↵Felix Fietkau2011-01-161-0/+3
| | | | | | 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 SVN-Revision: 25018
* - implement hooks for hostbuilds - use host build hooks to implement fixups ↵Jo-Philipp Wich2010-12-131-0/+4
| | | | | | for host build - move separator declaration to rules.mk SVN-Revision: 24551
* remove an obsolete comment for the flock templateFelix Fietkau2010-10-311-1/+0
| | | | SVN-Revision: 23744
* fix usage of flock - use the command mode instead of locking a file ↵Felix Fietkau2010-10-311-3/+4
| | | | | | descriptor to fix build issues on mac os x SVN-Revision: 23743
* Add macro for locking of recipe commands.Michael Büsch2010-10-291-0/+10
| | | | SVN-Revision: 23708
* Add HOST_FPIC. It currently always is -fPIC, because that should work on all ↵Michael Büsch2010-10-231-0/+2
| | | | | | platforms, even if it may generate slightly inefficient code on some arches. SVN-Revision: 23598
* Add two debug rules the examine the values of runtime make variables. Based ↵Jo-Philipp Wich2010-10-101-0/+12
| | | | | | on patch by Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 23389
* rename PATCH to KPATCHJo-Philipp Wich2010-10-071-1/+1
| | | | SVN-Revision: 23286
* drop the usr/ prefix when scanning for libgcc.aJo-Philipp Wich2010-09-121-1/+1
| | | | SVN-Revision: 23042
* Implement an ARCH_PACKAGES variable which defaults to BOARD but can be ↵Jo-Philipp Wich2010-09-121-0/+1
| | | | | | 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. SVN-Revision: 23029
* ccache TARGET_CXXFlorian Fainelli2010-09-111-0/+1
| | | | | | Signed-off-by: Alam Arias <Alam.GBC@gmail.com> SVN-Revision: 23008
* fix compile errors by forcing bash to be used as a shell in all submake ↵Felix Fietkau2010-08-191-0/+1
| | | | | | processes SVN-Revision: 22726
* toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and ↵Felix Fietkau2010-08-191-1/+1
| | | | | | moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK SVN-Revision: 22723
* speed up the build system by including include/shell.sh on shell commands ↵Felix Fietkau2010-08-191-2/+1
| | | | | | only where necessary SVN-Revision: 22720
* fix for GREP_OPTIONSFlorian Fainelli2010-07-311-0/+3
| | | | | | | | | When using GREP_OPTIONS to supply default options to grep, the buildsystem might get broken (For example adding --color=always breaks it) This patch will empty the GREP_OPTIONS to prevent the described (and any other) problems related to GREP_OPTIONS Signed-off-by: Maarten Bezemer <m.m.bezemer@utwente.nl> SVN-Revision: 22443
* fix path to libgcc.a in LIBGCC_SNicolas Thill2010-03-301-1/+1
| | | | SVN-Revision: 20593
* use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to ↵Felix Fietkau2010-03-291-1/+1
| | | | | | override TARGET_CC and TARGET_CXX SVN-Revision: 20566
* add an arch suffix for handling different variants of arm/mips for the ↵Felix Fietkau2010-03-141-4/+21
| | | | | | toolchain/target directories SVN-Revision: 20215
* there are quite a lot of package using ln -sf in their Makefile, so this ↵Travis Kemen2010-03-051-1/+2
| | | | | | | | | | | | patch adds LN:=ln -sf to rules.mk -Raphael SVN-Revision: 19998
* use distinct build/staging dirs for EABI/OABI buildsNicolas Thill2010-02-271-1/+1
| | | | SVN-Revision: 19885
* use a DIR_SUFFIX variable to hold libc/version and use it in build/staging ↵Nicolas Thill2010-02-271-4/+5
| | | | | | dir names SVN-Revision: 19884
* remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT ↵Felix Fietkau2010-02-241-1/+0
| | | | | | was added SVN-Revision: 19849
* Add include_mk template which makes it a bit more convienient to include ↵Lars-Peter Clausen2010-02-241-0/+4
| | | | | | package installed mk files. SVN-Revision: 19847