summaryrefslogtreecommitdiff
path: root/include/toplevel.mk
AgeCommit message (Collapse)Author
2013-10-28build: fix build on Mac OS X 10.9nbd
Add a wrapper around the clang gcc emulation to fix -print-file-name=<lib> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02build scripts: fix 'make defconfig' damageflorian
Looking at the target 'defconfig' in include/toplevel, it doesn't directly reference $(HOME)/.openwrt/defconfig nor does it reference any prerequisites using it as a target. Therefore, building "defconfig" as a target uses the defaults in the tree, but not the defaults that a user might have explicitly specified. This patch fixes this regression from r36361. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> [florian: apply with the proper patch level, wrap at 80 columns] Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18build: fix make defconfignbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18build: add new menuconfig code based on linux 3.9nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17build: make the color of the 'configuration out of sync' warning red to make ↵nbd
it harder for users to overlook git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21include/toplevel.mk: print warnings/errors to stderrjogo
Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31build: increase file descriptor count limit for the build, some systems ↵nbd
(e.g. Mac OS X default to 256, which is too little for some parallel builds) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08it's time to break the barrierskaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23build: pass MAKE_JOBSERVER via environment to avoid leaking it to error messagesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15build: move the -j flag to package.mk instead of grabbing it from makeflags, ↵nbd
otherwise it occasionally gets omitted on full builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15build: add a config option for passing the top-level make jobserver to ↵nbd
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
2012-07-16scripts/config: build with gcc instead of clang on mac os xnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11[include] toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined ↵jow
and messes the buildroot up git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06build: prevent the environment variable CROSS_COMPILE from leaking into ↵nbd
builds (fixes #11603) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17make: do a better job of sanitizing LD_LIBRARY_PATH (fixes #8069)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-08add further countermeasures against the git core.autocrlf option (fixes #9075)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05[include] prevent distro default LPATH from interferingblogic
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
2012-03-05build: unexport C_INCLUDE_PATH to prevent user settings from interfering ↵nbd
with the build (fixes #9865) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08[include] make prepare_kernel_conf target depend on quilt instead of sed. ↵jow
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
2011-04-17prepare .config before testing for missing optionsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04toplevel: add a warning about .config being out of sync after an updatenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19[include] toplevel.mk: remove quotes from the release name, its up to its ↵jow
users to ensure proper quoting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13it's time for some attitude adjustment ;)kaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14set the umask in toplevel.mk instead of forcing the user to adjust itnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01add a command for printing a cleaned up make target database - will be used ↵nbd
to analyze package dependencies at some point git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19fix compile errors by forcing bash to be used as a shell in all submake ↵nbd
processes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19speed up the build system by including include/shell.sh on shell commands ↵nbd
only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06Add kernel_nconfig make targetlars
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25unset user overrides for quilt settings to prevent them from interfering ↵nbd
with the build process (#6553) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31add support for build system overlays that alter package build instructionsnbd
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
2009-05-08use unexport instead of export to clear perforce variablesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07override some variables to make sure that perforce does not mess with our ↵nbd
build process git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27make sure that at least sed is built before ↵nbd
kernel_menuconfig/kernel_oldconfig is executed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03optimize the .config dependency chain in the toplevel makefilenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03avoid implicit rules in even more placesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28add staging_dir/host/lib to LD_LIBRARY_PATH so that host-built applications ↵nbd
can install and make use of shared libraries git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18one more instance of r13005nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18don't overwrite .config if it's a symlink (fixes scripts/env problems)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25make sure a predefined CFLAGS variable does not get in the way (fix for #4038)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16rework parallel building to get rid of some warningsnbd
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
2008-08-09fix cut&paste mistakenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-09fix make distcleannbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06fix 'make docs'nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15add another check to the dependenciesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15fix typonbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15add some sanity checkingnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09fix make menuconfig/oldconfignbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09large improvement for parallel builds. works without V=99 now and without ↵nbd
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
2008-06-09allow parallel downloading for make downloadnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-26Fix typo in last commitagb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10942 3c298f89-4303-0410-b956-a3cf2f4a3e73