Merge "Add support for LOCAL_MODULE_SYMLINKS"
diff --git a/core/Makefile b/core/Makefile
index 79faae1..cdf24dd 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -550,7 +550,7 @@
 endif
 endif
 
-BOARD_KERNEL_CMDLINE := $(strip $(BOARD_KERNEL_CMDLINE) $(VERITY_KEYID))
+BOARD_KERNEL_CMDLINE := $(strip $(BOARD_KERNEL_CMDLINE) buildvariant=$(TARGET_BUILD_VARIANT) $(VERITY_KEYID))
 ifdef BOARD_KERNEL_CMDLINE
 INTERNAL_BOOTIMAGE_ARGS += --cmdline "$(BOARD_KERNEL_CMDLINE)"
 endif