mirror of
https://github.com/radareorg/radare2
synced 2026-08-22 20:23:32 -04:00
23 lines
1.1 KiB
Makefile
23 lines
1.1 KiB
Makefile
# This file is autogenerated by acr-wrap
|
|
|
|
WRAP_wrap_git_url:=https://github.com/capstone-engine/capstone.git
|
|
WRAP_wrap_git_revision:=1c1f6f4e9fc6598baf783c841a5adddf32da8f7e
|
|
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
|
|
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 '1c1f6f4e9fc6598baf783c841a5adddf32da8f7e^{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 1c1f6f4e9fc6598baf783c841a5adddf32da8f7e
|
|
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
|
|
|
|
capstone-next_clean:
|
|
rm -rf capstone-next
|