aboutsummaryrefslogtreecommitdiffstats
path: root/include/toplevel.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: pass MAKE_JOBSERVER via environment to avoid leaking it to error messagesFelix Fietkau2012-09-231-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: move the -j flag to package.mk instead of grabbing it from makeflags, ↵Felix Fietkau2012-09-151-1/+1
| | | | | | otherwise it occasionally gets omitted on full builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a config option for passing the top-level make jobserver to ↵Felix Fietkau2012-09-151-1/+1
| | | | | | packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/config: build with gcc instead of clang on mac os xFelix Fietkau2012-07-161-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined ↵Jo-Philipp Wich2012-07-111-1/+1
| | | | | | and messes the buildroot up git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: prevent the environment variable CROSS_COMPILE from leaking into ↵Felix Fietkau2012-06-061-1/+1
| | | | | | builds (fixes #11603) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make: do a better job of sanitizing LD_LIBRARY_PATH (fixes #8069)Felix Fietkau2012-05-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add further countermeasures against the git core.autocrlf option (fixes #9075)Felix Fietkau2012-05-081-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] prevent distro default LPATH from interferingJohn Crispin2012-04-051-0/+3
| | | | | | | | | | Attach patch unsets LPATH flag (found configured in some custom host distributions) to make OpenWRT compile its toolchain without any issues. LPATH is used on some distros to define the linkers search path. Signed-off-by: Tathagata Das <tathagata@alumnux.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: unexport C_INCLUDE_PATH to prevent user settings from interfering ↵Felix Fietkau2012-03-051-0/+2
| | | | | | with the build (fixes #9865) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] make prepare_kernel_conf target depend on quilt instead of sed. ↵Jo-Philipp Wich2012-01-081-2/+2
| | | | | | Preparing the source tree requires quilt and installing quilt implies installing sed. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29697 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prepare .config before testing for missing optionsFelix Fietkau2011-04-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toplevel: add a warning about .config being out of sync after an updateFelix Fietkau2011-04-041-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] toplevel.mk: remove quotes from the release name, its up to its ↵Jo-Philipp Wich2011-02-191-1/+1
| | | | | | users to ensure proper quoting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* it's time for some attitude adjustment ;)Imre Kaloz2011-02-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* set the umask in toplevel.mk instead of forcing the user to adjust itFelix Fietkau2010-10-141-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a command for printing a cleaned up make target database - will be used ↵Felix Fietkau2010-09-011-0/+3
| | | | | | to analyze package dependencies at some point git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix compile errors by forcing bash to be used as a shell in all submake ↵Felix Fietkau2010-08-191-1/+0
| | | | | | processes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* speed up the build system by including include/shell.sh on shell commands ↵Felix Fietkau2010-08-191-1/+1
| | | | | | only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add kernel_nconfig make targetLars-Peter Clausen2010-08-061-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22518 3c298f89-4303-0410-b956-a3cf2f4a3e73
* unset user overrides for quilt settings to prevent them from interfering ↵Felix Fietkau2010-01-251-0/+3
| | | | | | with the build process (#6553) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for build system overlays that alter package build instructionsFelix Fietkau2009-08-311-1/+1
| | | | | | currently unused, will probably be managed by the feeds system later git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use unexport instead of export to clear perforce variablesFelix Fietkau2009-05-081-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* override some variables to make sure that perforce does not mess with our ↵Felix Fietkau2009-05-071-0/+6
| | | | | | build process git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make sure that at least sed is built before ↵Felix Fietkau2009-04-271-2/+11
| | | | | | kernel_menuconfig/kernel_oldconfig is executed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* optimize the .config dependency chain in the toplevel makefileFelix Fietkau2009-03-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avoid implicit rules in even more placesFelix Fietkau2009-03-031-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add staging_dir/host/lib to LD_LIBRARY_PATH so that host-built applications ↵Felix Fietkau2009-02-281-0/+2
| | | | | | can install and make use of shared libraries git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* one more instance of r13005Felix Fietkau2008-10-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* don't overwrite .config if it's a symlink (fixes scripts/env problems)Felix Fietkau2008-10-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make sure a predefined CFLAGS variable does not get in the way (fix for #4038)Felix Fietkau2008-09-251-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12702 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rework parallel building to get rid of some warningsFelix Fietkau2008-08-161-10/+10
| | | | | | | | 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
* fix cut&paste mistakeFelix Fietkau2008-08-091-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix make distcleanFelix Fietkau2008-08-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix 'make docs'Felix Fietkau2008-08-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add another check to the dependenciesFelix Fietkau2008-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typoFelix Fietkau2008-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add some sanity checkingFelix Fietkau2008-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix make menuconfig/oldconfigFelix Fietkau2008-06-091-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* large improvement for parallel builds. works without V=99 now and without ↵Felix Fietkau2008-06-091-15/+15
| | | | | | 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
* allow parallel downloading for make downloadFelix Fietkau2008-06-091-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix typo in last commitAndy Boyett2008-04-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove old feeds symlink in distclean. Thanks fishAndy Boyett2008-04-261-1/+1
| | | | | | | - Fixes duplicate package entries when coming from pre r10634 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Clean files in scripts/config (#3011)Florian Fainelli2008-04-031-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* "make distclean" should remove "package/feeds"Ralph Hempel2008-03-241-1/+1
| | | | | | | thanks to Robert P. J. Day git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove obsolete symlinkclean targetFelix Fietkau2008-03-191-4/+0
| | | | | | | the new make package/symlinks does not need it. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10622 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add bin/ directory as an argument of make distclean Signed-off-by: Robert P. ↵Travis Kemen2008-03-171-1/+1
| | | | | | J. Day <rpjday@crashcourse.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing dependency for the target metadata scanFelix Fietkau2008-02-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the sdkFelix Fietkau2007-12-141-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up openwrt version handling, use a separate script that is executed at ↵Felix Fietkau2007-12-131-11/+6
| | | | | | the beginning of the build process, fix revision checking with git git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9723 3c298f89-4303-0410-b956-a3cf2f4a3e73