Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions subprojects/capstone-next.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is autogenerated by acr-wrap

WRAP_wrap_git_url:=https://github.com/capstone-engine/capstone.git
WRAP_wrap_git_revision:=992e6d7fea4f1f093ea96633b0fa3390e4ac7b31
WRAP_wrap_git_revision:=889185ee6fcbad11cd17c3a1a807590f9c84bb48
WRAP_wrap_git_patch_directory:=capstone-next
WRAP_wrap_git_directory:=capstone-next
WRAP_wrap_git_diff_files:=capstone-next/capstone-patches/fix-x86-16.patch
Expand All @@ -10,11 +10,11 @@ WRAP_wrap_git_depth:=1
.PHONY: capstone-next_clean capstone-next_all

capstone-next:
if [ ! -d "capstone-next" ] || ! (cd "capstone-next" 2>/dev/null && test "$$(git rev-parse HEAD 2>/dev/null)" = "$$(git rev-parse '992e6d7fea4f1f093ea96633b0fa3390e4ac7b31^{commit}' 2>/dev/null)"); then rm -rf "capstone-next"; ${MAKE} capstone-next_all; fi
if [ ! -d "capstone-next" ] || ! (cd "capstone-next" 2>/dev/null && test "$$(git rev-parse HEAD 2>/dev/null)" = "$$(git rev-parse '889185ee6fcbad11cd17c3a1a807590f9c84bb48^{commit}' 2>/dev/null)"); then rm -rf "capstone-next"; ${MAKE} capstone-next_all; fi

capstone-next_all:
git clone --no-checkout --depth=1 https://github.com/capstone-engine/capstone.git capstone-next
cd capstone-next && git fetch --depth=1 origin 992e6d7fea4f1f093ea96633b0fa3390e4ac7b31
cd capstone-next && git fetch --depth=1 origin 889185ee6fcbad11cd17c3a1a807590f9c84bb48
cd capstone-next && git checkout FETCH_HEAD
cp -rf packagefiles/capstone-next/* capstone-next
for a in capstone-next/capstone-patches/fix-x86-16.patch ; do echo "patch -d capstone-next -p1 < $$a" ; patch -d capstone-next -p1 < $$a ; done
Expand Down
2 changes: 1 addition & 1 deletion subprojects/capstone-next.wrap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[wrap-git]
url = https://github.com/capstone-engine/capstone.git
revision = 992e6d7fea4f1f093ea96633b0fa3390e4ac7b31
revision = 889185ee6fcbad11cd17c3a1a807590f9c84bb48
patch_directory = capstone-next
directory = capstone-next
diff_files = capstone-next/capstone-patches/fix-x86-16.patch
Expand Down
Loading