Skip to content

Commit

Permalink
[rmkit] update for new rM toolchain (ferrari)
Browse files Browse the repository at this point in the history
  • Loading branch information
okay committed Jan 5, 2025
1 parent 076ec18 commit 4682bca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actions.make
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ compile_kobo: ../build/stb.arm.o libfbink
compile_kobo: export CPP_FLAGS += -O2 -static -static-libstdc++ -static-libgcc
compile_kobo: export OKP_FLAGS += ../build/stb.arm.o
compile_kobo:
CXX=${CXX_BIN} okp ${OKP_FLAGS} -- -D"KOBO=1" -D${RMKIT_IMPL} ${CPP_FLAGS}
CXX="${CXX_BIN}" okp ${OKP_FLAGS} -- -D"KOBO=1" -D${RMKIT_IMPL} ${CPP_FLAGS}

compile_remarkable: ../build/stb.arm.o libfbink
compile_remarkable: export CPP_FLAGS += -O2
compile_remarkable: export OKP_FLAGS += ../build/stb.arm.o
compile_remarkable:
CXX=${CXX_BIN} okp ${OKP_FLAGS} -- -D"REMARKABLE=1" -D${RMKIT_IMPL} ${CPP_FLAGS}
CXX="${CXX_BIN}" okp ${OKP_FLAGS} -- -D"REMARKABLE=1" -D${RMKIT_IMPL} ${CPP_FLAGS}

compile_remarkable_fast: ../build/stb.arm.o
compile_remarkable_fast: export CPP_FLAGS += -O0 -g
compile_remarkable_fast: export OKP_FLAGS += ../build/stb.arm.o
compile_remarkable_fast:
CXX=${CXX_BIN} okp ${OKP_FLAGS} -- -D"REMARKABLE=1" -D${RMKIT_IMPL} ${CPP_FLAGS}
CXX="${CXX_BIN}" okp ${OKP_FLAGS} -- -D"REMARKABLE=1" -D${RMKIT_IMPL} ${CPP_FLAGS}

compile_dev: ../build/stb.x86.o
compile_dev: export CPP_FLAGS += -O0 -g
Expand Down
1 change: 1 addition & 0 deletions src/common.make
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TARGET?=rm
CROSS_TC?=arm-linux-gnueabihf
CXX_BIN?=${CROSS_TC}-g++
CC_BIN?=${CROSS_TC}-gcc
CXX_BIN?=${CXX}
STRIP_BIN?=${CROSS_TC}-strip
CPP_FLAGS=-ldl -pthread -lpthread -fdata-sections -ffunction-sections -Wl,--gc-sections

Expand Down

0 comments on commit 4682bca

Please # to comment.