Skip to content

Commit 5580e8f

Browse files
committed
Rename target to processor in default.ini and update server.sh for improved clarity
1 parent ec46f27 commit 5580e8f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

config/default.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ temp = temp
2020
default =
2121

2222
[platform]
23-
target = rk3588
23+
processor = rk3588

server.sh

-3
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ if [ -z "$PROCESSOR" ]; then
9797
elif [ -n "$RKLLAMA_PLATFORM_PROCESSOR" ]; then
9898
# Use platform.processor setting from config
9999
PROCESSOR="$RKLLAMA_PLATFORM_PROCESSOR"
100-
elif [ -n "$RKLLAMA_PLATFORM_TARGET" ]; then
101-
# Use platform.target for backward compatibility
102-
PROCESSOR="$RKLLAMA_PLATFORM_TARGET"
103100
else
104101
# Try to extract the processor type from cpuinfo if not defined
105102
PROCESSOR=$(grep -i "cpu model" /proc/cpuinfo | head -n 1 | sed 's/.*Rockchip \(RK[0-9]*\).*/\1/' | tr '[:upper:]' '[:lower:]')

0 commit comments

Comments
 (0)