Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/rtl8127-omega/blob/main/tools/build.sh # rtl8127-omega aien-dev/rtl8127-omega Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `rtl8127-omega / tools / build.sh` 10 lines ยท 526 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 3 # Build dist/rtl8127-probe-linux-aarch64 from the Omega sources with the pinned compiler. Usage: tools/build.sh [OMC] 4 set -eu 5 root=$(cd "$(dirname "$0")/.." && pwd) 6 omc=${1:-$("$root/tools/omc.sh")} 7 mkdir -p "$root/dist" "$root/build" 8 cat "$root/om/rtl8127/rtl8127.om" "$root/om/rtl8127/hw.om" "$root/cmd/rtl8127d/probe.om" | "$omc" > "$root/dist/rtl8127-probe-linux-aarch64" 9 chmod 755 "$root/dist/rtl8127-probe-linux-aarch64" 10 sha256sum "$root/dist/rtl8127-probe-linux-aarch64"