head     1.1;
branch   1.1.1;
access   ;
symbols  start:1.1.1.1 pro:1.1.1;
locks    ; strict;
comment  @# @;


1.1
date     2006.07.21.03.55.59;  author kaurikim;  state Exp;
branches 1.1.1.1;
next     ;

1.1.1.1
date     2006.07.21.03.55.59;  author kaurikim;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@#!/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

@


1.1.1.1
log
@linux 2.6.13.5
@
text
@@
