Merge "makefile: add support to enable HIBERNATION_SUPPORT flag."
diff --git a/makefile b/makefile
index df6e89b..7810c1e 100644
--- a/makefile
+++ b/makefile
@@ -131,6 +131,10 @@
  DEFINES += OSVERSION_IN_BOOTIMAGE=1
 endif
 
+ifeq ($(HIBERNATION_SUPPORT),1)
+DEFINES += HIBERNATION_SUPPORT=1
+endif
+
 ifeq ($(ENABLE_VB_ATTEST),1)
  DEFINES += ENABLE_VB_ATTEST=1
 endif