discover/kboot-parser: Recognise 'default' parameter
[petitboot] / configure.ac
index eca574a647bc24f6e67125de8fe8f56082c22c7d..2bf6e6f64f3afe4748c0382b12ff634186086c8b 100644 (file)
@@ -313,7 +313,7 @@ AC_ARG_ENABLE(
 )
 AS_IF(
        [test "x$enable_platform_all" = "xyes"],
-       [enable_platform_powerpc="yes"; enable_platform_ps3="yes"]
+       [enable_platform_arm64="yes"; enable_platform_powerpc="yes"; enable_platform_ps3="yes"]
 )
 
 AC_ARG_ENABLE(
@@ -328,10 +328,20 @@ AC_ARG_ENABLE(
 AS_IF(
        [test "x$enable_platform_auto" = "xyes"],
        [AS_CASE([$host],
+               [aarch64-*-*],   [enable_platform_arm64="yes"],
                [powerpc*-*-*],  [enable_platform_powerpc="yes"],
        )]
 )
 
+AC_ARG_ENABLE(
+       [platform-arm64],
+       [AS_HELP_STRING(
+               [--enable-platform-arm64],
+               [build support for arm64 platforms [default=no]]
+       )]
+)
+AM_CONDITIONAL([PLATFORM_ARM64], [test "x$enable_platform_arm64" = "xyes"])
+
 AC_ARG_ENABLE(
        [platform-powerpc],
        [AS_HELP_STRING(