Updated Makefile for aarch64
This commit is contained in:
9
Makefile
9
Makefile
@@ -3,16 +3,17 @@ SERVER = src/godot/bin/godot_server.x11.opt.tools.64
|
||||
|
||||
.PHONY: all godot-editor-main export export-models export-clothes export-clean export-linux-demo export-windows-demo export-binaries patch
|
||||
all: godot-editor-main godot-main
|
||||
ARCH=$(patsubst aarch64,arm64,$(shell uname -i))
|
||||
godot-main: patch
|
||||
cd src/godot; \
|
||||
scons platform=x11 target=release tools=no custom_modules=../modules -j16; \
|
||||
scons platform=x11 target=release_debug tools=no custom_modules=../modules -j16;
|
||||
scons platform=x11 arch=$(ARCH) target=release tools=no custom_modules=../modules -j16; \
|
||||
scons platform=x11 arch=$(ARCH) target=release_debug tools=no custom_modules=../modules -j16;
|
||||
cd src/godot; \
|
||||
scons platform=x11 target=release tools=no custom_modules=../modules -j16; \
|
||||
scons platform=x11 arch=$(ARCH) target=release tools=no custom_modules=../modules -j16; \
|
||||
scons platform=server target=release_debug tools=yes custom_modules=../modules -j16
|
||||
godot-editor-main: patch
|
||||
cd src/godot; \
|
||||
scons platform=x11 target=release_debug tools=yes custom_modules=../modules -j16;
|
||||
scons platform=x11 arch=$(ARCH) target=release_debug tools=yes custom_modules=../modules -j16;
|
||||
patch: ./src/godot/scene/animation/skeleton_ik.cpp
|
||||
cd ./src/godot && git reset --hard HEAD && for p in ../patches/*.patch; do git apply $$p; done
|
||||
sed -e 's/ERR_FAIL_COND_V(-1 == p_task->root_bone, false);//g' -i ./src/godot/scene/animation/skeleton_ik.cpp
|
||||
|
||||
Reference in New Issue
Block a user