summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLihui Wen <lwen@codeaurora.org>2018-08-03 20:03:24 +0800
committerYunyun Cao <yunyunc@codeaurora.org>2018-09-19 18:30:06 +0800
commite63a80bf74be42f55a8e59e81fa431f898fc9bc2 (patch)
tree95d2f299af96524f9e707263f8832139268a64f3 /configure.ac
parent535b1aa918b6c26cb1e6a0ea2e921c4d9282826a (diff)
sdm: Add basic makefiles
CRs-Fixed: 2300468 Change-Id: I7cc208e50294e859fded785f61aa7f2d6bdbc4c4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 24c41fd9..c9de5213 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,15 @@ fi
AC_ARG_WITH(sanitized-headers,
AS_HELP_STRING([--with-sanitized-headers=DIR],
[Specify the location of the sanitized Linux headers]),
- [CPPFLAGS="$CPPFLAGS -idirafter $withval"])
+ [CPPFLAGS="$CPPFLAGS -I$withval"])
+
+AC_ARG_ENABLE([sdmhaldrm],
+ AC_HELP_STRING([--enable-sdmhaldrm],
+ [enable sdmhaldrm, build display-hal-linux with sdmhaldrm]),
+ [enable_sdmhaldrm="${enableval}"],
+ enable_sdmhaldrm=no)
+
+AM_CONDITIONAL([ENABLE_SDMHALDRM], [test "x${enable_sdmhaldrm}" = "xyes"])
# Checks for programs.
AC_PROG_CC
@@ -50,6 +58,8 @@ AC_CONFIG_FILES([ \
Makefile \
libqservice/Makefile \
libqdutils/Makefile \
+ libdebug/Makefile \
+ libdrmutils/Makefile \
sdm/libs/utils/Makefile \
sdm/libs/core/Makefile
])