Skip to content

Commit 539df31

Browse files
author
okay
committed
[kobo][build] update ARCH=arm to ARCH=rm, since we now support kobo
1 parent c8e58d8 commit 539df31

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

.github/workflows/stable-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: "Build artifacts"
2323
run: |
24-
ARCH=arm make docker
24+
ARCH=rm make docker
2525
ARCH=kobo make docker
2626
2727
- name: "Declare vars"

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ lint: $(LINT_APPS)
5656
dev: export ARCH=dev
5757
dev: default
5858

59-
arm: export ARCH=arm
60-
arm: default
59+
rm: export ARCH=rm
60+
rm: default
6161

6262
x86: export ARCH=x86
6363
x86: default

scripts/build/docker_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OUTDIR=artifacts
22
PACKAGE="${1}"
3-
ARCH=${ARCH:-arm}
3+
ARCH=${ARCH:-rm}
44
mkdir ${OUTDIR}
55
docker run -i --rm -v "${PWD}/${OUTDIR}:/mnt/artifacts" rmkit /bin/bash << COMMANDS
66
mkdir -p src/build

scripts/build/docker_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
OUTDIR=artifacts
2-
ARCH=${ARCH:-arm}
2+
ARCH=${ARCH:-rm}
33
mkdir ${OUTDIR}
44
docker run -i --rm -v "${PWD}/${OUTDIR}:/mnt/artifacts" rmkit /bin/bash << COMMANDS
55
mkdir -p src/build

src/actions.make

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ ifeq ($(ARCH),x86)
99
make compile_x86
1010
else ifeq ($(ARCH),kobo)
1111
make compile_kobo
12-
else ifeq ($(ARCH),arm)
13-
make compile_arm
14-
else ifeq ($(ARCH),arm-dev)
15-
make compile_arm_fast
12+
else ifeq ($(ARCH),rm)
13+
make compile_remarkable
14+
else ifeq ($(ARCH),rm-dev)
15+
make compile_remarkable_fast
1616
else ifeq ($(ARCH),dev)
1717
make compile_dev
1818
else
@@ -29,16 +29,16 @@ compile_kobo: export OKP_FLAGS += ../build/stb.arm.o
2929
compile_kobo:
3030
CXX=${CXX_BIN} okp ${OKP_FLAGS} -- -D"KOBO=1" -D${RMKIT_IMPL} ${CPP_FLAGS}
3131

32-
compile_arm: ../build/stb.arm.o
33-
compile_arm: export CPP_FLAGS += -O2
34-
compile_arm: export OKP_FLAGS += ../build/stb.arm.o
35-
compile_arm:
32+
compile_remarkable: ../build/stb.arm.o
33+
compile_remarkable: export CPP_FLAGS += -O2
34+
compile_remarkable: export OKP_FLAGS += ../build/stb.arm.o
35+
compile_remarkable:
3636
CXX=${CXX_BIN} okp ${OKP_FLAGS} -- -D"REMARKABLE=1" -D${RMKIT_IMPL} ${CPP_FLAGS}
3737

38-
compile_arm_fast: ../build/stb.arm.o
39-
compile_arm_fast: export CPP_FLAGS += -O0 -g
40-
compile_arm_fast: export OKP_FLAGS += ../build/stb.arm.o
41-
compile_arm_fast:
38+
compile_remarkable_fast: ../build/stb.arm.o
39+
compile_remarkable_fast: export CPP_FLAGS += -O0 -g
40+
compile_remarkable_fast: export OKP_FLAGS += ../build/stb.arm.o
41+
compile_remarkable_fast:
4242
CXX=${CXX_BIN} okp ${OKP_FLAGS} -- -D"REMARKABLE=1" -D${RMKIT_IMPL} ${CPP_FLAGS}
4343

4444
compile_dev: ../build/stb.x86.o
@@ -91,7 +91,7 @@ run: compile copy
9191
ssh root@${HOST} systemctl stop xochitl
9292
ssh root@${HOST} ${DEST}/${EXE}
9393

94-
test: export ARCH=arm
94+
test: export ARCH=rm
9595
test: copy
9696
HOST=${HOST} bash scripts/run_app_arm.sh ${EXE} || true
9797

src/common.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
HOST?=10.11.99.1
2-
ARCH?=arm
2+
ARCH?=rm
33
CXX_BIN?=arm-linux-gnueabihf-g++
44
CC_BIN?=arm-linux-gnueabihf-gcc
55
STRIP_BIN?=arm-linux-gnueabihf-strip

0 commit comments

Comments
 (0)