Blame view
scripts/mkmakefile
426 Bytes
1da177e4c Linux-2.6.12-rc2 |
1 |
#!/bin/sh |
b24413180 License cleanup: ... |
2 |
# SPDX-License-Identifier: GPL-2.0 |
1da177e4c Linux-2.6.12-rc2 |
3 4 5 6 7 8 |
# 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 |
1da177e4c Linux-2.6.12-rc2 |
9 |
|
d2301249e kbuild: teach mkm... |
10 |
if [ "${quiet}" != "silent_" ]; then |
4fd61277f kbuild: do not pa... |
11 |
echo " GEN Makefile" |
d2301249e kbuild: teach mkm... |
12 |
fi |
fd5f0cd6b kbuild: Do not ov... |
13 |
|
4fd61277f kbuild: do not pa... |
14 |
cat << EOF > Makefile |
9c3ad4c14 kbuild: get rid o... |
15 16 |
# Automatically generated by $0: don't edit include $1/Makefile |
1da177e4c Linux-2.6.12-rc2 |
17 |
EOF |