1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 04:26:16 +02:00
Commit Graph

194 Commits

Author SHA1 Message Date
nbd
a5ff4c2e97 build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-06 16:01:06 +00:00
nbd
1745f44416 rules.mk: add TARGET_AR and TARGET_RANLIB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:24 +00:00
jow
f78b4e1054 [buildroot] do not pass optimization flags in HOST_CPPFLAGS (#12153)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 21:35:42 +00:00
blogic
860405e5d1 [rules.mk] remove duplicate HOSTCC_NOCACHE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:07:03 +00:00
florian
039dd7421f [buildroot] move LIB_SUFFIX from base-files to rules.mk
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
2012-08-10 14:15:06 +00:00
blogic
f12d141fa0 [include] fix up scons vs ccache
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 21:06:59 +00:00
blogic
14e6a4d933 add and export HOSTCC_NOCACHE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 07:48:47 +00:00
nbd
7efa150cb4 make librpc compatible with eglibc, unconditionally enable it for packages that need rpc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-08 15:10:18 +00:00
blogic
0d08b76611 [tools] add ccache wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:27:11 +00:00
blogic
338bcc51d7 [include] Use build suffix on build_dir paths
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
2012-04-10 10:55:55 +00:00
nbd
ba66a4b961 kernel: keep more symbols in the kernel modules when doing profiling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 15:13:26 +00:00
nbd
08faa98372 build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via lazy evaluation. this allows adding c++ specific cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 10:39:46 +00:00
nbd
e8cb322296 kernel: do not rename module symbols with kallsyms enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 09:58:03 +00:00
nbd
2685b06017 strip kernel modules more aggressively: make all global symbols local, 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
2012-02-20 17:38:26 +00:00
nbd
f9e32614b0 build: add -Wno-error=unused-but-set-variable to cflags for gcc 4.6 and newer to avoid stupid -Werror related package breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 19:19:12 +00:00
jow
544a3a60a5 [buildroot] rules.mk: filter "." and "./" entries from $PATH, prevents toolchain build issues and likely other problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 23:34:25 +00:00
jow
ae5914acdf [buildroot] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:08:09 +00:00
blogic
9943867fae tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 11:43:13 +00:00
jow
36efdd7225 [buildroot] rules.mk: provide a LIBGCC_A variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-05 19:29:22 +00:00
nbd
aeb70915fb only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 10:32:38 +00:00
blogic
913081d31b add menuconfig option to enable log files during build process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:37:31 +00:00
jow
cf191d929d [buildroot] rules.mk: properly populate $(LIBGCC_S) for external toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 16:06:46 +00:00
nbd
076e9f74f8 set TOOLCHAIN_DIR var when using external toolchain
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
2011-04-02 14:27:51 +00:00
nbd
d99103d375 Revert "kernel: remove all local symbols from kernel modules at link time to 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
2011-03-26 15:29:53 +00:00
nbd
a2ebc81e18 strip .gnu.attributes and .reginfo from kernel modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 15:22:14 +00:00
nbd
1a595b0ec8 strip .note.gnu.build-id from kernel modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 03:13:38 +00:00
nbd
63c3f4a351 build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 19:58:32 +00:00
kaloz
c0b7eece82 only support EABI on ARM targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:59:19 +00:00
jow
c8c9388be1 [buildroot] add an abstract $(LIBRPC_DEPENDS) variable for feed packages to rely on
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 01:45:36 +00:00
kaloz
251a813933 We use different toolchain directories for different
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
2011-02-25 16:52:25 +00:00
nbd
ab6c99e0b3 add a variable LIBRPC to refer to the external librpc if used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 01:45:07 +00:00
jow
1db1d443f3 [toolchain] remove support for disabling large file support, it is broken, 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
2011-01-28 17:00:43 +00:00
nbd
89a10d913b 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:25:06 +00:00
jow
0630427205 [include]
- 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
2010-12-13 19:04:33 +00:00
nbd
e2a056ae65 remove an obsolete comment for the flock template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-31 15:36:47 +00:00
nbd
a9812d96db fix usage of flock - use the command mode instead of locking a file descriptor to fix build issues on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-31 15:33:48 +00:00
mb
4af18f4363 Add macro for locking of recipe commands.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 14:53:16 +00:00
mb
23f0f29a8e 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 20:30:43 +00:00
jow
36d3a76afb [buildroot] Add two debug rules the examine the values of runtime make 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
2010-10-10 22:40:44 +00:00
jow
60004bec44 [include] rename PATCH to KPATCH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:32:09 +00:00
jow
df5dee93df [buildroot] drop the usr/ prefix when scanning for libgcc.a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 22:19:29 +00:00
jow
ab6e4426b0 [buildroot] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 20:49:54 +00:00
florian
691fd24bf2 [buildroot] ccache TARGET_CXX
Signed-off-by: Alam Arias <Alam.GBC@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-11 18:37:15 +00:00
nbd
d6520c74b8 fix compile errors by forcing bash to be used as a shell in all submake processes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 13:32:47 +00:00
nbd
dc74adf445 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
nbd
37b9bb7ce2 speed up the build system by including include/shell.sh on shell commands only where necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:37 +00:00
florian
805beb6cd9 [buildroot] fix for GREP_OPTIONS
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
2010-07-31 22:32:21 +00:00
nico
f8877972da fix path to libgcc.a in LIBGCC_S
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 04:04:47 +00:00
nbd
66bce4ab80 use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to override TARGET_CC and TARGET_CXX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 00:05:48 +00:00
nbd
30c92b3390 add an arch suffix for handling different variants of arm/mips for the toolchain/target directories
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 18:24:05 +00:00