summaryrefslogtreecommitdiff
path: root/rules.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: decouple the mips16 support flag from the toolchainFelix Fietkau2013-08-141-8/+2
| | | | | | | | | Add the flags from package.mk instead, and leave libc and gcc unaffected. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37770
* build: unify target independent optimization optionsFelix Fietkau2013-07-291-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37600
* build: add required exports for dependency trackingFelix Fietkau2013-07-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37387
* build: move the XARGS variable out of the host checks, since a working xargs ↵Felix Fietkau2013-07-101-0/+1
| | | | | | | | is built in tools/ Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37228
* rules.mk: use qstrip to reduce syntax highlighting issuesFelix Fietkau2013-07-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37225
* toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ ↵Felix Fietkau2013-05-091-1/+1
| | | | | | | | support mandatory - fixes recursive config symbol dependency issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36594
* rules.mk: add _dsp to ARCH_SUFFIX if the dsp ase is usedJohn Crispin2013-05-061-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36566
* toolchain: allow choosing the MIPS64 user-land ABIFlorian Fainelli2013-04-051-0/+5
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36205
* buildroot: factor knowledge of a 64bits architectureFlorian Fainelli2013-04-051-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36204
* buildroot: allow enabling MIPS16 user-space buildFlorian Fainelli2013-04-051-0/+3
| | | | | | | | | | | Enabling MIPS16 is made conditional on advertising the "mips16" feature for a specific target since it requires support from the CPU (HAS_MIPS16) and the actual use of MIPS16 for building packages (USE_MIPS16). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36202
* rules.mk: MIPS16 builds get a different toolchainFlorian Fainelli2013-04-051-0/+1
| | | | | | | | | | | | | To be safe, build "m16" into the toolchain and target architecture the same way mips32r2 does: target-mips_r2_m16_uClibc-0.9.33.2 toolchain-mips_r2_m16_gcc-4.6-linaro_uClibc-0.9.33.2 Signed-off-by: Jay Carlson <nop@nop.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36198
* rules.mk: Create TARGET_ASFLAGS; force -mno-mips16Florian Fainelli2013-04-051-1/+5
| | | | | | | | | | | | | Create and use a TARGET_ASFLAGS, defaulting to TARGET_CFLAGS. MIPS .S files reasonably assume they are not in mips16 mode. Because "-mips16 -mno-mips16" results in -mno-mips16, I can append that to the TARGET_ASFLAGS. This should be done with $(filter-out)? Signed-off-by: Jay Carlson <nop@nop.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36197
* build: add a HOSTCXX variable pointing at the c++ compilerFelix Fietkau2013-03-221-0/+3
| | | | SVN-Revision: 36109
* fix ARCH_SUFFIX for mips64{,el}r2Gabor Juhos2013-02-201-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35688
* rules.mk: only select latest libgcc.a with wildcard match (#12798)Jo-Philipp Wich2013-01-131-2/+2
| | | | SVN-Revision: 35144
* rules.mk: don't use $(realpath) in file_copy, the destination directory ↵Jo-Philipp Wich2012-12-021-1/+1
| | | | | | might not exist yet - spotted while doing a fresh build SVN-Revision: 34447
* rules.mk: provide a macro "file_copy" which removes any symlink in the ↵Jo-Philipp Wich2012-12-021-0/+18
| | | | | | destination dir that would be overwritten SVN-Revision: 34437
* rules.mk: fix misspelled config symbol introduced by r34300Jo-Philipp Wich2012-11-231-1/+1
| | | | SVN-Revision: 34304
* rules.mk: append libc implementation to bin directory name if not using uClibcJo-Philipp Wich2012-11-221-0/+1
| | | | SVN-Revision: 34300
* build: rework the package/install step - collect package install lists ↵Felix Fietkau2012-10-061-0/+1
| | | | | | during package/compile, then install all packages at once SVN-Revision: 33631
* rules.mk: add TARGET_AR and TARGET_RANLIBFelix Fietkau2012-09-221-0/+2
| | | | SVN-Revision: 33508
* do not pass optimization flags in HOST_CPPFLAGS (#12153)Jo-Philipp Wich2012-09-091-1/+2
| | | | SVN-Revision: 33351
* remove duplicate HOSTCC_NOCACHEJohn Crispin2012-08-101-1/+0
| | | | SVN-Revision: 33088
* move LIB_SUFFIX from base-files to rules.mkFlorian Fainelli2012-08-101-0/+4
| | | | | | Some packages are going to need fixups based on LIB_SUFFIX SVN-Revision: 33080
* 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