Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: Ia6b70713d3e9b77d6fd2d9400489ef7f02360364
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/initramfs-build.sh b/initramfs-build.sh
index 2cc4c28..f3af769 100755
--- a/initramfs-build.sh
+++ b/initramfs-build.sh
@@ -14,7 +14,7 @@
# Default variables
WORKSPACE=${WORKSPACE:-${HOME}/${RANDOM}${RANDOM}}
http_proxy=${http_proxy:-}
-ENDIANESS=${ENDIANESS:-le}
+ENDIANNESS=${ENDIANNESS:-le}
PROXY=""
function usage() {
@@ -22,24 +22,24 @@
Usage: $0 [options]
Options:
---endianess <le|be> build an LE or BE initramfs
+--endianness <le|be> build an LE or BE initramfs
Short Options:
--e same as --endianess
+-e same as --endianness
EOF_USAGE
exit 1
}
# Arguments
-CMD_LINE=$(getopt -o d,e: --longoptions debug,endianess: -n "$0" -- "$@")
+CMD_LINE=$(getopt -o d,e: --longoptions debug,endianness: -n "$0" -- "$@")
eval set -- "${CMD_LINE}"
while true ; do
case "${1}" in
- -e|--endianess)
+ -e|--endianness)
if [[ "${2,,}" == "be" ]]; then
- ENDIANESS=""
+ ENDIANNESS=""
fi
shift 2
;;
@@ -123,8 +123,8 @@
cd buildroot && make clean
# Build PPC64 defconfig
-cat >> configs/powerpc64${ENDIANESS}_openpower_defconfig << EOF_BUILDROOT
-BR2_powerpc64${ENDIANESS}=y
+cat >> configs/powerpc64${ENDIANNESS}_openpower_defconfig << EOF_BUILDROOT
+BR2_powerpc64${ENDIANNESS}=y
BR2_CCACHE=y
BR2_SYSTEM_BIN_SH_BASH=y
BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
@@ -137,7 +137,7 @@
# Build buildroot
export BR2_DL_DIR="${HOME}/buildroot_downloads"
-make powerpc64${ENDIANESS}_openpower_defconfig
+make powerpc64${ENDIANNESS}_openpower_defconfig
make
EOF_SCRIPT