]> git.ipfire.org Git - thirdparty/kernel/stable.git/blame - scripts/mkmakefile
Merge branch 'stable/for-linus-5.2' of git://git.kernel.org/pub/scm/linux/kernel...
[thirdparty/kernel/stable.git] / scripts / mkmakefile
CommitLineData
1da177e4 1#!/bin/sh
b2441318 2# SPDX-License-Identifier: GPL-2.0
1da177e4
LT
3# Generates a small Makefile used in the root of the output
4# directory, to allow make to be started from there.
5# The Makefile also allow for more convinient build of external modules
6
7# Usage
8# $1 - Kernel src directory
1da177e4 9
d2301249 10if [ "${quiet}" != "silent_" ]; then
4fd61277 11 echo " GEN Makefile"
d2301249 12fi
fd5f0cd6 13
4fd61277 14cat << EOF > Makefile
48b5ffd1
MY
15# Automatically generated by $(realpath $0): don't edit
16include $(realpath $1/Makefile)
1da177e4 17EOF