Skip to content

Commit 26e8404

Browse files
committed
fix: do not force arm64 build-dep
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
1 parent eb73859 commit 26e8404

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/share/rsdk/infra-package/Makefile.jsonnet

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,23 @@ function(
1717
all: build
1818
1919
.PHONY: devcontainer_setup
20-
devcontainer_setup:
20+
devcontainer_setup: pre_build_dep main_build_dep post_build_dep
21+
22+
.PHONY: pre_build_dep
23+
pre_build_dep:
24+
25+
.PHONY: main_build_dep
26+
main_build_dep:
2127
sudo dpkg --add-architecture arm64
2228
sudo apt-get update
2329
sudo apt-get install -y crossbuild-essential-arm64 binfmt-support qemu-user-static
2430
sudo apt-get build-dep . -y
31+
32+
.PHONY: post_build_dep
33+
post_build_dep:
34+
35+
.PHONY: arm64_crossbuild_dep
36+
arm64_crossbuild_dep:
2537
sudo apt-get build-dep . -y --host-architecture arm64
2638
2739
#

0 commit comments

Comments
 (0)