aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
Commit message (Collapse)AuthorAgeFilesLines
* only export GCC_HONOUR_COPTS for the built-in toolchain, fixes ↵Felix Fietkau2011-07-251-1/+1
| | | | | | missing-fhonour-copts warnings with external toolchains git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27771 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add menuconfig option to enable log files during build processJohn Crispin2011-07-031-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] rules.mk: properly populate $(LIBGCC_S) for external toolchainsJo-Philipp Wich2011-04-111-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* strip .gnu.attributes and .reginfo from kernel modulesFelix Fietkau2011-03-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* strip .note.gnu.build-id from kernel modulesFelix Fietkau2011-03-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* only support EABI on ARM targetsImre Kaloz2011-03-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add an abstract $(LIBRPC_DEPENDS) variable for feed packages to ↵Jo-Philipp Wich2011-03-031-0/+1
| | | | | | rely on git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* We use different toolchain directories for differentImre Kaloz2011-02-251-12/+6
| | | | | | | | | | | | | ARM archs, so we should set the default arch of gcc to reflect this. This enables EABI support for armv4 CPUs. Signed-off-by: Jochen Friedrich <jochen@scram.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a variable LIBRPC to refer to the external librpc if usedFelix Fietkau2011-02-131-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] remove support for disabling large file support, it is broken, ↵Jo-Philipp Wich2011-01-281-6/+0
| | | | | | breaks compatibility to anything and has no effect on most packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] Jo-Philipp Wich2010-12-131-0/+4
| | | | | | | | | - implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove an obsolete comment for the flock templateFelix Fietkau2010-10-311-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add macro for locking of recipe commands.Michael Büsch2010-10-291-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] Add two debug rules the examine the values of runtime make ↵Jo-Philipp Wich2010-10-101-0/+12
| | | | | | | | | variables. Based on patch by Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] rename PATCH to KPATCHJo-Philipp Wich2010-10-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] drop the usr/ prefix when scanning for libgcc.aJo-Philipp Wich2010-09-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] Implement an ARCH_PACKAGES variable which defaults to BOARD but ↵Jo-Philipp Wich2010-09-121-0/+1
| | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] ccache TARGET_CXXFlorian Fainelli2010-09-111-0/+1
| | | | | | Signed-off-by: Alam Arias <Alam.GBC@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix compile errors by forcing bash to be used as a shell in all submake ↵Felix Fietkau2010-08-191-0/+1
| | | | | | processes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* speed up the build system by including include/shell.sh on shell commands ↵Felix Fietkau2010-08-191-2/+1
| | | | | | only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix path to libgcc.a in LIBGCC_SNicolas Thill2010-03-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to ↵Felix Fietkau2010-03-291-1/+1
| | | | | | override TARGET_CC and TARGET_CXX git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an arch suffix for handling different variants of arm/mips for the ↵Felix Fietkau2010-03-141-4/+21
| | | | | | toolchain/target directories git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* there are quite a lot of package using ln -sf in their Makefile, soTravis Kemen2010-03-051-1/+2
| | | | | | | | | | | | | this patch adds LN:=ln -sf to rules.mk -Raphael git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use distinct build/staging dirs for EABI/OABI buildsNicolas Thill2010-02-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use a DIR_SUFFIX variable to hold libc/version and use it in build/staging ↵Nicolas Thill2010-02-271-4/+5
| | | | | | dir names git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT ↵Felix Fietkau2010-02-241-1/+0
| | | | | | was added git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add include_mk template which makes it a bit more convienient to include packageLars-Peter Clausen2010-02-241-0/+4
| | | | | | | installed mk files. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a config item to specify arguments to stripNicolas Thill2010-01-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oops, forgot one small change in the last commitFelix Fietkau2009-12-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove the redundant subdirectory from the packages directory variableFelix Fietkau2009-12-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* output firmware files in bin/$(BOARD) instead of bin/Florian Fainelli2009-12-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typoFelix Fietkau2009-10-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add some extra stripping options for kernel modules to reduce size even more ↵Felix Fietkau2009-10-221-1/+1
| | | | | | (thx, matteo) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] add external toolchain support, enhance native toolchain support ↵Nicolas Thill2009-09-231-19/+53
| | | | | | (special thanks to Luigi Mantellini for his help... and patience ;) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move the package dir to bin/packages/$(BOARD)_$(LIBC)-$(LIBCV) to prevent ↵Felix Fietkau2009-08-201-1/+1
| | | | | | multiple configs with the same arch from deleting each others' packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a staging directory for unstripped package files, useful for debugging, ↵Felix Fietkau2009-08-071-0/+1
| | | | | | will be used for mklibs integration later git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add -L$(TOOLCHAIN_DIR)/lib to the LIBGCC_S variable, if necessaryFelix Fietkau2009-08-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] do not set anything in DISABLE_IPV6 when set, let the package pick ↵Florian Fainelli2009-08-011-1/+1
| | | | | | up the defaults git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] globally define IPv6 support or not in OpenWrt, just like for ↵Florian Fainelli2009-07-251-3/+11
| | | | | | largefiles, ipv6 disabled by default (#4857) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a config option to select the binary stripping method to use (between ↵Nicolas Thill2009-07-071-1/+8
| | | | | | none, strip & sstrip) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.Lars-Peter Clausen2009-05-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16213 3c298f89-4303-0410-b956-a3cf2f4a3e73