Revision 5666c0947ede0432ba5148570aa66ffb9febff5b authored by Linus Torvalds on 01 December 2005, 06:25:15 UTC, committed by Linus Torvalds on 01 December 2005, 06:25:15 UTC
1 parent d2149b5
mkmakefile
#!/bin/sh
# Generates a small Makefile used in the root of the output
# directory, to allow make to be started from there.
# The Makefile also allow for more convinient build of external modules
# Usage
# $1 - Kernel src directory
# $2 - Output directory
# $3 - version
# $4 - patchlevel
cat << EOF
# Automatically generated by $0: don't edit
VERSION = $3
PATCHLEVEL = $4
KERNELSRC := $1
KERNELOUTPUT := $2
MAKEFLAGS += --no-print-directory
all:
\$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT)
%::
\$(MAKE) -C \$(KERNELSRC) O=\$(KERNELOUTPUT) \$@
EOF
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...