configure: Rename ENABLE_PS3 to PLATFORM_PS3
authorGeoff Levand <geoff@infradead.org>
Thu, 2 Aug 2018 17:29:39 +0000 (17:29 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 7 Aug 2018 01:30:36 +0000 (11:30 +1000)
To prepare for other configure platform names.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
configure.ac
ui/common/Makefile.am
ui/ncurses/Makefile.am
ui/twin/Makefile.am

index 2cf94efb0f546ef9974052122528b181307a2360..290617b8ef332212d1144a5e17789b82345fdd23 100644 (file)
@@ -304,15 +304,12 @@ AS_IF(
 )
 
 AC_ARG_ENABLE(
-       [ps3],
+       [platform-ps3],
        [AS_HELP_STRING(
-               [--enable-ps3],
-               [build additional programs for the PS3 game console [default=no]]
-       )],
-       [],
-       [enable_ps3=no]
-)
-AM_CONDITIONAL([ENABLE_PS3], [test "x$enable_ps3" = "xyes"])
+               [--enable-platform-ps3],
+               [build support for the PS3 game console [default=no]]
+       )])
+AM_CONDITIONAL([PLATFORM_PS3], [test "x$enable_platform_ps3" = "xyes"])
 
 AC_ARG_ENABLE(
        [debug],
index df6ea021144e2baa213a653eb7c5274509fe2a57..88692bb4ba13e7aba786e998970048ec12b893e3 100644 (file)
@@ -24,7 +24,7 @@ ui_common_libpbui_la_SOURCES = \
        ui/common/ui-system.c \
        ui/common/ui-system.h
 
-if ENABLE_PS3
+if PLATFORM_PS3
 ui_common_libpbui_la_SOURCES += \
        ui/common/ps3.c \
        ui/common/ps3.h
index 3bc525413fa5f229477b0624ec2e6cd463cc6060..b791b9dcb868c7f65c1b1fa77e4126fce1b877e1 100644 (file)
@@ -61,7 +61,7 @@ ui_ncurses_libpbnc_la_SOURCES = \
 
 sbin_PROGRAMS += ui/ncurses/petitboot-nc
 
-if ENABLE_PS3
+if PLATFORM_PS3
 sbin_PROGRAMS += ui/ncurses/petitboot-ps3-nc
 endif
 
index 2c5032afe45592755b1d1ca5495f258db2d8d698..6317377ff9c5b17b615a27958888e3f28332eff7 100644 (file)
@@ -38,7 +38,7 @@ ui_twin_libpbt_la_CPPFLAGS = $(ui_twin_common_cppflags)
 
 sbin_PROGRAMS += ui/twin/petitboot-twin
 
-if ENABLE_PS3
+if PLATFORM_PS3
 sbin_PROGRAMS += ui/twin/petitboot-ps3-twin
 endif