aboutsummaryrefslogtreecommitdiff
path: root/examples/lowlevel
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-07-05 02:34:11 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-07-05 02:34:11 +0200
commitbeb76e4dd362374b8f42cd971d394bba1074cd8d (patch)
tree3ea4cc342737afb9225c01160c92647ba66c78bd /examples/lowlevel
parent5d9aa2d3dfc7d6e51c2eb942ab4cdbae5571a40a (diff)
Replace .include with #includefix-include
For some reason, both mipsel-unknown-elf-gcc 8.2.0 and mipsel-non-elf 15.1.0 were unable to resolve .include assembler directives. As a workaround, it is still possible to use the preprocessor, and therefore the usual #include preprocessor directive. However, this requires the assembly files to use the uppercase .S file extension.
Diffstat (limited to 'examples/lowlevel')
-rw-r--r--examples/lowlevel/cartrom/CMakeLists.txt2
-rw-r--r--examples/lowlevel/cartrom/rom.S (renamed from examples/lowlevel/cartrom/rom.s)0
2 files changed, 1 insertions, 1 deletions
diff --git a/examples/lowlevel/cartrom/CMakeLists.txt b/examples/lowlevel/cartrom/CMakeLists.txt
index 6a94d9f..b674002 100644
--- a/examples/lowlevel/cartrom/CMakeLists.txt
+++ b/examples/lowlevel/cartrom/CMakeLists.txt
@@ -11,7 +11,7 @@ project(
HOMEPAGE_URL "http://lameguy64.net/?page=psn00bsdk"
)
-file(GLOB _sources *.c *.s)
+file(GLOB _sources *.c *.S)
# This example only uses the toolchain (without the rest of the SDK), so the
# executable has to be created manually and converted into raw binary format
diff --git a/examples/lowlevel/cartrom/rom.s b/examples/lowlevel/cartrom/rom.S
index 587ba6f..587ba6f 100644
--- a/examples/lowlevel/cartrom/rom.s
+++ b/examples/lowlevel/cartrom/rom.S