]> Git Repo - linux.git/blame - scripts/mkmakefile
docs: cma/debugfs.txt: convert docs to ReST and rename to *.rst
[linux.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
This page took 0.776744 seconds and 4 git commands to generate.