]>
Commit | Line | Data |
---|---|---|
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 | 10 | if [ "${quiet}" != "silent_" ]; then |
4fd61277 | 11 | echo " GEN Makefile" |
d2301249 | 12 | fi |
fd5f0cd6 | 13 | |
4fd61277 | 14 | cat << EOF > Makefile |
48b5ffd1 MY |
15 | # Automatically generated by $(realpath $0): don't edit |
16 | include $(realpath $1/Makefile) | |
1da177e4 | 17 | EOF |