X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=configure.in;h=d61e7fe512f318d4616fed27328eae330b5ef643;hp=fd2584bbf80bc40d95dd9f911aa22f81c5ab5297;hb=fdf58f74e0cbc1a23ba74f9c1a7dae3260a36fae;hpb=fb74f48b53a035a4bcbffba4057a5bf2e4e50d1f diff --git a/configure.in b/configure.in index fd2584bbf8..d61e7fe512 100644 --- a/configure.in +++ b/configure.in @@ -65,6 +65,10 @@ case "${host_cpu}" in ;; esac +AC_ARG_ENABLE(ngw100, + AS_HELP_STRING([--enable-ngw100], [Enable building for NGW100 driver]), + [build_ngw100=$enableval], [build_ngw100=no]) + AC_ARG_ENABLE(gw16012, AS_HELP_STRING([--enable-gw16012], [Enable building support for the Gateworks GW16012 JTAG Programmer]), [build_gw16012=$enableval], [build_gw16012=no]) @@ -148,6 +152,13 @@ else AC_DEFINE(BUILD_AT91RM9200, 0, [0 if you don't want at91rm9200.]) fi +if test $build_ngw100 = yes; then + build_bitbang=yes + AC_DEFINE(BUILD_NGW100, 1, [1 if you want ngw100.]) +else + AC_DEFINE(BUILD_NGW100, 0, [0 if you don't want ngw100.]) +fi + if test $parport_use_ppdev = yes; then AC_DEFINE(PARPORT_USE_PPDEV, 1, [1 if you want parport to use ppdev.]) else @@ -229,6 +240,7 @@ AM_CONDITIONAL(PARPORT, test $build_parport = yes) AM_CONDITIONAL(GIVEIO, test $parport_use_giveio = yes) AM_CONDITIONAL(EP93XX, test $build_ep93xx = yes) AM_CONDITIONAL(AT91RM9200, test $build_at91rm9200 = yes) +AM_CONDITIONAL(NGW100, test $build_ngw100 = yes) AM_CONDITIONAL(BITBANG, test $build_bitbang = yes) AM_CONDITIONAL(FT2232_LIBFTDI, test $build_ft2232_libftdi = yes) AM_CONDITIONAL(FT2232_FTD2XX, test $build_ft2232_ftd2xx = yes)