Alexander Shishkin
daf286cda5
Fix out-of-tree build's recursion
...
While doing O=build build I've noticed that it was getting gradually
slower with each invocation. The reason turned out to be that the build
directory was inside the source tree and got recreated inside itself
with all its subdirectories.
This patch changes the behavior so that only the directories with
Kbuild.src or Config.src in them are created in the out-of-tree build
directory. A quick rebuild from scratch revealed no problems with this.
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-07-18 23:57:49 +02:00
Denys Vlasenko
1883cb1746
fix make O=dir build
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-07-09 01:25:36 +02:00
Denys Vlasenko
1d72d43940
gen_build_files.sh is an order prerequisite only for autoconf.h
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-06-25 13:30:59 +02:00
Denys Vlasenko
f0f9470061
make it possible to keep usage texts in .c files
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-06-06 01:53:38 +02:00
Denys Vlasenko
6c5bf0d347
make it possible to have include/applets.h-esque entries in .c files
...
As an example, bunzip2 and bzcat is changed to use it.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-06-06 00:53:45 +02:00
Denys Vlasenko
76c936f522
build system: make gen_build_files.sh messages more inline with the rest
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-27 02:33:31 +02:00
Denys Vlasenko
a1db8b8415
make scripts/gen_build_files.sh standard-clean
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-18 00:24:17 +02:00
Denys Vlasenko
3015a1351a
scripts/gen_build_files.sh: revert to using /bin/sh
...
People want busybox to build w/o bash, with /bin/sh = ash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-17 01:59:16 +02:00
Denys Vlasenko
084e2284c7
gen_build_files.sh uses bashism, document it
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-15 21:08:51 +02:00
Denys Vlasenko
c84c85ae34
gen_build_files: use raw reads (ones which don't eat backslashes)
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-14 20:30:44 +02:00
Denys Vlasenko
8e3aff0ce0
more randomconfig testsuite fixes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-10 11:00:11 +02:00
Denys Vlasenko
1602a5cdb9
gen_build_files.sh should be executable
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-10 04:18:42 +02:00
Denys Vlasenko
572b9a3019
tweak scripts/gen_build_files.sh
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-09 16:20:52 +02:00
Denys Vlasenko
7fb68f199f
make it possible to keep Config/Kbuild snippets in *.c files
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-09 04:22:48 +02:00