msm8953 & msm8996 : Append "rootfstype=" and "root=" to kernel command line

This change is to get the system partition index and append it to kernel
command line instead of hardcoding the value in .conf files
used during the LE build process

Change-Id: I1b9e7744e0b95246e45911682cbb5c3ff61e9dab
diff --git a/makefile b/makefile
index 277a714..7082311 100644
--- a/makefile
+++ b/makefile
@@ -64,6 +64,10 @@
   CFLAGS += -DDISABLE_FASTBOOT_CMDS=1
 endif
 
+ifeq ($(APPEND_CMDLINE),1)
+  CFLAGS += -D_APPEND_CMDLINE=1
+endif
+
 # setup toolchain prefix
 TOOLCHAIN_PREFIX ?= arm-eabi-
 CFLAGS += -fstack-protector-all