summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinu Gorle <sgorle@codeaurora.org>2016-10-28 15:06:21 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-28 02:47:22 -0700
commit667b16f2a8ab0475335fe1efbc0f0ee4cab175a7 (patch)
tree72e05e14e36e2f3375870a13c87bc72f60118714
parent04d5e40b3df700488dbee5d79a2fe47a7bbf9967 (diff)
downloadmedia-667b16f2a8ab0475335fe1efbc0f0ee4cab175a7.tar.gz
mm-core: Add msm8996 in auto tools compilation
Enable compilation msm8996 with auto tools. Change-Id: I037228f2e6880d4f383880d054bfb5526bd2fc09 CRs-Fixed: 1062175
-rw-r--r--configure.ac6
-rw-r--r--mm-core/Makefile.am4
2 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cf2e955d..22284105 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,11 @@ AC_ARG_ENABLE([target-msm8953],
[Enable conditional compile for target msm8953 [default=no]]),
[target_msm8953="${enableval}"])
+AC_ARG_ENABLE([target-msm8996],
+ AC_HELP_STRING([--enable-target-msm8996],
+ [Enable conditional compile for target msm8996 [default=no]]),
+ [target_msm8996="${enableval}"])
+
AC_ARG_ENABLE([target-msm8610],
AC_HELP_STRING([--enable-target-msm8610],
[Enable conditional compile for target msm8610 [default=no]]),
@@ -133,6 +138,7 @@ AC_ARG_WITH([glib-lib-dir],
[CPPFLAGS="$CPPFLAGS -I$withval"])
AM_CONDITIONAL(TARGET_MSM8953, [test "x$target_msm8953" = "xyes"])
+AM_CONDITIONAL(TARGET_MSM8996, [test "x$target_msm8996" = "xyes"])
AM_CONDITIONAL(TARGET_MSM8610, [test "x$target_msm8610" = "xyes"])
AM_CONDITIONAL(TARGET_MSM8226, [test "x$target_msm8226" = "xyes"])
AM_CONDITIONAL(TARGETS_THAT_SUPPORT_UBWC, [test "x$targets_that_support_ubwc" = "xyes"])
diff --git a/mm-core/Makefile.am b/mm-core/Makefile.am
index 8601b654..51f68da9 100644
--- a/mm-core/Makefile.am
+++ b/mm-core/Makefile.am
@@ -50,6 +50,10 @@ if TARGET_MSM8953
TARGET_REGISTRY = msm8953
endif
+if TARGET_MSM8996
+TARGET_REGISTRY = msm8996
+endif
+
c_sources +=src/${TARGET_REGISTRY}/registry_table_android.c
lib_LTLIBRARIES = libOmxCore.la