Skip to content

Commit e096969

Browse files
committed
WIP: mod: scripts/build-rootfs.sh (build/main)
Signed-off-by: Philippe Coval <[email protected]>
1 parent 5ea215c commit e096969

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/build-rootfs.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ fix_binary no
7171
preserve yes
7272
EOF
7373
;;
74+
i386)
75+
export CMAKE_SYSTEM_PROCESSOR="$ARCH"
76+
export CARGO_TARGET_TRIPLE="i686-unknown-linux-gnu"
77+
qemu_arch="${ARCH}"
78+
qemu_system="qemu-system-${qemu_arch}"
79+
qemu_package="qemu-system-x86"
80+
;;
7481
*)
7582
CMAKE_SYSTEM_PROCESSOR="$ARCH"
7683
CARGO_TARGET_TRIPLE="${CMAKE_SYSTEM_PROCESSOR}-unknown-linux-gnu"

0 commit comments

Comments
 (0)