Commit Graph

164 Commits (5883f4e947bda6a9845191c51876e1a8c7e293ee)

Author SHA1 Message Date
Felix Fietkau a95811d2ad 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
Jo-Philipp Wich 2bfa03e5ce [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
Felix Fietkau a916879574 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
Jo-Philipp Wich 853ff77a2c [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
Felix Fietkau 97c4c80d4d 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
Felix Fietkau 80a0951f3f 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
Michael Büsch 8db77876de 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
Michael Büsch b935c0d30f 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
Jo-Philipp Wich 720cb42823 [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
Jo-Philipp Wich cd91f0efcd [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
Jo-Philipp Wich ac67ef7d12 [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
Jo-Philipp Wich 69c9cad2a1 [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 Fainelli e19163501e [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
Felix Fietkau 48edb47057 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
Felix Fietkau f1f392ab5f 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
Felix Fietkau 14be678094 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 Fainelli ef5dc72b5c [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
Nicolas Thill 18c4948934 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
Felix Fietkau c33451f5d6 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
Felix Fietkau e9b2c3c8bb 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
Travis Kemen 993c51d83d there are quite a lot of package using ln -sf in their Makefile, so
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
2010-03-05 20:26:14 +00:00
Nicolas Thill 4b1f79e48a use distinct build/staging dirs for EABI/OABI builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-27 18:27:48 +00:00
Nicolas Thill 8e7faa08ae use a DIR_SUFFIX variable to hold libc/version and use it in build/staging dir names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-27 18:14:24 +00:00
Felix Fietkau 031909ed63 remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:43:05 +00:00
Lars-Peter Clausen 3358054d59 Add include_mk template which makes it a bit more convienient to include package
installed mk files.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:07:56 +00:00
Nicolas Thill 9cc33cbbe6 add a config item to specify arguments to strip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 08:12:20 +00:00
Felix Fietkau a397e55ad7 oops, forgot one small change in the last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 22:18:36 +00:00
Felix Fietkau 22857c733c remove the redundant subdirectory from the packages directory variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 22:17:26 +00:00
Florian Fainelli a06ae7ed67 output firmware files in bin/$(BOARD) instead of bin/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-03 18:21:03 +00:00
Felix Fietkau 57045c1c53 fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 16:39:39 +00:00
Felix Fietkau 6f11f2d44f add some extra stripping options for kernel modules to reduce size even more (thx, matteo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 16:26:12 +00:00
Nicolas Thill f9f42992ea [toolchain] add external toolchain support, enhance native toolchain support (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
2009-09-23 02:27:38 +00:00
Felix Fietkau d0ea07bdb9 move the package dir to bin/packages/$(BOARD)_$(LIBC)-$(LIBCV) to prevent 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
2009-08-20 15:31:17 +00:00
Felix Fietkau 079bbf2ee7 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 21:58:35 +00:00
Felix Fietkau fb5e82d742 add -L$(TOOLCHAIN_DIR)/lib to the LIBGCC_S variable, if necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 21:29:00 +00:00
Florian Fainelli caa9ab1f49 [package] do not set anything in DISABLE_IPV6 when set, let the package pick up the defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 12:12:48 +00:00
Florian Fainelli e404fd711b [package] globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-25 21:45:51 +00:00
Nicolas Thill c5548f922e add a config option to select the binary stripping method to use (between none, strip & sstrip)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 02:34:58 +00:00
Lars-Peter Clausen df8edcfd8a Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-30 15:48:44 +00:00
Ralph Hempel 92dfe3875a added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 16:30:04 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Felix Fietkau 019e6e2d31 move cflags default setting to target makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:06 +00:00
Felix Fietkau 1eb7b2098d prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 01:15:59 +00:00
Felix Fietkau 937f1820f2 replace a few unnecessary $(shell) calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:55:53 +00:00
Felix Fietkau 87fcd635fe speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 13:54:29 +00:00
Ralph Hempel d7399da7a7 second part of target rootfs relocation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 10:44:19 +00:00
Nicolas Thill 16f701a0f9 remove LINUX_HEADERS_DIR, not used anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:37:58 +00:00
Nicolas Thill eb8dcd51d1 [cosmetic] indent soft-float options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:19:00 +00:00
Nicolas Thill 044375f28e move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:13:01 +00:00
Lars-Peter Clausen 5b0b3ea806 Use multi libc naming scheme for PACKAGE_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-24 15:46:57 +00:00