Skip to content

Commit

Permalink
Tutorial: fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
vhotspur committed Sep 27, 2024
1 parent 56a85cd commit b65cf82
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions contrib/kernel-tutorial-mips32/first/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/mips32/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/mips32
TARGET = mipsel-linux-gnu
else
ifneq ("$(wildcard /usr/bin/mipsel-unknown-linux-gnu-gcc)", "")
Expand Down
4 changes: 2 additions & 2 deletions contrib/kernel-tutorial-mips32/string/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/mips32/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/mips32
TARGET = mipsel-linux-gnu
else
ifneq ("$(wildcard /usr/bin/mipsel-unknown-linux-gnu-gcc)", "")
Expand Down
4 changes: 2 additions & 2 deletions contrib/kernel-tutorial-mips32/unaligned/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/mips32/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/mips32
TARGET = mipsel-linux-gnu
else
ifneq ("$(wildcard /usr/bin/mipsel-unknown-linux-gnu-gcc)", "")
Expand Down
4 changes: 2 additions & 2 deletions contrib/kernel-tutorial-mips32/volatile/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/mips32/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/mips32
TARGET = mipsel-linux-gnu
else
ifneq ("$(wildcard /usr/bin/mipsel-unknown-linux-gnu-gcc)", "")
Expand Down
4 changes: 2 additions & 2 deletions contrib/kernel-tutorial-riscv32/first/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
else
ifneq ("$(wildcard /usr/bin/riscv32-unknown-elf-gcc)", "")
Expand Down
4 changes: 2 additions & 2 deletions contrib/kernel-tutorial-riscv32/string/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
else
ifneq ("$(wildcard /usr/bin/riscv32-unknown-elf-gcc)", "")
Expand Down
4 changes: 2 additions & 2 deletions contrib/kernel-tutorial-riscv32/unaligned/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
else
ifneq ("$(wildcard /usr/bin/riscv32-unknown-elf-gcc)", "")
Expand Down
4 changes: 2 additions & 2 deletions contrib/kernel-tutorial-riscv32/volatile/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
else
ifneq ("$(wildcard /usr/bin/riscv32-unknown-elf-gcc)", "")
Expand Down
4 changes: 2 additions & 2 deletions contrib/virtmem-tutorial-riscv32/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Guess where the toolchain is installed.
# Override the last branch if you are not in Rotunda
# or you have not used our cross-compiler build script.
ifneq ("$(wildcard /opt/mffd3s/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
else
ifneq ("$(wildcard /usr/bin/riscv32-unknown-elf-gcc)", "")
Expand Down

0 comments on commit b65cf82

Please sign in to comment.