aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
Commit message (Collapse)AuthorAgeFilesLines
* rules.mk: only select latest libgcc.a with wildcard match (#12798)Jo-Philipp Wich2013-01-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rules.mk: fix misspelled config symbol introduced by r34300Jo-Philipp Wich2012-11-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rules.mk: append libc implementation to bin directory name if not using uClibcJo-Philipp Wich2012-11-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rules.mk: add TARGET_AR and TARGET_RANLIBFelix Fietkau2012-09-221-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] do not pass optimization flags in HOST_CPPFLAGS (#12153)Jo-Philipp Wich2012-09-091-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [rules.mk] remove duplicate HOSTCC_NOCACHEJohn Crispin2012-08-101-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] fix up scons vs ccacheJohn Crispin2012-07-281-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32902 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add and export HOSTCC_NOCACHEJohn Crispin2012-06-201-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make librpc compatible with eglibc, unconditionally enable it for packages ↵Felix Fietkau2012-06-081-3/+1
| | | | | | that need rpc support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] add ccache wrapperJohn Crispin2012-06-061-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: keep more symbols in the kernel modules when doing profilingFelix Fietkau2012-03-011-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: do not rename module symbols with kallsyms enabledFelix Fietkau2012-03-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30759 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] rules.mk: filter "." and "./" entries from $PATH, prevents ↵Jo-Philipp Wich2012-01-291-1/+1
| | | | | | toolchain build issues and likely other problems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] use ext-toolchain.sh to integrate external toolchainsJo-Philipp Wich2012-01-181-1/+1
| | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] rules.mk: provide a LIBGCC_A variableJo-Philipp Wich2011-09-051-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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