Skip to content

Commit

Permalink
fix: only do crosscompile on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed Dec 7, 2023
1 parent 700c0c9 commit 29ace87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ $(KPART_A64): $(BZIMAGE_A64)

$(BZIMAGE_A64): $(INITFSZ_A64)
cp $(CONFDIR)/$(CONFIG_MT8183) kernel/.config
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make -C kernel
[ uname -m = x86_64 ] && ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make -C kernel || make -C kernel
cp kernel/arch/arm64/boot/Image.gz $(WORKDIR)/$(BZIMAGE_A64)

$(INITFSZ_A64): $(INITFS_A64)
Expand Down

0 comments on commit 29ace87

Please sign in to comment.