From fdf58f74e0cbc1a23ba74f9c1a7dae3260a36fae Mon Sep 17 00:00:00 2001 From: mifi Date: Sun, 10 Feb 2008 19:04:31 +0000 Subject: - added starting point for development on a ngw100 eval board git-svn-id: svn://svn.berlios.de/openocd/trunk@289 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- configure.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index fd2584bb..d61e7fe5 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) -- cgit v1.2.3