Commit 3156fd05 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Sam Ravnborg

kbuild: fix some minor typoes

Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent eed7d279
...@@ -27,12 +27,12 @@ ccflags-y := ...@@ -27,12 +27,12 @@ ccflags-y :=
cppflags-y := cppflags-y :=
ldflags-y := ldflags-y :=
# Read .config if it exist, otherwise ignore # Read auto.conf if it exists, otherwise ignore
-include include/config/auto.conf -include include/config/auto.conf
include scripts/Kbuild.include include scripts/Kbuild.include
# For backward compatibility check that these variables does not change # For backward compatibility check that these variables do not change
save-cflags := $(CFLAGS) save-cflags := $(CFLAGS)
# The filename Kbuild has precedence over Makefile # The filename Kbuild has precedence over Makefile
...@@ -55,7 +55,7 @@ hostprogs-y += $(host-progs) ...@@ -55,7 +55,7 @@ hostprogs-y += $(host-progs)
endif endif
endif endif
# Do not include host rules unles needed # Do not include host rules unless needed
ifneq ($(hostprogs-y)$(hostprogs-m),) ifneq ($(hostprogs-y)$(hostprogs-m),)
include scripts/Makefile.host include scripts/Makefile.host
endif endif
......
...@@ -37,7 +37,7 @@ subdir-ymn := $(sort $(subdir-ym) $(subdir-n) $(subdir-)) ...@@ -37,7 +37,7 @@ subdir-ymn := $(sort $(subdir-ym) $(subdir-n) $(subdir-))
subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn)) subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn))
# build a list of files to remove, usually releative to the current # build a list of files to remove, usually relative to the current
# directory # directory
__clean-files := $(extra-y) $(always) \ __clean-files := $(extra-y) $(always) \
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
# Binaries are used during the compilation of the kernel, for example # Binaries are used during the compilation of the kernel, for example
# to preprocess a data file. # to preprocess a data file.
# #
# Both C and C++ is supported, but preferred language is C for such utilities. # Both C and C++ are supported, but preferred language is C for such utilities.
# #
# Samle syntax (see Documentation/kbuild/makefile.txt for reference) # Sample syntax (see Documentation/kbuild/makefiles.txt for reference)
# hostprogs-y := bin2hex # hostprogs-y := bin2hex
# Will compile bin2hex.c and create an executable named bin2hex # Will compile bin2hex.c and create an executable named bin2hex
# #
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
# hostprogs-y := conf # hostprogs-y := conf
# conf-objs := conf.o libkconfig.so # conf-objs := conf.o libkconfig.so
# libkconfig-objs := expr.o type.o # libkconfig-objs := expr.o type.o
# Will create a shared library named libkconfig.so that consist of # Will create a shared library named libkconfig.so that consists of
# expr.o and type.o (they are both compiled as C code and the object file # expr.o and type.o (they are both compiled as C code and the object files
# are made as position independent code). # are made as position independent code).
# conf.c is compiled as a c program, and conf.o is linked together with # conf.c is compiled as a C program, and conf.o is linked together with
# libkconfig.so as the executable conf. # libkconfig.so as the executable conf.
# Note: Shared libraries consisting of C++ files are not supported # Note: Shared libraries consisting of C++ files are not supported
...@@ -61,7 +61,7 @@ host-cobjs := $(filter-out %.so,$(host-cobjs)) ...@@ -61,7 +61,7 @@ host-cobjs := $(filter-out %.so,$(host-cobjs))
host-cshobjs := $(sort $(foreach m,$(host-cshlib),$($(m:.so=-objs)))) host-cshobjs := $(sort $(foreach m,$(host-cshlib),$($(m:.so=-objs))))
# output directory for programs/.o files # output directory for programs/.o files
# hostprogs-y := tools/build may have been specified. Retreive directory # hostprogs-y := tools/build may have been specified. Retrieve directory
host-objdirs := $(foreach f,$(__hostprogs), $(if $(dir $(f)),$(dir $(f)))) host-objdirs := $(foreach f,$(__hostprogs), $(if $(dir $(f)),$(dir $(f))))
# directory of .o files from prog-objs notation # directory of .o files from prog-objs notation
host-objdirs += $(foreach f,$(host-cmulti), \ host-objdirs += $(foreach f,$(host-cmulti), \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment