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
Travis Kemen
e28a34e2b0
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
Felix Fietkau
4d1264e560
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
Felix Fietkau
b85354ab6e
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
Felix Fietkau
d42667f87b
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
Felix Fietkau
81e1c1bc16
fix make clean for unconfigured build trees
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-04 03:04:37 +00:00
Felix Fietkau
5e7effeb4f
fix parallel build issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-04 11:42:47 +00:00
Felix Fietkau
4a87324779
increase scan depth to 5 for package/ (x.org is nested deeper than the rest of the packages)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-03 12:13:23 +00:00
Felix Fietkau
733e77839d
add autorebuild check for menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 02:28:34 +00:00
John Crispin
9622d80344
add possibility to set default .config values
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 02:15:37 +00:00
Felix Fietkau
d0d5681221
remove feeds dir on distclean
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-09 04:13:19 +00:00