From 810ae682a3b80ed621fd1e20c01241ac48381156 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 20 Nov 2019 19:38:02 +0100 Subject: genconfig: Add tip re. defining multi-line variables in makefiles Handy for KCONFIG_{CONFIG,AUTOHEADER}_HEADER. --- genconfig.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3