Felix Fietkau
62e361dbf2
build: make the color of the 'configuration out of sync' warning red to make it harder for users to overlook
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 21:12:02 +00:00
Jonas Gorski
978847afc3
include/toplevel.mk: print warnings/errors to stderr
...
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
2013-02-21 11:45:22 +00:00
Felix Fietkau
5ba7421eed
build: increase file descriptor count limit for the build, some systems (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-31 00:23:47 +00:00
Imre Kaloz
50cb64b6ed
it's time to break the barriers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 13:12:37 +00:00
Felix Fietkau
4c3dab3285
build: pass MAKE_JOBSERVER via environment to avoid leaking it to error messages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:49:52 +00:00
Felix Fietkau
d5e0222429
build: move the -j flag to package.mk instead of grabbing it from makeflags, 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-15 12:16:14 +00:00
Felix Fietkau
397d1a3496
build: add a config option for passing the top-level make jobserver to 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-09-15 10:21:24 +00:00
Felix Fietkau
d60c221517
scripts/config: build with gcc instead of clang on mac os x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-16 14:14:12 +00:00
Jo-Philipp Wich
7ca8b5598a
[include] toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined and messes the buildroot up
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 09:59:06 +00:00
Felix Fietkau
30655eb877
build: prevent the environment variable CROSS_COMPILE from leaking into builds ( fixes #11603 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:46:00 +00:00
Felix Fietkau
03a372b6fa
make: do a better job of sanitizing LD_LIBRARY_PATH ( fixes #8069 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 20:19:43 +00:00
Felix Fietkau
a263dc5a12
add further countermeasures against the git core.autocrlf option ( fixes #9075 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-08 13:30:54 +00:00
John Crispin
e2dd66a036
[include] prevent distro default LPATH from interfering
...
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-04-05 14:33:03 +00:00
Felix Fietkau
2929a9bbd0
build: unexport C_INCLUDE_PATH to prevent user settings from interfering with the build ( fixes #9865 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 21:39:07 +00:00
Jo-Philipp Wich
a680f828e0
[include] make prepare_kernel_conf target depend on quilt instead of sed. 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
2012-01-08 16:52:41 +00:00
Felix Fietkau
2d9489a949
prepare .config before testing for missing options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 02:16:52 +00:00
Felix Fietkau
208c6ce217
toplevel: add a warning about .config being out of sync after an update
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:33 +00:00
Jo-Philipp Wich
b121d18ec3
[include] toplevel.mk: remove quotes from the release name, its up to its users to ensure proper quoting
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 22:15:17 +00:00
Imre Kaloz
acf2cfc98b
it's time for some attitude adjustment ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 11:20:09 +00:00
Felix Fietkau
081e19e380
set the umask in toplevel.mk instead of forcing the user to adjust it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 15:53:47 +00:00
Felix Fietkau
e3b691c96c
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +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
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
Lars-Peter Clausen
aab5464b30
Add kernel_nconfig make target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 21:36:35 +00:00
Felix Fietkau
b0d9f1edb6
unset user overrides for quilt settings to prevent them from interfering with the build process ( #6553 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 21:45:10 +00:00
Felix Fietkau
b070e258c2
add support for build system overlays that alter package build instructions
...
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-08-31 01:11:25 +00:00
Felix Fietkau
353070af37
use unexport instead of export to clear perforce variables
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 15:35:27 +00:00
Felix Fietkau
82c60edbc1
override some variables to make sure that perforce does not mess with our build process
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 23:50:19 +00:00
Felix Fietkau
0675a35182
make sure that at least sed is built before kernel_menuconfig/kernel_oldconfig is executed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 10:39:03 +00:00
Felix Fietkau
2abf9f5f94
optimize the .config dependency chain in the toplevel makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 15:08:55 +00:00
Felix Fietkau
0a45975466
avoid implicit rules in even more places
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:16:48 +00:00
Felix Fietkau
0440e2af34
add staging_dir/host/lib to LD_LIBRARY_PATH so that host-built applications can install and make use of shared libraries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 21:03:06 +00:00
Felix Fietkau
51431b8d43
one more instance of r13005
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 20:16:40 +00:00
Felix Fietkau
c26622f027
don't overwrite .config if it's a symlink (fixes scripts/env problems)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 19:37:34 +00:00
Felix Fietkau
58b9e416fd
make sure a predefined CFLAGS variable does not get in the way (fix for #4038 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 14:10:04 +00:00
Felix Fietkau
627b34f1f2
rework parallel building to get rid of some warnings
...
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-16 16:59:47 +00:00
Felix Fietkau
4f8abcd72c
fix cut&paste mistake
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-09 00:49:36 +00:00
Felix Fietkau
76cf355719
fix make distclean
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-09 00:27:54 +00:00
Felix Fietkau
dde96c79e9
fix 'make docs'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 14:30:34 +00:00
Felix Fietkau
06d1bc5f5d
add another check to the dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:50:41 +00:00
Felix Fietkau
fa5af5e580
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:49:00 +00:00
Felix Fietkau
415cc1c3db
add some sanity checking
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:34:00 +00:00
Felix Fietkau
7007ab6ddd
fix make menuconfig/oldconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 16:21:20 +00:00
Felix Fietkau
f4e7bdac42
large improvement for parallel builds. works without V=99 now and without 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-09 15:38:45 +00:00
Felix Fietkau
5ecb93f47c
allow parallel downloading for make download
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:19 +00:00
Andy Boyett
8f6fff90b9
Fix typo in last commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-26 07:51:38 +00:00
Andy Boyett
dc3ca671f2
Remove old feeds symlink in distclean. Thanks fish
...
- Fixes duplicate package entries when coming from pre r10634
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-26 07:49:41 +00:00
Florian Fainelli
e4ef075c56
Clean files in scripts/config ( #3011 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 19:08:59 +00:00
Ralph Hempel
fb2fd0c5c7
"make distclean" should remove "package/feeds"
...
thanks to Robert P. J. Day
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-24 09:52:14 +00:00
Felix Fietkau
537ed276f7
remove obsolete symlinkclean target
...
the new make package/symlinks does not need it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-19 08:17:56 +00:00