X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=configure.in;h=343b52c624790ad9859b316ac95ba3805ea35706;hb=dfbb9f3e89ae;hp=bc47064f8f7cfa2754eeaf60651b29077bf5daa6;hpb=2e832a399a10fc00253b342f8cde9c5b1062fa63;p=openocd.git diff --git a/configure.in b/configure.in index bc47064f8f..343b52c624 100644 --- a/configure.in +++ b/configure.in @@ -291,19 +291,6 @@ AC_LANG_C AC_PROG_CC AC_PROG_RANLIB -AC_CHECK_PROG(OBJDUMP, objdump, objdump) -AC_CHECK_PROG(OBJCOPY, objcopy, objcopy) - -if test x${OBJDUMP} != x -a x${OBJCOPY} != x ; then - AC_MSG_CHECKING(objcopy command line) - AC_TRY_COMPILE(,,[OBJCOPY_format=`${OBJDUMP} -f conftest.$ac_objext | sed -e '/file format/!d' -e 's/.*format \(.*\)/\1/'` - OBJCOPY_arch=`${OBJDUMP} -f conftest.$ac_objext | sed -e '/architecture/!d' -e 's/.*architecture: \(.*\),.*/\1/'`]) - AC_MSG_RESULT(-I binary -O ${OBJCOPY_format} -B ${OBJCOPY_arch}) -fi - -AC_SUBST(OBJCOPY_FORMAT, ${OBJCOPY_format}) -AC_SUBST(OBJCOPY_ARCH, ${OBJCOPY_arch}) - AC_SUBST(WITH_FTD2XX, $with_ftd2xx) AC_OUTPUT(Makefile src/Makefile src/helper/Makefile src/jtag/Makefile src/xsvf/Makefile src/target/Makefile src/server/Makefile src/flash/Makefile src/pld/Makefile doc/Makefile)