diff mbox series

[v2,26/30] configure: Rename ENABLE_PS3 to PLATFORM_PS3

Message ID c8b763cf824901aa8e3d5e4e7c0010ea7aeebed3.1533230644.git.geoff@infradead.org
State Accepted
Headers show
Series [v2,01/30] docker: Add libfdt-dev | expand

Commit Message

Geoff Levand Aug. 2, 2018, 5:29 p.m. UTC
To prepare for other configure platform names.

Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 configure.ac           | 13 +++++--------
 ui/common/Makefile.am  |  2 +-
 ui/ncurses/Makefile.am |  2 +-
 ui/twin/Makefile.am    |  2 +-
 4 files changed, 8 insertions(+), 11 deletions(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index 2cf94ef..290617b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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],
diff --git a/ui/common/Makefile.am b/ui/common/Makefile.am
index df6ea02..88692bb 100644
--- a/ui/common/Makefile.am
+++ b/ui/common/Makefile.am
@@ -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
diff --git a/ui/ncurses/Makefile.am b/ui/ncurses/Makefile.am
index 3bc5254..b791b9d 100644
--- a/ui/ncurses/Makefile.am
+++ b/ui/ncurses/Makefile.am
@@ -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
 
diff --git a/ui/twin/Makefile.am b/ui/twin/Makefile.am
index 2c5032a..6317377 100644
--- a/ui/twin/Makefile.am
+++ b/ui/twin/Makefile.am
@@ -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