aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
Commit message (Collapse)AuthorAgeFilesLines
* there are quite a lot of package using ln -sf in their Makefile, soTravis Kemen2010-03-051-1/+2
| | | | | | | | | | | | | 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
* use distinct build/staging dirs for EABI/OABI buildsNicolas Thill2010-02-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use a DIR_SUFFIX variable to hold libc/version and use it in build/staging ↵Nicolas Thill2010-02-271-4/+5
| | | | | | dir names git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT ↵Felix Fietkau2010-02-241-1/+0
| | | | | | was added git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add include_mk template which makes it a bit more convienient to include packageLars-Peter Clausen2010-02-241-0/+4
| | | | | | | installed mk files. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a config item to specify arguments to stripNicolas Thill2010-01-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oops, forgot one small change in the last commitFelix Fietkau2009-12-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove the redundant subdirectory from the packages directory variableFelix Fietkau2009-12-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* output firmware files in bin/$(BOARD) instead of bin/Florian Fainelli2009-12-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typoFelix Fietkau2009-10-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add some extra stripping options for kernel modules to reduce size even more ↵Felix Fietkau2009-10-221-1/+1
| | | | | | (thx, matteo) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] add external toolchain support, enhance native toolchain support ↵Nicolas Thill2009-09-231-19/+53
| | | | | | (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
* move the package dir to bin/packages/$(BOARD)_$(LIBC)-$(LIBCV) to prevent ↵Felix Fietkau2009-08-201-1/+1
| | | | | | 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
* add a staging directory for unstripped package files, useful for debugging, ↵Felix Fietkau2009-08-071-0/+1
| | | | | | will be used for mklibs integration later git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add -L$(TOOLCHAIN_DIR)/lib to the LIBGCC_S variable, if necessaryFelix Fietkau2009-08-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] do not set anything in DISABLE_IPV6 when set, let the package pick ↵Florian Fainelli2009-08-011-1/+1
| | | | | | up the defaults git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] globally define IPv6 support or not in OpenWrt, just like for ↵Florian Fainelli2009-07-251-3/+11
| | | | | | largefiles, ipv6 disabled by default (#4857) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a config option to select the binary stripping method to use (between ↵Nicolas Thill2009-07-071-1/+8
| | | | | | none, strip & sstrip) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.Lars-Peter Clausen2009-05-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added BUILD_LOG_DIR variable, make clean will delete the ./logs dirRalph Hempel2009-05-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move cflags default setting to target makefilesFelix Fietkau2009-03-141-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile ↵Felix Fietkau2009-03-091-1/+2
| | | | | | 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
* replace a few unnecessary $(shell) callsFelix Fietkau2009-03-031-5/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* speed up metadata scanning a lot by avoiding unnecessary shell commands and ↵Felix Fietkau2009-03-031-0/+2
| | | | | | make recursions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14734 3c298f89-4303-0410-b956-a3cf2f4a3e73
* second part of target rootfs relocationRalph Hempel2009-02-201-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove LINUX_HEADERS_DIR, not used anymoreNicolas Thill2009-01-291-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cosmetic] indent soft-float optionsNicolas Thill2009-01-291-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change ↵Nicolas Thill2009-01-291-1/+0
| | | | | | its value to suit opkg git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use multi libc naming scheme for PACKAGE_DIRLars-Peter Clausen2009-01-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14168 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert r14071Felix Fietkau2009-01-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add eabi suffix to the target nameFelix Fietkau2009-01-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for an optional staging directory for debug binariesFelix Fietkau2009-01-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [massive] add support for alternative C libraries (currently only glibc/eglibc)Nicolas Thill2009-01-081-10/+13
| | | | | | | | | | | 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add the make variable LIBGCC_S, which points to the correct libgcc ldflag ↵Felix Fietkau2009-01-061-0/+1
| | | | | | (avr32 only has a static library, most targets use the dynamic one) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in ↵Felix Fietkau2008-09-131-1/+1
| | | | | | some packages' configure step git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks someLars-Peter Clausen2008-09-131-3/+4
| | | | | | | packages. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add new option for enabling debugging symbolsFelix Fietkau2008-09-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add -rpath-link to TARGET_LDFLAGS by defaultFelix Fietkau2008-09-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12510 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add TARGET_CXX variable which points to the c++ cross compilerFelix Fietkau2008-09-011-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rework parallel building to get rid of some warningsFelix Fietkau2008-08-161-1/+1
| | | | | | | | and add back support for parallelizing the kernel build fixes #3882 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a variable that contains the proper architecture-dependent -fPIC/-fpic ↵Felix Fietkau2008-08-061-0/+6
| | | | | | cflag for building shared libraries git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add helper macro for stripping the last part of a version numberFelix Fietkau2008-07-311-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Native toolchain does not support -fhonour-copts, do not add it to the ↵Florian Fainelli2008-07-191-5/+6
| | | | | | TARGET_CFLAGS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adds missing patch for native toolchainJohn Crispin2008-06-101-5/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* large improvement for parallel builds. works without V=99 now and without ↵Felix Fietkau2008-06-091-5/+6
| | | | | | warnings. tested with -j on an 2x dual core opteron machine git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* $(TARGET) is not anymore, replace it with $(ARCH) in ./bin/packages ↵Nicolas Thill2008-04-151-1/+1
| | | | | | subdirectories until we find something better git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert ARM to oabi by default, add some eabi patches for fixing up the ↵Felix Fietkau2008-02-141-2/+2
| | | | | | toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add $(TOOLCHAIN_DIR)/lib to $(TARGET_LDFLAGS) to ensure that all packages ↵Felix Fietkau2008-01-141-1/+1
| | | | | | process this correctly - fixes build errors with openldap/php5 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixup softfloat handlingImre Kaloz2007-12-281-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73