Skip to content

Commit f8e69f1

Browse files
committed
Linux build: try to support cross-builds
1 parent c728e9f commit f8e69f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build-linux-deb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ touch kernel/configs/local.config
7272
for c in ${EXTRA_CONFIGS}; do
7373
echo "${c}" >>kernel/configs/local.config
7474
done
75-
make "${CONFIG}" local.config
75+
ARCH=arm64 make "${CONFIG}" local.config
7676

7777
log_i "Building Linux deb"
7878
# TODO: build other packages?
79-
make -j$(nproc) bindeb-pkg
79+
ARCH=arm64 make -j$(nproc) bindeb-pkg
8080

8181
ls
8282
ls ..

0 commit comments

Comments
 (0)