Felix Fietkau
c233a088f0
build: it is no longer necessary to call make target/linux/clean as part of make clean
...
SVN-Revision: 34451
2012-12-02 15:26:28 +00:00
Felix Fietkau
43f34a93e6
Makefile: add a check to bail out early when the path to the openwrt directory contains spaces ( #12344 )
...
SVN-Revision: 33884
2012-10-21 02:00:11 +00:00
Felix Fietkau
0f6e5b76f8
build: add back the package/cleanup step to remove the root staging dir for mklibs
...
SVN-Revision: 33777
2012-10-15 13:19:45 +00:00
Felix Fietkau
44cd20b802
build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
...
SVN-Revision: 33631
2012-10-06 16:01:06 +00:00
Jo-Philipp Wich
b81354d828
abort built in prereq target if there is no site config file for the current target
...
SVN-Revision: 29798
2012-01-19 12:19:28 +00:00
Felix Fietkau
00d1e599d7
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
...
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Florian Fainelli
7fc192e9a5
fix for GREP_OPTIONS
...
When using GREP_OPTIONS to supply default options to grep, the buildsystem might get broken (For example adding --color=always breaks it)
This patch will empty the GREP_OPTIONS to prevent the described (and any other) problems related to GREP_OPTIONS
Signed-off-by: Maarten Bezemer <m.m.bezemer@utwente.nl>
SVN-Revision: 22443
2010-07-31 22:32:21 +00:00
Felix Fietkau
61f503c77a
add a "make prepare" target which builds everything up to target/compile, useful for scripts/deptest.sh
...
SVN-Revision: 16153
2009-05-28 18:40:37 +00:00
Ralph Hempel
c4d7af7094
added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
...
SVN-Revision: 16148
2009-05-28 16:30:04 +00:00
Felix Fietkau
882190b198
avoid implicit rules in even more places
...
SVN-Revision: 14737
2009-03-03 14:16:48 +00:00
Nicolas Thill
71e8b3c4f7
remove toolchain build directory as well in 'make dirclean'
...
SVN-Revision: 13494
2008-12-03 04:22:41 +00:00
Felix Fietkau
a3a37d0bb1
rework parallel building to get rid of some warnings and add back support for parallelizing the kernel build fixes #3882
...
SVN-Revision: 12322
2008-08-16 16:59:47 +00:00
Felix Fietkau
1b838dbd95
make package prereq checks behave more like build prereq checks (first check all, then fail if necessary), also make them less verbose
...
SVN-Revision: 12106
2008-08-04 23:15:17 +00:00
Felix Fietkau
4c665e6ca4
large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
...
SVN-Revision: 11414
2008-06-09 15:38:45 +00:00
Ralph Hempel
585997f8d2
fix package/symlinks target, will call scripts/feeds update / install introduce new package/symlinks-install and package/symlinks-clean targets - package/symlink-install will re-create the index files and the symlinks for all ./feeds (no update from repositories is performed) - package/symlink-clean will delete all installed symlinks (keeping the ./feeds untouched)
...
SVN-Revision: 10634
2008-03-20 17:08:24 +00:00
Felix Fietkau
18bd5286e6
use scripts/feeds instead of scripts/feeds.sh for package/symlinks
...
SVN-Revision: 9990
2007-12-28 17:01:32 +00:00
Felix Fietkau
edc74f8cc3
fix make clean for unconfigured build trees
...
SVN-Revision: 9655
2007-12-04 03:04:37 +00:00
Felix Fietkau
db87e1f8c1
fix parallel build issues
...
SVN-Revision: 9495
2007-11-04 11:42:47 +00:00
Felix Fietkau
af03fdb6c5
add autorebuild check for menuconfig
...
SVN-Revision: 9301
2007-10-14 02:28:34 +00:00
Felix Fietkau
53a1d55b34
add 'make prepare' target for building the tools and toolchain
...
SVN-Revision: 8780
2007-09-15 08:53:23 +00:00
Felix Fietkau
a9d683ca91
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Felix Fietkau
5f748a6c24
clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
...
SVN-Revision: 8558
2007-08-30 21:12:39 +00:00
Felix Fietkau
c6bc77ea36
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau
cb7605f7ba
fix rootfs and init script handling
...
SVN-Revision: 8293
2007-07-31 22:54:21 +00:00
Felix Fietkau
572876608a
fix make distclean
...
SVN-Revision: 8251
2007-07-30 22:56:48 +00:00
Felix Fietkau
d7f2cb1642
next round of cleanup, convert target/ - make -j works now ;)
...
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Felix Fietkau
49e628f765
next round of build system cleanup - convert package/ to new structure
...
SVN-Revision: 8236
2007-07-30 18:22:01 +00:00
Felix Fietkau
2e072cfb4b
toolchain/ has been converted
...
SVN-Revision: 8235
2007-07-30 16:22:57 +00:00
Felix Fietkau
e23c6c4b6b
fix verbose output with dash as /bin/sh
...
SVN-Revision: 8227
2007-07-30 14:50:15 +00:00
Felix Fietkau
e143bed1f1
build system fixes, more cleanup
...
SVN-Revision: 8207
2007-07-28 13:29:03 +00:00
Felix Fietkau
9c88ba80b9
more build system cleanup
...
SVN-Revision: 8206
2007-07-28 13:00:43 +00:00
Felix Fietkau
81529c47ec
initial attempt at cleaning up subdirectory handling. tools/Makefile is now being included instead of recursively called
...
SVN-Revision: 8201
2007-07-28 02:44:55 +00:00
Felix Fietkau
6178152ee8
add kernel_oldconfig target
...
SVN-Revision: 8003
2007-07-16 10:03:03 +00:00
Felix Fietkau
0806675217
kernel: fix dependencies for .config, use selections from oldconfig when running menuconfig
...
SVN-Revision: 7997
2007-07-16 05:28:13 +00:00
Felix Fietkau
60d6defb08
target scan needs a maxdepth of 2
...
SVN-Revision: 7987
2007-07-16 00:07:56 +00:00
Felix Fietkau
c1f20e60f5
set maxdepth appropriately for package scanning
...
SVN-Revision: 7985
2007-07-15 23:39:22 +00:00
Felix Fietkau
bdc9419a20
rewrite of the metadata scanning - cleaner code, faster scanning, recursive scanning and better handling of makefile dependencies
...
SVN-Revision: 7981
2007-07-15 22:51:12 +00:00
Felix Fietkau
6f66bc61f9
fix distclean
...
SVN-Revision: 7940
2007-07-12 10:55:00 +00:00
Felix Fietkau
a925fec9c7
fix docs compile targets
...
SVN-Revision: 7905
2007-07-10 16:38:05 +00:00
Florian Fainelli
a03b9ae8ad
Regenerate the menuconfig once symlinked packages are gone
...
SVN-Revision: 7399
2007-05-30 10:37:43 +00:00
Felix Fietkau
2555097cc6
fix target rescan (version kernel changes)
...
SVN-Revision: 7317
2007-05-23 21:11:48 +00:00
Felix Fietkau
90237dd18c
Make UCI preconfiguration optional and disabled by default
...
SVN-Revision: 7095
2007-05-05 10:06:10 +00:00
Felix Fietkau
874f03ea00
fixes for a few build errors on osx without fink
...
SVN-Revision: 7065
2007-04-29 01:30:48 +00:00
Felix Fietkau
3e91dd1bd5
revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
...
SVN-Revision: 6942
2007-04-12 19:18:38 +00:00
Mike Baker
9b62c7eb9d
minor tweaks to the verbose system
...
SVN-Revision: 6936
2007-04-11 22:59:42 +00:00
Mike Baker
3885d2b542
fix targetinfo, packageinfo
...
SVN-Revision: 6932
2007-04-11 16:33:01 +00:00
Mike Baker
169e9ea9a2
fix a few bugs with the last few commits
...
SVN-Revision: 6887
2007-04-07 15:11:17 +00:00
Felix Fietkau
dfa0901b98
make a few commands silent and fix defconfig logic
...
SVN-Revision: 6886
2007-04-07 13:30:57 +00:00
Nicolas Thill
e66c304cb9
fix typo
...
SVN-Revision: 6885
2007-04-07 13:26:07 +00:00
Felix Fietkau
216fc583c7
fix package/target scanning
...
SVN-Revision: 6884
2007-04-07 12:37:10 +00:00
Mike Baker
071c07028a
trivial formatting - remove a few @'s and use a .silent instead
...
SVN-Revision: 6883
2007-04-07 12:06:00 +00:00
Mike Baker
1ad09590cc
same as [6881]
...
SVN-Revision: 6882
2007-04-07 11:53:18 +00:00
Felix Fietkau
5305aba549
fix menuconfig
...
SVN-Revision: 6881
2007-04-07 11:03:05 +00:00
Mike Baker
5e42783559
fix menuconfig checks
...
SVN-Revision: 6879
2007-04-07 10:31:46 +00:00
Felix Fietkau
c3a9685aa3
use ~/.openwrt/defconfig as default config if it exists
...
SVN-Revision: 6876
2007-04-06 23:09:06 +00:00
Mike Baker
23efe5fc83
Tidy up Makefiles
...
SVN-Revision: 6857
2007-04-03 23:03:56 +00:00
Mike Baker
0359c6222e
Using find's -exec to remove directories causes 'not found' errors when find tries to search the removed directory. Hopefully fixed now.
...
SVN-Revision: 6849
2007-04-03 11:56:08 +00:00
Florian Fainelli
6cd84c6838
Use find -exec instead of xargs
...
SVN-Revision: 6837
2007-04-02 16:09:15 +00:00
Felix Fietkau
f952681f35
run metadata scanning only once when multiple targets are specified on the command line
...
SVN-Revision: 6754
2007-03-29 11:26:35 +00:00
Felix Fietkau
fcf0aa5ab7
make sure tmp/info gets created
...
SVN-Revision: 6749
2007-03-28 18:26:21 +00:00
Felix Fietkau
e71ae20b0b
nuke some unnecessary complexity in the metadata scanning - simply call include/scan.mk on every make invocation (does not add any noticeable performance impact)
...
SVN-Revision: 6745
2007-03-28 18:01:46 +00:00
Florian Fainelli
c41e00ae34
Add some more clean targets
...
SVN-Revision: 6721
2007-03-26 22:09:00 +00:00
Florian Fainelli
e3e20cce5c
Add a symlinkclean target to remove symlinks
...
SVN-Revision: 6720
2007-03-26 22:01:47 +00:00
Felix Fietkau
08c5cb8c23
fix metadata scan for profile split
...
SVN-Revision: 6515
2007-03-04 21:07:29 +00:00
Felix Fietkau
d5c45d8a05
add some missing deps for the metadata files
...
SVN-Revision: 6513
2007-03-04 20:39:56 +00:00
Felix Fietkau
423e90915d
Massive speedup in the package/target scanning step - per package metadata files are now cached. - timestamp.pl calls have been replaced with make file dependencies - an extra stamp file ensures that directory listing changes force a rebuild
...
SVN-Revision: 6404
2007-02-27 21:14:00 +00:00
Felix Fietkau
509bb267a3
make kernel_menuconfig work without target toolchain
...
SVN-Revision: 6312
2007-02-16 17:28:22 +00:00
Felix Fietkau
8afbc2d617
add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
...
SVN-Revision: 6310
2007-02-16 16:59:44 +00:00
Mike Baker
7656ad75e5
move "make symlinks" to "make package/symlinks"
...
SVN-Revision: 6234
2007-01-31 18:33:04 +00:00
Felix Fietkau
06e88a80c7
merge the scripts dealing with package/target metadata to remove some redundant code
...
SVN-Revision: 6088
2007-01-13 14:05:14 +00:00
Florian Fainelli
efd05a509f
Add a doc target and use the defined source feeds to make symlinks
...
SVN-Revision: 5993
2007-01-05 15:34:14 +00:00
Florian Fainelli
945b4fb8d4
Add a first implementation of a source feed checkout
...
SVN-Revision: 5943
2006-12-31 15:02:08 +00:00
Felix Fietkau
a4484d267b
cosmetic fixes
...
SVN-Revision: 5851
2006-12-19 01:23:31 +00:00
Felix Fietkau
5aa57f3f70
implement real-time progress info for the package/target info collect (thanks to Thorsten Glaser for the idea)
...
SVN-Revision: 5850
2006-12-19 01:20:44 +00:00
Florian Fainelli
a4fad88c00
Add a help target in case people want to read the README ;)
...
SVN-Revision: 5739
2006-12-09 19:37:19 +00:00
Mike Baker
16edf83d62
trivial changes
...
SVN-Revision: 5668
2006-11-28 20:12:48 +00:00
Felix Fietkau
4750ca58a3
clear .host.mk before running prereq checks (rechecks for missing packages like gnu tar on *bsd)
...
SVN-Revision: 5632
2006-11-23 23:49:58 +00:00
Felix Fietkau
aef03f09b5
add prereq checks for target/linux/* and target/image/*, check for fdisk for the x86 builds
...
SVN-Revision: 5569
2006-11-18 21:12:18 +00:00
Felix Fietkau
105a602ecf
implement target profiles in menuconfig
...
SVN-Revision: 5512
2006-11-12 05:06:56 +00:00
Felix Fietkau
b8712cb816
tty detect fix
...
SVN-Revision: 5510
2006-11-12 02:56:35 +00:00
Felix Fietkau
cf10a1dd5e
another optimization
...
SVN-Revision: 5507
2006-11-12 01:55:28 +00:00
Felix Fietkau
d130994932
fix unnecessary rebuild of .targetinfo
...
SVN-Revision: 5504
2006-11-12 01:45:43 +00:00
Felix Fietkau
e97426b839
fix typo
...
SVN-Revision: 5503
2006-11-12 01:39:27 +00:00
Felix Fietkau
cf4e7af392
make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
...
SVN-Revision: 5498
2006-11-11 23:11:02 +00:00
Felix Fietkau
5f05cf26ee
another fix for invalid fd messages
...
SVN-Revision: 5076
2006-10-14 13:02:09 +00:00
Felix Fietkau
13c1060ce2
force LANG to C
...
SVN-Revision: 5074
2006-10-14 11:37:37 +00:00
Felix Fietkau
3897f85854
fix invalid fd warning on mac os x
...
SVN-Revision: 5072
2006-10-14 11:17:57 +00:00
Felix Fietkau
60c1f0f64d
finally move buildroot-ng to trunk
2016-03-20 17:29:15 +01:00