treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / scripts / mkmakefile
blob1cb174751429119a211aa0150a0b64d4750adaa2
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
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
7 # Usage
8 # $1 - Kernel src directory
10 if [ "${quiet}" != "silent_" ]; then
11 echo " GEN Makefile"
14 cat << EOF > Makefile
15 # Automatically generated by $0: don't edit
16 include $1/Makefile
17 EOF