Skip to content

Commit

Permalink
update openocd build for cross
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm1278 committed Aug 29, 2018
1 parent e951751 commit de69380
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildscript/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ build_openocd()

change_clean_dir openocd_build
echo "configuring openocd..."
run_cmd "${DIR_OPENOCD_SOURCE}"/configure --prefix=${prefix} --disable-werror
run_cmd "${DIR_OPENOCD_SOURCE}"/configure --prefix=${prefix} $BUILD_TARGET $HOST_TARGET --disable-werror
echo "building openocd..."
run_cmd $MAKE LDFLAGS="-L/usr/local/lib"
echo "installing openocd..."
Expand Down Expand Up @@ -126,5 +126,5 @@ build_ldr_utils

#TODO: if it's for windows we also need libwinpthread-1.dll

#mkdir openocd_build
#build_openocd $DIR_ELF_OUTPUT
mkdir openocd_build
build_openocd $DIR_ELF_OUTPUT

0 comments on commit de69380

Please sign in to comment.