summaryrefslogtreecommitdiffstats
path: root/Documentation/kbuild/kbuild.txt
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-07-10 02:46:02 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-17 18:18:05 +0200
commitf92d19e0ef9bbbb2984845682e740934ad45473b (patch)
treebaa208d84abaa2d8bcddf07b358cdd33bb081ac2 /Documentation/kbuild/kbuild.txt
parentkbuild: Rename HOST_LOADLIBES to KBUILD_HOSTLDLIBS (diff)
downloadlinux-f92d19e0ef9bbbb2984845682e740934ad45473b.tar.xz
linux-f92d19e0ef9bbbb2984845682e740934ad45473b.zip
kbuild: Use HOST*FLAGS options from the command line
Now that we have the rename in place, reuse the HOST*FLAGS options as something that can be set from the command line and included with the rest of the flags. Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Documentation/kbuild/kbuild.txt')
-rw-r--r--Documentation/kbuild/kbuild.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/kbuild/kbuild.txt b/Documentation/kbuild/kbuild.txt
index 114c7ce7b58d..8390c360d4b3 100644
--- a/Documentation/kbuild/kbuild.txt
+++ b/Documentation/kbuild/kbuild.txt
@@ -50,6 +50,22 @@ LDFLAGS_MODULE
--------------------------------------------------
Additional options used for $(LD) when linking modules.
+HOSTCFLAGS
+--------------------------------------------------
+Additional flags to be passed to $(HOSTCC) when building host programs.
+
+HOSTCXXFLAGS
+--------------------------------------------------
+Additional flags to be passed to $(HOSTCXX) when building host programs.
+
+HOSTLDFLAGS
+--------------------------------------------------
+Additional flags to be passed when linking host programs.
+
+HOSTLDLIBS
+--------------------------------------------------
+Additional libraries to link against when building host programs.
+
KBUILD_KCONFIG
--------------------------------------------------
Set the top-level Kconfig file to the value of this environment