Skip to content

Commit

Permalink
remove capstone from build
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-brust committed May 20, 2024
1 parent b1fd0d1 commit bfca246
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions build-openocd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ HIDAPI_GIT_TAG=hidapi-0.14.0
LIBFTDI_GIT_URL=git://developer.intra2net.com/libftdi
LIBFTDI_GIT_TAG=v1.5

CAPSTONE_GIT_URL=https://github.com/capstone-engine/capstone.git
CAPSTONE_GIT_TAG=5.0.1
CAPSTONE_CONFIG="CAPSTONE_BUILD_CORE_ONLY=yes CAPSTONE_STATIC=yes CAPSTONE_SHARED=no"
# CAPSTONE_GIT_URL=https://github.com/capstone-engine/capstone.git
# CAPSTONE_GIT_TAG=5.0.1
# CAPSTONE_CONFIG="CAPSTONE_BUILD_CORE_ONLY=yes CAPSTONE_STATIC=yes CAPSTONE_SHARED=no"

# Environment-specific settings
cmake_generator="Unix Makefiles"
Expand Down Expand Up @@ -62,17 +62,13 @@ rm -rf $target_dir && mkdir -p $target_dir
# Path to local pkg-config files
export PKG_CONFIG_PATH=$local_dir/lib/pkgconfig

echo "Building capstone"
echo $target_dir
cd $build_dir
git clone $CAPSTONE_GIT_URL capstone && cd capstone
git checkout $CAPSTONE_GIT_TAG
git submodule update --init --recursive
#make install DESTDIR=$target_dir PREFIX=$target_dir $CAPSTONE_CONFIG
#$CAPSTONE_CONFIG # TODO: Make sure openocd builds with capstone
./make.sh

#exit
# echo "Building capstone"
# echo $target_dir
# cd $build_dir
# git clone $CAPSTONE_GIT_URL capstone && cd capstone
# git checkout $CAPSTONE_GIT_TAG
# git submodule update --init --recursive
# make install DESTDIR=$target_dir PREFIX=$target_dir $CAPSTONE_CONFIG

echo "Building libusb"

Expand Down

0 comments on commit bfca246

Please sign in to comment.