ANDROID: Add build server config for cuttlefish.
authorAlistair Strachan <astrachan@google.com>
Fri, 13 Apr 2018 22:36:37 +0000 (15:36 -0700)
committerAlistair Strachan <astrachan@google.com>
Fri, 13 Apr 2018 22:50:09 +0000 (15:50 -0700)
The build server config can be used with gcc or clang.
Specify CC=clang to build with clang.

Change-Id: Id346ab1489ecaaef8e9e66b084cc416dd0581f69
Signed-off-by: Alistair Strachan <astrachan@google.com>
build.config.cuttlefish.x86_64 [new file with mode: 0644]

diff --git a/build.config.cuttlefish.x86_64 b/build.config.cuttlefish.x86_64
new file mode 100644 (file)
index 0000000..36c8a93
--- /dev/null
@@ -0,0 +1,15 @@
+ARCH=x86_64
+BRANCH=android-4.14
+CLANG_TRIPLE=x86_64-linux-gnu-
+CROSS_COMPILE=x86_64-linux-androidkernel-
+DEFCONFIG=x86_64_cuttlefish_defconfig
+EXTRA_CMDS=''
+KERNEL_DIR=common
+POST_DEFCONFIG_CMDS="check_defconfig"
+CLANG_PREBUILT_BIN=prebuilts/clang/host/linux-x86/clang-4630689/bin
+LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin
+FILES="
+arch/x86/boot/bzImage
+vmlinux
+System.map
+"