Explorar el Código

datarmnet: Add support for Blair target in Bazel build

Add support for Blair target in Bazel build system

Change-Id: I176499df32dcadbab02399a15d0eb314ac4c5047
Signed-off-by: Kaustubh Pandey <[email protected]>
Kaustubh Pandey hace 2 años
padre
commit
3b88b74e97
Se han modificado 3 ficheros con 9 adiciones y 1 borrados
  1. 3 0
      BUILD.bazel
  2. 1 1
      core/Kconfig
  3. 5 0
      define_modules.bzl

+ 3 - 0
BUILD.bazel

@@ -5,6 +5,9 @@ define_modules("pineapple", "consolidate")
 
 define_modules("pineapple", "gki")
 
+define_modules("blair", "consolidate")
+
+define_modules("blair", "gki")
 package(
     default_visibility = [
         "//visibility:public",

+ 1 - 1
core/Kconfig

@@ -21,7 +21,7 @@ config RMNET_CTL
 config RMNET_LA_PLATFORM
 	default y
 	bool "RMNET platform support"
-	depends on ARCH_PINEAPPLE
+	depends on ARCH_PINEAPPLE || ARCH_BLAIR
 	help
 	  Enable the functionality gated by the RMNET_LA_PLATFORM configuration
 	  in rmnet driver.

+ 5 - 0
define_modules.bzl

@@ -23,6 +23,11 @@ def define_modules(target, variant):
                     "core/rmnet_ctl_client.c",
                 ],
             },
+            "CONFIG_ARCH_BLAIR": {
+                True: [
+                    "core/rmnet_ctl_client.c",
+                ],
+            },
         },
         kernel_build = "//msm-kernel:{}".format(kernel_build_variant),
         deps = [