Skip to content

Commit

Permalink
Tutorial: update comments in config.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
vhotspur committed Sep 27, 2024
1 parent b65cf82 commit 58931ae
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 18 deletions.
6 changes: 4 additions & 2 deletions contrib/kernel-tutorial-mips32/first/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/mips32/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/mips32
TARGET = mipsel-linux-gnu
Expand Down
6 changes: 4 additions & 2 deletions contrib/kernel-tutorial-mips32/string/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/mips32/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/mips32
TARGET = mipsel-linux-gnu
Expand Down
6 changes: 4 additions & 2 deletions contrib/kernel-tutorial-mips32/unaligned/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/mips32/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/mips32
TARGET = mipsel-linux-gnu
Expand Down
6 changes: 4 additions & 2 deletions contrib/kernel-tutorial-mips32/volatile/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/mips32/bin/mipsel-linux-gnu-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/mips32
TARGET = mipsel-linux-gnu
Expand Down
6 changes: 4 additions & 2 deletions contrib/kernel-tutorial-riscv32/first/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
Expand Down
6 changes: 4 additions & 2 deletions contrib/kernel-tutorial-riscv32/string/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
Expand Down
6 changes: 4 additions & 2 deletions contrib/kernel-tutorial-riscv32/unaligned/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
Expand Down
6 changes: 4 additions & 2 deletions contrib/kernel-tutorial-riscv32/volatile/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
Expand Down
6 changes: 4 additions & 2 deletions contrib/virtmem-tutorial-riscv32/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# Copyright 2020 Charles University

# 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.
# We search /opt/mffd3s where our packages (please, see our tutorial)
# are installed and /usr where some distributions prefer to install cross
# compilation tools. The last branch that searches $HOME/.local is expected
# to be overriden if you use a different location for the toolchain.
ifneq ("$(wildcard /opt/mffd3s/riscv32/bin/riscv32-unknown-elf-gcc)", "")
TOOLCHAIN_DIR = /opt/mffd3s/riscv32
TARGET = riscv32-unknown-elf
Expand Down

0 comments on commit 58931ae

Please sign in to comment.