Makefile.host (860dbce3d8dd90cb9e909c58fa79808766243651) | Makefile.host (cd238effefa28fac177e51dcf5e9d1a8b59c3c6b) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# ========================================================================== 3# Building binaries on the host system 4# Binaries are used during the compilation of the kernel, for example 5# to preprocess a data file. 6# 7# Both C and C++ are supported, but preferred language is C for such utilities. 8# | 1# SPDX-License-Identifier: GPL-2.0 2# ========================================================================== 3# Building binaries on the host system 4# Binaries are used during the compilation of the kernel, for example 5# to preprocess a data file. 6# 7# Both C and C++ are supported, but preferred language is C for such utilities. 8# |
9# Sample syntax (see Documentation/kbuild/makefiles.txt for reference) | 9# Sample syntax (see Documentation/kbuild/makefiles.rst for reference) |
10# hostprogs-y := bin2hex 11# Will compile bin2hex.c and create an executable named bin2hex 12# 13# hostprogs-y := lxdialog 14# lxdialog-objs := checklist.o lxdialog.o 15# Will compile lxdialog.c and checklist.c, and then link the executable 16# lxdialog, based on checklist.o and lxdialog.o 17# --- 147 unchanged lines hidden --- | 10# hostprogs-y := bin2hex 11# Will compile bin2hex.c and create an executable named bin2hex 12# 13# hostprogs-y := lxdialog 14# lxdialog-objs := checklist.o lxdialog.o 15# Will compile lxdialog.c and checklist.c, and then link the executable 16# lxdialog, based on checklist.o and lxdialog.o 17# --- 147 unchanged lines hidden --- |