mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-12 19:09:56 +03:00
Add the cross compiling documentation to the pmbootstrap docs. This is based on the following wiki pages, but updated to reflect new changes with cross-native2 and to make it more readable: * https://wiki.postmarketos.org/wiki/Pmbootstrap/Cross_Compiling * https://wiki.postmarketos.org/wiki/Build_internals#Cross-compile_types Co-authored-by: Caleb Connolly <caleb@postmarketos.org>
22 lines
372 B
Bash
Executable file
22 lines
372 B
Bash
Executable file
#!/bin/sh -ex
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
# Copyright 2023 Oliver Smith
|
|
# Description: find typos
|
|
# https://postmarketos.org/pmb-ci
|
|
|
|
if [ "$(id -u)" = 0 ]; then
|
|
set -x
|
|
apk -q add \
|
|
py3-codespell
|
|
exec su "${TESTUSER:-build}" -c "sh -e $0"
|
|
fi
|
|
|
|
set -x
|
|
|
|
# -L: words to ignore
|
|
codespell \
|
|
-L crate \
|
|
-L gir \
|
|
-L hda \
|
|
-S "./pmb/helpers/locale.py" \
|
|
.
|