diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-11-20 19:38:02 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-11-20 19:40:00 +0100 |
| commit | 810ae682a3b80ed621fd1e20c01241ac48381156 (patch) | |
| tree | 3a6f293cf587e9e14e6033433f9bc9b39ece0182 /genconfig.py | |
| parent | 82f59179b1b35fcd8b6d188453b283599ea70518 (diff) | |
genconfig: Add tip re. defining multi-line variables in makefiles
Handy for KCONFIG_{CONFIG,AUTOHEADER}_HEADER.
Diffstat (limited to 'genconfig.py')
| -rwxr-xr-x | genconfig.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/genconfig.py b/genconfig.py index b202a5b..7d701ff 100755 --- a/genconfig.py +++ b/genconfig.py @@ -27,6 +27,10 @@ KCONFIG_AUTOHEADER_HEADER environment variables, respectively (this also works for other scripts). The string is not automatically made a comment (this is by design, to allow anything to be added), and no trailing newline is added, so add '/* */', '#', and newlines as appropriate. + +See https://www.gnu.org/software/make/manual/make.html#Multi_002dLine for a +handy way to define multi-line variables in makefiles, for use with custom +headers. Remember to export the variable to the environment. """ import argparse import os |
