nbd
cc5c77bb4a
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
nbd
8b591f9808
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
nbd
1f87d10e85
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
nbd
723aad6f32
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
jow
48ca02ef6f
[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
nbd
39bab2ee8c
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
nbd
2a6d06d406
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
nbd
c589be6470
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
blogic
97f7040e2d
[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
nbd
006eabc1e4
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
jow
01360fc7c4
[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
nbd
c9643009a3
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
nbd
02e218141b
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
jow
c45b60efa6
[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
kaloz
d37749f1ac
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
nbd
d1b7d3770d
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
nbd
9dd40f163d
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
nbd
d6520c74b8
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
nbd
37b9bb7ce2
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
04e9a33b0f
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
nbd
5ecf595947
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
nbd
8e82554c4f
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
nbd
0b5ca8f588
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
nbd
b4c7c3f804
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
nbd
f5c5ebc6e0
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
nbd
f297cbb2d1
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
nbd
1c0844a67a
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
nbd
98b042952a
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
nbd
35fbeba812
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
nbd
ace7dddc4c
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
nbd
d20c210d75
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
nbd
3e8bff3590
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
nbd
baf3bce732
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
nbd
4d1808ee72
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
nbd
41b5c4d51c
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
nbd
387d34915b
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
nbd
18c6fa2b2f
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
nbd
285af89084
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
nbd
1a3c050033
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
nbd
83b31e078f
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
nbd
9d412aac58
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
agb
4c6dc78fd9
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
agb
76f9e45736
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
19910c310a
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
4c5547e914
"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
nbd
a989a4bdd9
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
thepeople
ba6e77ed2d
Add bin/ directory as an argument of make distclean Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-17 23:57:31 +00:00
nbd
60fdf35af5
add missing dependency for the target metadata scan
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-09 19:53:20 +00:00
nbd
7a694d4e5f
fix the sdk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-14 00:33:25 +00:00
nbd
f2ea91f2c1
clean up openwrt version handling, use a separate script that is executed at 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
2007-12-13 06:25:54 +00:00