summaryrefslogtreecommitdiffstats
path: root/rules/templates
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-07-16 12:11:08 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-07-16 21:24:44 +0200
commit2e9845364f37febb476534bd7983b38dbcfecb3d (patch)
tree3a27888dc43ca1735eab353b5a0905404f1f8a83 /rules/templates
parent4129dc58d1bc6f075d5dff9fcf36981088106386 (diff)
downloadptxdist-2e9845364f37febb476534bd7983b38dbcfecb3d.tar.gz
ptxdist-2e9845364f37febb476534bd7983b38dbcfecb3d.tar.xz
spelling fixes found by codespell
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/templates')
-rw-r--r--rules/templates/kconfig/Kconfig2
-rw-r--r--rules/templates/src-linux-driver/@name@.c2
-rw-r--r--rules/templates/template-m4-macros/pkg.m42
-rw-r--r--rules/templates/template-m4-macros/ptx.m44
4 files changed, 5 insertions, 5 deletions
diff --git a/rules/templates/kconfig/Kconfig b/rules/templates/kconfig/Kconfig
index 590252f31..3467f007a 100644
--- a/rules/templates/kconfig/Kconfig
+++ b/rules/templates/kconfig/Kconfig
@@ -27,7 +27,7 @@ source "config/Kconfig"
#
# "## SECTION=project_specific"
#
-# After that include this menu or menues with the following line:
+# After that include this menu or menus with the following line:
#
# source "generated/project_specific.in"
#
diff --git a/rules/templates/src-linux-driver/@name@.c b/rules/templates/src-linux-driver/@name@.c
index 2d91368fa..7d26103ac 100644
--- a/rules/templates/src-linux-driver/@name@.c
+++ b/rules/templates/src-linux-driver/@name@.c
@@ -12,7 +12,7 @@
* This is the first of two exported functions to handle inserting this
* code into a running kernel
*
- * Returns 0 if successfull, otherwise -1
+ * Returns 0 if successful, otherwise -1
*/
static int __init template_init(void)
diff --git a/rules/templates/template-m4-macros/pkg.m4 b/rules/templates/template-m4-macros/pkg.m4
index 13a889017..f9075e56c 100644
--- a/rules/templates/template-m4-macros/pkg.m4
+++ b/rules/templates/template-m4-macros/pkg.m4
@@ -86,7 +86,7 @@ dnl Check to see whether a particular set of modules exists. Similar to
dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
dnl
dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-dnl only at the first occurence in configure.ac, so if the first place
+dnl only at the first occurrence in configure.ac, so if the first place
dnl it's called might be skipped (such as if it is within an "if", you
dnl have to call PKG_CHECK_EXISTS manually
AC_DEFUN([PKG_CHECK_EXISTS],
diff --git a/rules/templates/template-m4-macros/ptx.m4 b/rules/templates/template-m4-macros/ptx.m4
index 071012c98..77f285d27 100644
--- a/rules/templates/template-m4-macros/ptx.m4
+++ b/rules/templates/template-m4-macros/ptx.m4
@@ -12,9 +12,9 @@
# PTX_COMMON_CHECKS()
# Does common checks for libraries and programs
# PTX_LIBRARY_CHECKS()
-# Does library specific checks wich makes no sense for programs
+# Does library specific checks which makes no sense for programs
# PTX_APPLICATION_CHECKS()
-# Does program specific checks wich makes no sense for libraries
+# Does program specific checks which makes no sense for libraries
#
# Usage example:
#