Commit Graph

98 Commits (7fc192e9a5d517f48561243d24a5e0a88cdd0805)

Author SHA1 Message Date
Florian Fainelli 7fc192e9a5 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>

SVN-Revision: 22443
14 years ago
Nicolas Thill 18035964c7 fix path to libgcc.a in LIBGCC_S
SVN-Revision: 20593
14 years ago
Felix Fietkau dd046f4759 use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to override TARGET_CC and TARGET_CXX
SVN-Revision: 20566
14 years ago
Felix Fietkau 80d6e3b245 add an arch suffix for handling different variants of arm/mips for the toolchain/target directories
SVN-Revision: 20215
14 years ago
Travis Kemen 137c26b7cb there are quite a lot of package using ln -sf in their Makefile, so this patch adds
LN:=ln -sf

to rules.mk

-Raphael

SVN-Revision: 19998
14 years ago
Nicolas Thill 9899fbb148 use distinct build/staging dirs for EABI/OABI builds
SVN-Revision: 19885
14 years ago
Nicolas Thill c0f8b43b17 use a DIR_SUFFIX variable to hold libc/version and use it in build/staging dir names
SVN-Revision: 19884
14 years ago
Felix Fietkau 15fecc9e6c remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
SVN-Revision: 19849
14 years ago
Lars-Peter Clausen 001736d848 Add include_mk template which makes it a bit more convienient to include package installed mk files.
SVN-Revision: 19847
14 years ago
Nicolas Thill 0f3c406bdb add a config item to specify arguments to strip
SVN-Revision: 19270
15 years ago
Felix Fietkau 6c57203836 oops, forgot one small change in the last commit
SVN-Revision: 18640
15 years ago
Felix Fietkau b647c168de remove the redundant subdirectory from the packages directory variable
SVN-Revision: 18639
15 years ago
Florian Fainelli ee8018ef11 output firmware files in bin/$(BOARD) instead of bin/
SVN-Revision: 18624
15 years ago
Felix Fietkau d648a0827b fix a typo
SVN-Revision: 18122
15 years ago
Felix Fietkau 9bd710e050 add some extra stripping options for kernel modules to reduce size even more (thx, matteo)
SVN-Revision: 18121
15 years ago
Nicolas Thill c9bc7c504c add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
SVN-Revision: 17682
15 years ago
Felix Fietkau 2982f7ef79 move the package dir to bin/packages/$(BOARD)_$(LIBC)-$(LIBCV) to prevent multiple configs with the same arch from deleting each others' packages
SVN-Revision: 17329
15 years ago
Felix Fietkau 4169a2e834 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
SVN-Revision: 17167
15 years ago
Felix Fietkau f8097687d1 add -L$(TOOLCHAIN_DIR)/lib to the LIBGCC_S variable, if necessary
SVN-Revision: 17082
15 years ago
Florian Fainelli 28efbbc87f do not set anything in DISABLE_IPV6 when set, let the package pick up the defaults
SVN-Revision: 17077
15 years ago
Florian Fainelli 11e1304ca0 globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
SVN-Revision: 16983
15 years ago
Nicolas Thill 4702698c68 add a config option to select the binary stripping method to use (between none, strip & sstrip)
SVN-Revision: 16728
15 years ago
Lars-Peter Clausen ebeb3829e1 Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.
SVN-Revision: 16213
15 years ago
Ralph Hempel c4d7af7094 added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
SVN-Revision: 16148
15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Felix Fietkau 72faa09dff move cflags default setting to target makefiles
SVN-Revision: 14866
15 years ago
Felix Fietkau b6f0cb5366 prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds
SVN-Revision: 14800
15 years ago
Felix Fietkau 431c9267b4 replace a few unnecessary $(shell) calls
SVN-Revision: 14739
15 years ago
Felix Fietkau 127296bc45 speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
SVN-Revision: 14734
15 years ago
Ralph Hempel 70633d5f2f second part of target rootfs relocation
SVN-Revision: 14578
15 years ago
Nicolas Thill db059cc0ff remove LINUX_HEADERS_DIR, not used anymore
SVN-Revision: 14271
16 years ago
Nicolas Thill 343c412a22 indent soft-float options
SVN-Revision: 14270
16 years ago
Nicolas Thill 1be5092692 move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
SVN-Revision: 14269
16 years ago
Lars-Peter Clausen 28abf79c44 Use multi libc naming scheme for PACKAGE_DIR
SVN-Revision: 14168
16 years ago
Felix Fietkau ab0c71fe99 Revert r14071
SVN-Revision: 14077
16 years ago
Felix Fietkau 55a7b0a6e1 add eabi suffix to the target name
SVN-Revision: 14071
16 years ago
Felix Fietkau eb1c4db039 add support for an optional staging directory for debug binaries
SVN-Revision: 14018
16 years ago
Nicolas Thill a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
SVN-Revision: 13931
16 years ago
Felix Fietkau 0434df7fee add the make variable LIBGCC_S, which points to the correct libgcc ldflag (avr32 only has a static library, most targets use the dynamic one)
SVN-Revision: 13892
16 years ago
Felix Fietkau 87f9c56103 fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packages' configure step
SVN-Revision: 12601
16 years ago
Lars-Peter Clausen b7b1b8dc73 Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some packages.
SVN-Revision: 12597
16 years ago
Felix Fietkau 373e5f5e8d add new option for enabling debugging symbols
SVN-Revision: 12591
16 years ago
Felix Fietkau 6acecfb3cd add -rpath-link to TARGET_LDFLAGS by default
SVN-Revision: 12510
16 years ago
Felix Fietkau eef95be7a2 add TARGET_CXX variable which points to the c++ cross compiler
SVN-Revision: 12466
16 years ago
Felix Fietkau a3a37d0bb1 rework parallel building to get rid of some warnings and add back support for parallelizing the kernel build fixes #3882
SVN-Revision: 12322
16 years ago
Felix Fietkau 14ac8769b2 add a variable that contains the proper architecture-dependent -fPIC/-fpic cflag for building shared libraries
SVN-Revision: 12224
16 years ago
Felix Fietkau 214cac6482 add helper macro for stripping the last part of a version number
SVN-Revision: 12054
16 years ago
Florian Fainelli 958c4eac47 Native toolchain does not support -fhonour-copts, do not add it to the TARGET_CFLAGS
SVN-Revision: 11874
16 years ago
John Crispin c9d9f8045c adds missing patch for native toolchain
SVN-Revision: 11425
16 years ago
Felix Fietkau 4c665e6ca4 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
16 years ago