diff --git a/Makefile b/Makefile index e9aa9b4..49c60a2 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ $(INITFSZ_X64): $(INITFS_X64) $(INITFS_X64): mkdir -p build - GBB_PATH=u-root go run ./u-root -o $(WORKDIR)/$(INITFS_X64) -uinitcmd="elvish -c 'sleep 3; boot'" core ./cmds/boot/boot + GBB_PATH=u-root u-root -o $(WORKDIR)/$(INITFS_X64) -uinitcmd="elvish -c 'sleep 3; boot'" core ./cmds/boot/boot # Use 'make arm64' to build ARM64 (cross-compiling is supported). @@ -72,7 +72,7 @@ $(INITFSZ_A64): $(INITFS_A64) $(INITFS_A64): mkdir -p build images - GBB_PATH=u-root GOOS=linux GOARCH=arm64 go run ./u-root -o $(WORKDIR)/$(INITFS_A64) -uinitcmd="elvish -c 'sleep 3; boot'" core ./cmds/boot/boot + GBB_PATH=u-root GOOS=linux GOARCH=arm64 u-root -o $(WORKDIR)/$(INITFS_A64) -uinitcmd="elvish -c 'sleep 3; boot'" core ./cmds/boot/boot clean: rm -rf $(WORKDIR)