original_kernel/scripts
Milton Miller 0b35786d77 kbuild: call make once for all targets when O=.. is used
Change the invocations of make in the output directory Makefile and the
main Makefile for separate object trees to pass all goals to one $(MAKE)
via a new phony target "sub-make" and the existing target _all.

When compiling with separate object directories, a separate make is called
in the context of another directory (from the output directory the main
Makefile is called, the Makefile is then restarted with current directory
set to the object tree).  Before this patch, when multiple make command
goals are specified, each target results in a separate make invocation.
With make -j, these invocations may run in parallel, resulting in multiple
commands running in the same directory clobbering each others results.

I did not try to address make -j for mixed dot-config and no-dot-config
targets.  Because the order does matter, a solution was not obvious.
Perhaps a simple check for MAKEFLAGS having -j and refusing to run would
be appropriate.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-10-12 21:20:32 +02:00
..
basic docproc: style & typo cleanups 2007-10-12 21:15:31 +02:00
genksyms kbuild: apply genksyms changes 2007-10-12 21:15:31 +02:00
kconfig kbuild: update _shipped files for kconfig syntax cleanup 2007-10-12 21:20:32 +02:00
ksymoops
mod kbuild: fix segfault in modpost 2007-10-12 21:15:30 +02:00
package
rt-tester
.gitignore
Kbuild.include
Lindent
Makefile
Makefile.build
Makefile.clean
Makefile.headersinst
Makefile.host
Makefile.lib kbuild: fix directory traversal bug 2007-10-12 21:15:31 +02:00
Makefile.modinst
Makefile.modpost
bin2c.c
binoffset.c
bloat-o-meter
checkincludes.pl
checkkconfigsymbols.sh kbuild: script to check for undefined Kconfig symbols 2007-10-12 21:13:50 +02:00
checkpatch.pl
checkstack.pl [AVR32] checkstack support 2007-10-11 12:16:56 +02:00
checksyscalls.sh i386/x86_64: move headers to include/asm-x86 2007-10-11 11:20:03 +02:00
checkversion.pl
cleanfile
cleanpatch
conmakehash.c
decodecode
export_report.pl kbuild: fix perl usage in export_report.pl 2007-10-12 21:13:50 +02:00
extract-ikconfig
gcc-version.sh kbuild: improve scripts/gcc-version.sh output a bit when called without args 2007-10-12 21:15:30 +02:00
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
hdrcheck.sh
kallsyms.c
kernel-doc
makelst
mkcompile_h
mkmakefile kbuild: call make once for all targets when O=.. is used 2007-10-12 21:20:32 +02:00
mksysmap
mkuboot.sh
mkversion
namespace.pl x86: fixup the x86 namespace change in scripts/namespace.pl 2007-10-11 17:56:02 +02:00
patch-kernel
pnmtologo.c
profile2linkerlist.pl
setlocalversion
show_delta
unifdef.c
ver_linux kbuild: scripts/ver_linux : correct printing of binutils version 2007-10-12 21:15:31 +02:00