discover/kboot-parser: Recognise 'default' parameter
[petitboot] / configure.ac
index 38fe3419b21a9d658b8feb4d214d0905568fd52c..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(
@@ -394,6 +404,7 @@ DEFINE_HOST_PROG(PB_PLUGIN, pb-plugin, [/usr/sbin/pb-plugin])
 DEFINE_HOST_PROG(PB_EXEC, pb-exec, [/usr/sbin/pb-exec])
 DEFINE_HOST_PROG(SH, sh, [/bin/sh])
 DEFINE_HOST_PROG(SCSI_RESCAN, scsi-rescan, [/usr/sbin/scsi-rescan])
+DEFINE_HOST_PROG(DMIDECODE, dmidecode, [/sbin/dmidecode])
 
 AC_ARG_WITH(
     [tftp],