diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-12-14 14:25:12 +1100 |
---|---|---|
committer | Sam Mendoza-Jonas <sam@mendozajonas.com> | 2016-02-09 13:40:15 +1100 |
commit | 9133420a3092b9d6ba44fdc4346e1b7027a5c3ac (patch) | |
tree | 9fc6847a175bfa3f631b94954d8e11143a34b1cd /configure.ac | |
parent | 25ef687dd30c64423434cadebfc71cf14d7b8bff (diff) | |
download | talos-petitboot-9133420a3092b9d6ba44fdc4346e1b7027a5c3ac.tar.gz talos-petitboot-9133420a3092b9d6ba44fdc4346e1b7027a5c3ac.zip |
Add --enable-mtd configure option
Support optionally building features that rely on libflash support.
Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b540819..c9f587e 100644 --- a/configure.ac +++ b/configure.ac @@ -162,6 +162,21 @@ AC_ARG_ENABLE( #AM_CONDITIONAL([ENABLE_BUSYBOX], [test "x$enable_busybox" = "xyes"]) AC_ARG_ENABLE( + [mtd], + [AS_HELP_STRING( + [--enable-mtd], + [Add support for MTD devices on certain platforms [default=no]] + )], + [], + [enable_mtd=no] +) +AM_CONDITIONAL([ENABLE_MTD], [test "x$enable_mtd" = "xyes"]) +AS_IF([test "x$enable_mtd" = "xyes"], + [AC_DEFINE(MTD_SUPPORT, 1, [Enable MTD support])], + [] +) + +AC_ARG_ENABLE( [ps3], [AS_HELP_STRING( [--enable-ps3], |