diff --git a/configure.ac b/configure.ac index e86d33f88..e87959c04 100644 --- a/configure.ac +++ b/configure.ac @@ -278,15 +278,7 @@ AC_ARG_ENABLE([ioutil], [build_ioutil=$enableval], [build_ioutil=no]) AS_CASE(["${host_cpu}"], - [arm*], [ - AC_ARG_ENABLE([ep93xx], - AS_HELP_STRING([--enable-ep93xx], [Enable building support for EP93xx based SBCs]), - [build_ep93xx=$enableval], [build_ep93xx=no]) - - AC_ARG_ENABLE([at91rm9200], - AS_HELP_STRING([--enable-at91rm9200], [Enable building support for AT91RM9200 based SBCs]), - [build_at91rm9200=$enableval], [build_at91rm9200=no]) - + [arm*|aarch64], [ AC_ARG_ENABLE([bcm2835gpio], AS_HELP_STRING([--enable-bcm2835gpio], [Enable building support for bitbanging on BCM2835 (as found in Raspberry Pi)]), [build_bcm2835gpio=$enableval], [build_bcm2835gpio=no]) @@ -295,12 +287,25 @@ AS_CASE(["${host_cpu}"], [build_imx_gpio=$enableval], [build_imx_gpio=no]) ], [ - build_ep93xx=no - build_at91rm9200=no build_bcm2835gpio=no build_imx_gpio=no ]) +AS_CASE(["${host_cpu}"], + [arm*], [ + AC_ARG_ENABLE([ep93xx], + AS_HELP_STRING([--enable-ep93xx], [Enable building support for EP93xx based SBCs]), + [build_ep93xx=$enableval], [build_ep93xx=no]) + + AC_ARG_ENABLE([at91rm9200], + AS_HELP_STRING([--enable-at91rm9200], [Enable building support for AT91RM9200 based SBCs]), + [build_at91rm9200=$enableval], [build_at91rm9200=no]) + ], + [ + build_ep93xx=no + build_at91rm9200=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])